Commit 4536bcac by Roger Sayle Committed by Roger Sayle

cygwin.h (GCC_DRIVER_HOST_INITIALIZATION): Cast argv to the appropriate type.


	* config/i386/cygwin.h (GCC_DRIVER_HOST_INITIALIZATION): Cast
	argv to the appropriate type.

From-SVN: r110427
parent b729952b
2006-01-30 Roger Sayle <roger@eyesopen.com>
* config/i386/cygwin.h (GCC_DRIVER_HOST_INITIALIZATION): Cast
argv to the appropriate type.
2006-01-30 Zdenek Dvorak <dvorakz@suse.cz> 2006-01-30 Zdenek Dvorak <dvorakz@suse.cz>
* tree-ssa-dce.c (mark_stmt_if_obviously_necessary): Remove * tree-ssa-dce.c (mark_stmt_if_obviously_necessary): Remove
......
...@@ -204,7 +204,7 @@ void mingw_scan (int, const char * const *, char **); ...@@ -204,7 +204,7 @@ void mingw_scan (int, const char * const *, char **);
#define GCC_DRIVER_HOST_INITIALIZATION \ #define GCC_DRIVER_HOST_INITIALIZATION \
do \ do \
{ \ { \
mingw_scan(argc, argv, (char **) &spec_machine); \ mingw_scan(argc, (const char * const *) argv, (char **) &spec_machine); \
} \ } \
while (0) while (0)
#else #else
...@@ -224,7 +224,7 @@ do \ ...@@ -224,7 +224,7 @@ do \
add_prefix (&startfile_prefixes,\ add_prefix (&startfile_prefixes,\
concat (standard_startfile_prefix, "w32api", NULL),\ concat (standard_startfile_prefix, "w32api", NULL),\
"GCC", PREFIX_PRIORITY_LAST, 0, NULL);\ "GCC", PREFIX_PRIORITY_LAST, 0, NULL);\
mingw_scan(argc, argv, &spec_machine); \ mingw_scan(argc, (const char * const *) argv, &spec_machine); \
} \ } \
while (0) while (0)
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment