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

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jason at gcc dot gnu.org,
                   |                            |paolo.carlini at oracle dot
                   |                            |com
          Component|c++                         |preprocessor

--- Comment #1 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-09-25 
11:07:49 UTC ---
Personally, I agree. Actually, I had to work around this behavior in the
library headers by changing the macros to something like:

#ifndef HAVE_CXX0X_AUTO
#error This file requires the auto feature of C++0x
#else
// lots of code that uses auto.
#endif

Note, this doesn't seem C++ specific, is a preprocessor issue. I'd like to hear
Jason about this.

Reply via email to