]> gcc.gnu.org Git - gcc.git/commitdiff
cygwin.h (GCC_DRIVER_HOST_INITIALIZATION): Cast argv to the appropriate type.
authorRoger Sayle <roger@eyesopen.com>
Tue, 31 Jan 2006 04:13:08 +0000 (04:13 +0000)
committerRoger Sayle <sayle@gcc.gnu.org>
Tue, 31 Jan 2006 04:13:08 +0000 (04:13 +0000)
* config/i386/cygwin.h (GCC_DRIVER_HOST_INITIALIZATION): Cast
argv to the appropriate type.

From-SVN: r110427

gcc/ChangeLog
gcc/config/i386/cygwin.h

index c644bde9a687402bc2c16c62b7f68a71981875d9..4e59d8dc8b11169691cd3969ed1d049ffb57120a 100644 (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
index 5a09b737becfcaf69a16e7226cf0cf0317f1d4e9..02d004c11b771e6a1a5ad3e02c15902be8b8706e 100644 (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
This page took 0.074281 seconds and 5 git commands to generate.