This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/28152] Diagnostic about wrong use _Complex prints __complex__



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]