This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Some options ignore trailing chars, like -ansi{any chars}
- To: egcs-bugs at cygnus dot com
- Subject: Some options ignore trailing chars, like -ansi{any chars}
- From: wheeler at cipr dot rpi dot edu (Frederick W. Wheeler)
- Date: Tue, 9 Mar 1999 09:38:41 -0500
This might be a bug in how gcc parses the options, or it might be a
bug in the documentation, or it might be so unimportant that nobody
really cares.
It seems that gcc accepts some options given with extra trailing
strings, but not others. For example, gcc has the documented options
`-ansi' and `-trigraphs'. Gcc accepts the option `-ansix', but not
`-trigraphsx'. The extra `x' can apparently be any string, `-ansifoo'
is accepted also.
% gcc --version
egcs-2.91.60
% uname -a
SunOS seurat 5.6 Generic_105181-03 sun4u sparc
Thanks for providing such an outstanding compiler.
Regards,
Fred Wheeler
--
Fred Wheeler
wheeler@cipr.rpi.edu
www.cipr.rpi.edu/wheeler