public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug preprocessor/48839] #error should terminate compilation - similar to missing #include Date: Sun, 25 Sep 2011 11:12:00 -0000 [thread overview] Message-ID: <bug-48839-4-kZesNI8YTu@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-48839-4@http.gcc.gnu.org/bugzilla/> 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.
next prev parent reply other threads:[~2011-09-25 11:09 UTC|newest] Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top 2011-05-01 15:49 [Bug c++/48839] New: " john.salmon at deshaw dot com 2011-09-25 11:12 ` paolo.carlini at oracle dot com [this message] 2014-12-22 16:33 ` [Bug preprocessor/48839] " egall at gwmail dot gwu.edu 2014-12-22 17:35 ` jason at gcc dot gnu.org 2014-12-22 18:52 ` paolo.carlini at oracle dot com 2022-09-23 13:18 ` redi at gcc dot gnu.org 2023-02-23 20:38 ` pinskia at gcc dot gnu.org 2023-02-23 20:45 ` pinskia at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-48839-4-kZesNI8YTu@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).