This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
-M preprocessor option includes #pragma lines
- To: gcc-bugs at gcc dot gnu dot org
- Subject: -M preprocessor option includes #pragma lines
- From: Peter Österlund <f90-pos at nada dot kth dot se>
- Date: Sun, 20 Aug 2000 11:08:18 +0200 (MET DST)
When using the -M option to generate dependency information, #pragma lines
are included in the output.
ppro:~$ g++ -v
Reading specs from /home/petero/gcc/lib/gcc-lib/i686-pc-linux/2.96/specs
gcc version 2.96 20000819 (experimental)
ppro:~$ cat bug3.C
#pragma interface
ppro:~$ g++ -M bug3.C
#pragma interface
bug3.o: bug3.C
Fortunately the # character starts a comment in make, so the dependency
file still works, but I guess it is wrong anyway.
--
Peter Österlund Email: peter.osterlund@mailbox.swipnet.se
Sköndalsvägen 35 f90-pos@nada.kth.se
S-128 66 Sköndal Homepage: http://home1.swipnet.se/~w-15919
Sweden Phone: +46 8 942647