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
This commit is contained in:
Roger Sayle 2006-01-31 04:13:08 +00:00 committed by Roger Sayle
parent b729952bdf
commit 4536bcac65
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
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>
* tree-ssa-dce.c (mark_stmt_if_obviously_necessary): Remove

View File

@ -204,7 +204,7 @@ void mingw_scan (int, const char * const *, char **);
#define GCC_DRIVER_HOST_INITIALIZATION \
do \
{ \
mingw_scan(argc, argv, (char **) &spec_machine); \
mingw_scan(argc, (const char * const *) argv, (char **) &spec_machine); \
} \
while (0)
#else
@ -224,7 +224,7 @@ do \
add_prefix (&startfile_prefixes,\
concat (standard_startfile_prefix, "w32api", NULL),\
"GCC", PREFIX_PRIORITY_LAST, 0, NULL);\
mingw_scan(argc, argv, &spec_machine); \
mingw_scan(argc, (const char * const *) argv, &spec_machine); \
} \
while (0)
#endif