public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/11792] New: two externs on explicit declarations
@ 2003-08-04 17:16 r dot s dot a dot vandomburg at student dot utwente dot nl
2003-08-04 18:30 ` [Bug libstdc++/11792] " pinskia at physics dot uc dot edu
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: r dot s dot a dot vandomburg at student dot utwente dot nl @ 2003-08-04 17:16 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11792
Summary: two externs on explicit declarations
Product: gcc
Version: 3.3.1
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: libstdc++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: r dot s dot a dot vandomburg at student dot utwente dot
nl
CC: gcc-bugs at gcc dot gnu dot org
GCC host triplet: FreeBSD/i386 5.1-CURRENT
Whilst compiling Kopete 0.6.2, gcc 3.3.1 20030711 stumles across two externs on
explicit declarations, forbidden by ISO C++:
/bin/sh ../../../../libtool --silent --mode=compile --tag=CXX c++
-DHAVE_CONFIG_H -I. -I. -I../../../.. -I.. -I/usr/local/include
-I/usr/X11R6/include -pthread -DQT_THREAD_SUPPORT -I/usr/local/include
-I/usr/local/include -I/usr/X11R6/include -D_GETOPT_H -D_THREAD_SAFE
-Wnon-virtual-dtor -Wno-long-long -Wall -pedantic -W -Wpointer-arith
-Wmissing-prototypes -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O -pipe
-march=pentium4 -march=pentium4 -fno-exceptions -fno-check-new -fno-common -c
-o proxy.lo `test -f 'proxy.cpp' || echo './'`proxy.cpp
In file included from /usr/include/c++/3.3/list:68,
from buffer.h:48,
from socket.h:40,
from proxy.cpp:24:
/usr/include/c++/3.3/bits/stl_alloc.h:968: error: ISO C++ forbids the use of `
extern' on explicit instantiations
/usr/include/c++/3.3/bits/stl_alloc.h:969: error: ISO C++ forbids the use of `
extern' on explicit instantiations
/usr/include/c++/3.3/bits/stl_alloc.h:970: error: ISO C++ forbids the use of `
extern' on explicit instantiations
/usr/include/c++/3.3/bits/stl_alloc.h:970: error: ISO C++ forbids the use of `
extern' on explicit instantiations
/usr/include/c++/3.3/bits/stl_alloc.h:970: error: ISO C++ forbids the use of `
extern' on explicit instantiations
In file included from /usr/include/c++/3.3/string:57,
from buffer.h:49,
from socket.h:40,
from proxy.cpp:24:
/usr/include/c++/3.3/bits/basic_string.tcc:1061: error: ISO C++ forbids the use
of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/basic_string.tcc:1061: error: ISO C++ forbids the use
of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/basic_string.tcc:1061: error: ISO C++ forbids the use
of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/basic_string.tcc:1064: error: ISO C++ forbids the use
of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/basic_string.tcc:1067: error: ISO C++ forbids the use
of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/basic_string.tcc:1070: error: ISO C++ forbids the use
of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/basic_string.tcc:1073: error: ISO C++ forbids the use
of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/basic_string.tcc:1076: error: ISO C++ forbids the use
of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/basic_string.tcc:1076: error: ISO C++ forbids the use
of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/basic_string.tcc:1076: error: ISO C++ forbids the use
of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/basic_string.tcc:1079: error: ISO C++ forbids the use
of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/basic_string.tcc:1082: error: ISO C++ forbids the use
of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/basic_string.tcc:1085: error: ISO C++ forbids the use
of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/basic_string.tcc:1088: error: ISO C++ forbids the use
of `extern' on explicit instantiations
gmake[5]: *** [proxy.lo] Error 1
gmake[5]: Leaving directory
`/usr/ports/net/kopete/work/kopete-0.6.2/kopete/protocols/icq_new/libicq'
gmake[4]: *** [all-recursive] Error 1
gmake[4]: Leaving directory
`/usr/ports/net/kopete/work/kopete-0.6.2/kopete/protocols/icq_new'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory
`/usr/ports/net/kopete/work/kopete-0.6.2/kopete/protocols'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/ports/net/kopete/work/kopete-0.6.2/kopete'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/net/kopete/work/kopete-0.6.2'
gmake: *** [all] Error 2
*** Error code 2
Stop in /usr/ports/net/kopete.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug libstdc++/11792] two externs on explicit declarations
2003-08-04 17:16 [Bug libstdc++/11792] New: two externs on explicit declarations r dot s dot a dot vandomburg at student dot utwente dot nl
@ 2003-08-04 18:30 ` pinskia at physics dot uc dot edu
2003-08-05 0:21 ` pinskia at physics dot uc dot edu
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-08-04 18:30 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11792
pinskia at physics dot uc dot edu changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
------- Additional Comments From pinskia at physics dot uc dot edu 2003-08-04 18:30 -------
Read http://gcc.gnu.org/bugs.html, we need the preprocessed source.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug libstdc++/11792] two externs on explicit declarations
2003-08-04 17:16 [Bug libstdc++/11792] New: two externs on explicit declarations r dot s dot a dot vandomburg at student dot utwente dot nl
2003-08-04 18:30 ` [Bug libstdc++/11792] " pinskia at physics dot uc dot edu
@ 2003-08-05 0:21 ` pinskia at physics dot uc dot edu
2003-08-05 10:05 ` r dot s dot a dot vandomburg at student dot utwente dot nl
2003-08-05 13:05 ` pinskia at physics dot uc dot edu
3 siblings, 0 replies; 5+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-08-05 0:21 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11792
------- Additional Comments From pinskia at physics dot uc dot edu 2003-08-05 00:21 -------
Can you provide the output of "gcc -v"?
I could not reproduce this on an unmodified version of 3.3.1 (20030707).
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug libstdc++/11792] two externs on explicit declarations
2003-08-04 17:16 [Bug libstdc++/11792] New: two externs on explicit declarations r dot s dot a dot vandomburg at student dot utwente dot nl
2003-08-04 18:30 ` [Bug libstdc++/11792] " pinskia at physics dot uc dot edu
2003-08-05 0:21 ` pinskia at physics dot uc dot edu
@ 2003-08-05 10:05 ` r dot s dot a dot vandomburg at student dot utwente dot nl
2003-08-05 13:05 ` pinskia at physics dot uc dot edu
3 siblings, 0 replies; 5+ messages in thread
From: r dot s dot a dot vandomburg at student dot utwente dot nl @ 2003-08-05 10:05 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11792
------- Additional Comments From r dot s dot a dot vandomburg at student dot utwente dot nl 2003-08-05 10:05 -------
Subject: Re: two externs on explicit declarations
> gcc -v
Using built-in specs.
Configured with: FreeBSD/i386 system compiler
Thread model: posix
gcc version 3.3.1 [FreeBSD] 20030711 (prerelease)
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug libstdc++/11792] two externs on explicit declarations
2003-08-04 17:16 [Bug libstdc++/11792] New: two externs on explicit declarations r dot s dot a dot vandomburg at student dot utwente dot nl
` (2 preceding siblings ...)
2003-08-05 10:05 ` r dot s dot a dot vandomburg at student dot utwente dot nl
@ 2003-08-05 13:05 ` pinskia at physics dot uc dot edu
3 siblings, 0 replies; 5+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-08-05 13:05 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11792
pinskia at physics dot uc dot edu changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Resolution| |WORKSFORME
------- Additional Comments From pinskia at physics dot uc dot edu 2003-08-05 13:05 -------
The compile works for me, must be a problem with a modified compiler, report it to FreeBSD.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2003-08-05 13:05 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-04 17:16 [Bug libstdc++/11792] New: two externs on explicit declarations r dot s dot a dot vandomburg at student dot utwente dot nl
2003-08-04 18:30 ` [Bug libstdc++/11792] " pinskia at physics dot uc dot edu
2003-08-05 0:21 ` pinskia at physics dot uc dot edu
2003-08-05 10:05 ` r dot s dot a dot vandomburg at student dot utwente dot nl
2003-08-05 13:05 ` pinskia at physics dot uc dot edu
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).