This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/28152] Diagnostic about wrong use _Complex prints __complex__
- From: "gdr at integrable-solutions dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Jul 2006 16:03:12 -0000
- Subject: [Bug c/28152] Diagnostic about wrong use _Complex prints __complex__
- References: <bug-28152-280@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from gdr at integrable-solutions dot net 2006-07-02 16:03 -------
Subject: Re: Diagnostic about wrong use _Complex prints __complex__
"pinskia at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> writes:
| Confirmed, we don't record in the preprocessor which keyword is
| used, _Complex is treated the same as __complex__.
Indeed. However, we can approximate a fix by testing whether we're
compiling under C99, GNU99, or just C90, or C++.
-- gaby
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28152