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: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Jul 2006 16:11:47 -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 #4 from pinskia at gcc dot gnu dot org 2006-07-02 16:11 -------
(In reply to comment #3)
> Indeed. However, we can approximate a fix by testing whether we're
> compiling under C99, GNU99, or just C90, or C++.
That would not work as _Complex is accepted in GNU90 more and with the C++
front-end by default.
In fact "_Complex float t;" is accepted with the C++ front-end even with
-pedantic which seems wrong and that would be a different but.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28152