This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: warning: trigraph ... ignored
On Tue, Jun 13, 2000 at 06:22:47PM -0700, Joe Buck wrote:
> > Hi!
> > During my latest linux kernel compile I saw several of these warnings:
> >
> > gcc -D__KERNEL__ -I/usr/src/linux-2.4.0-test1-ac18-work/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -mno-fp-regs -ffixed-8 -mcpu=ev4 -Wa,-mev6 -DEXPORT_SYMTAB -c md.c
> > In file included from /usr/src/linux-2.4.0-test1-ac18-work/include/linux/raid/md.h:35,
> > from md.c:32:
> > /usr/src/linux-2.4.0-test1-ac18-work/include/linux/delay.h:19:44: warning: trigraph ??/ ignored
>
> -Wall turns on -Wtrigraphs. ANSI says trigraph processing happens even
> in comments, and there are very rare cases where they could conceivably
> make a difference (though not in this one). ??/ is turned into \.
>
Thank you all who have replied!
I now understand what's going on.
-Wno-trigraphs may indeed be the best way to deal with this for the time being.
Bye,
Thorsten
--
| Thorsten Kranzkowski Internet: dl8bcu@gmx.net |
| Mobile: ++49 170 1876134 Snail: Niemannsweg 30, 49201 Dissen, Germany |
| Ampr: dl8bcu@db0lj.#rpl.deu.eu, dl8bcu@marvin.dl8bcu.ampr.org [44.130.8.19] |