This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/33831] [4.3 Regression] Revision 129442 breaks libstc++ API
- From: "fang at csl dot cornell dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Jan 2008 22:21:22 -0000
- Subject: [Bug libstdc++/33831] [4.3 Regression] Revision 129442 breaks libstc++ API
- References: <bug-33831-682@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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