C++ -include problem

Sean McNeil sean@mcneil.com
Wed Feb 19 23:28:00 GMT 2003


I believe the following patch should be incorporated to fix the problem
with -include.

Sean

*** gcc/cp/g++spec.c    10 Jan 2003 02:22:16 -0000      1.35
--- gcc/cp/g++spec.c    19 Feb 2003 23:27:03 -0000
***************
*** 174,179 ****
--- 174,180 ----
            }
          else if (((argv[i][2] == '\0'
                     && (char *)strchr ("bBVDUoeTuIYmLiA", argv[i][1])
!= NULL)
+                   || strcmp (argv[i], "-include") == 0
                    || strcmp (argv[i], "-Xlinker") == 0
                    || strcmp (argv[i], "-Tdata") == 0))
            quote = argv[i];




More information about the Gcc-bugs mailing list