This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/33831] [4.3 Regression] Revision 129442 breaks libstc++ API



------- Comment #24 from fang at csl dot cornell dot edu  2008-01-16 22:21 -------
A compromise might be to provide the headers only if specifically requested,
say, by -fbackward-headers (something more specific than -fpermissive).  So by
default, the compiler/preprocessor will now error out, but those desparate for
a quick workaround can add a flag.  I've seen too many projects/developers
disregard the current backwards header warning (laziness? indifference?). 
Upgrading to an error with a workaround is yet another step on the road to
deprecation.  Yes, you'll still get some screams in the middle of the night
(and bug reports), but at least this provides an easy way out.  

(IANAM, but I'd be in favor of killing the pre-ISO headers over keeping them.)


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33831


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]