|
From: | Bob Paddock |
Subject: | [avr-gcc-list] How to suppres trigraph warning messages? |
Date: | Mon, 15 Aug 2005 15:42:21 -0400 |
User-agent: | Opera M2/7.54u1 (Win32, build 3918) |
I have a string: char date[] = "??/??/??"; to which I receive: main.c:352:94: trigraph ??/ ignored, use -trigraphs to enable I have tried adding "-trigraphs" to the CFLAGS then escaping the trigraph: char date[] = "\??/\??/??"; but that still tells me to enable the trigraphs. I do not want trigraphs, how do I make the warning go away? Local policy says there can be no warnings in compiles. FYI: "??/" becomes a "\" if you really want trigraphs (who does?).
[Prev in Thread] | Current Thread | [Next in Thread] |