From: "Dwight Campbell" <[EMAIL PROTECTED]>
To: "Tom Whiting" <[EMAIL PROTECTED]>
> Trigraphs are (if I recall) and ancient method of embedding extended
> characters/bytecodes into code. Pretty much nobody ever uses them anymore.
> Try "man gcc" type "/trigr" and look at what all comes up.  It may be
> educational.
>
> You should be able to get rid of the warning by adding -no-trigraph to
> the compiler flags in your makefile.
>
> On 19 Feb 2002, Tom Whiting wrote:
>
> >>relationship.c : 130: 49  warning: trigraph ??! ignored
>
> >Well, I was hoping for a more general idea of what the warning was :)
> >Obviously it's something that the compiler doesn't like, and I was just
> >trying to figure out why it doesn't like it.. Showing the source code's
> >not a problem though.. Here's the line it's complaining about (or one of
> >3)
> >stc("Hmm, they're not dating anyone (???!!!???!!!)\n\r",ch);
> >What boggles me is that it's compiling fine on one server but throwing
> >out warnings like mad on another.

    This link lists the trigraphs.

http://barton.ram.net:457/tools/clang_cpp_trigraph.html

    This link sheds some more light on a kernel bug revealed by the
trigraph warning given.

http://gcc.gnu.org/ml/gcc/2001-01/msg00014.html



  |\      _,,,---,,_
  /,`.-'`'    -.  ;-;;,_
 |,4-  ) )-,_..;\ (  `'-'
'---''(_/--'  `-'\_)
BluSky is often lurking at Afterlife MUD:
[EMAIL PROTECTED] * http://www.afterlife.mudservices.com
------------------> telnet://afterlife.mudservices.com:5000


Reply via email to