gnu/55278: Externs on implicit declarations

Roderick van Domburg roderick at gog.student.utwente.nl
Tue Aug 5 06:30:09 PDT 2003


>Number:         55278
>Category:       gnu
>Synopsis:       Externs on implicit declarations
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 05 06:30:07 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Roderick van Domburg
>Release:        FreeBSD 5.1-CURRENT i386
>Organization:
University of Twente 
>Environment:
System: FreeBSD gog 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Mon Aug 4 15:35:46 CEST 2003 roderick at gog:/usr/obj/usr/src/sys/GOG i386


	
>Description:
	
I am getting a lot of errors like "error: ISO C++ forbids the use of `
extern' on explicit instantiations" during C++ compiles. (Specifically,
I have stumbled upon them trying to compile KDevelop and Kopete from
recent ports.)

Initially it looked like a bug in libstdc++ so I reported it to the GCC
project (http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11792) but they
have determined it to be an issue with the FreeBSD compiler.

The output listed there is that of the Kopete compile. KDevelop
complains more than would suitably fit here. Concerned libstdc++ source
files are locale_facets.tcc, ostream.tcc and istream.tcc.
>How-To-Repeat:
	
Try to compile KDevelop or Kopete (probably many others) from recent
ports on FreeBSD 5.1-CURRENT.
>Fix:
Unknown.
	
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list