public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/14432] New: [3.4/3.5 regression] Built-ins lead to conflict even if no header file included
@ 2004-03-04 16:01 bangerth at dealii dot org
  2004-03-04 16:02 ` [Bug c++/14432] " bangerth at dealii dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: bangerth at dealii dot org @ 2004-03-04 16:01 UTC (permalink / raw)
  To: gcc-bugs

[Extracted from 14430] Consider this: 
-------------- 
struct Y {}; 
Y y1; 
-------------- 
There are no header files included, yet we get from mainline and 3.4: 
g/x> /home/bangerth/bin/gcc-3.5-pre/bin/c++ -c x.cc 
x.cc:2: error: declaration of `Y y1' 
<internal>:0: error: conflicts with previous declaration `double y1(double)' 
 
This is due to the fact that there is a built-in for the Bessel function y1. 
However, it should certainly not be visible if no header files are included. 
That's the bug, and it is a regression against 3.3.x. 
 
W.

-- 
           Summary: [3.4/3.5 regression] Built-ins lead to conflict even if
                    no header file included
           Product: gcc
           Version: 3.4.0
            Status: UNCONFIRMED
          Keywords: rejects-valid
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: bangerth at dealii dot org
                CC: gcc-bugs at gcc dot gnu dot org


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


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2005-06-10 13:11 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-04 16:01 [Bug c++/14432] New: [3.4/3.5 regression] Built-ins lead to conflict even if no header file included bangerth at dealii dot org
2004-03-04 16:02 ` [Bug c++/14432] " bangerth at dealii dot org
2004-03-04 16:10 ` pinskia at gcc dot gnu dot org
2004-03-04 18:34 ` pinskia at gcc dot gnu dot org
2004-03-09  7:14 ` mmitchel at gcc dot gnu dot org
2004-03-09  8:24 ` cvs-commit at gcc dot gnu dot org
2004-03-09  8:26 ` cvs-commit at gcc dot gnu dot org
2004-03-09  8:28 ` mmitchel at gcc dot gnu dot org
2005-06-10 13:11 ` [Bug c++/14432] [3.4/4.0 " pinskia at gcc dot gnu dot org

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