On Wed, 2010-12-15 at 21:04 -0800, David Coakley wrote:

> o In main(), -compat-gcc is used to generate a warning instead of an
>   error when an unrecognized single-dash option is seen.  Removing this
>   code makes opencc more compatible with gcc, where unrecognized
>   single-dash options are treated as errors.

I think this part of -compat-gcc (treating unknown flags as warnings)
might be worth having, maybe as the default behaviour instead of tied to
a flag.  GCC does treat unrecognized flags as errors, but the HP and
Intel compilers both treat them as warnings, and that seems to offer
more flexibility to me (a user could choose to address the issue by
changing the flags or just ignore the warnings and still get an object
from the compiler).

Steve Ellcey
s...@cup.hp.com


------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
Open64-devel mailing list
Open64-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/open64-devel

Reply via email to