From roderick@gog.student.utwente.nl  Tue Aug  5 06:24:58 2003
Return-Path: <roderick@gog.student.utwente.nl>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 9535237B401
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  5 Aug 2003 06:24:58 -0700 (PDT)
Received: from gog.student.utwente.nl (gog.student.utwente.nl [130.89.165.107])
	by mx1.FreeBSD.org (Postfix) with ESMTP id A4CB343F85
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  5 Aug 2003 06:24:57 -0700 (PDT)
	(envelope-from roderick@gog.student.utwente.nl)
Received: from gog.student.utwente.nl (localhost [127.0.0.1])
	by gog.student.utwente.nl (8.12.9/8.12.9) with ESMTP id h75DOuTC007308
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 5 Aug 2003 15:24:56 +0200 (CEST)
	(envelope-from roderick@gog.student.utwente.nl)
Received: (from roderick@localhost)
	by gog.student.utwente.nl (8.12.9/8.12.9/Submit) id h75DOup6007307;
	Tue, 5 Aug 2003 15:24:56 +0200 (CEST)
Message-Id: <200308051324.h75DOup6007307@gog.student.utwente.nl>
Date: Tue, 5 Aug 2003 15:24:56 +0200 (CEST)
From: Roderick van Domburg <roderick@gog.student.utwente.nl>
Reply-To: Roderick van Domburg <roderick@gog.student.utwente.nl>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: Externs on implicit declarations 
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         55278
>Category:       gnu
>Synopsis:       Externs on implicit declarations
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 05 06:30:07 PDT 2003
>Closed-Date:    Wed Feb 28 12:08:28 GMT 2007
>Last-Modified:  Wed Feb 28 12:08:28 GMT 2007
>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@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:

From: David Schultz <das@FreeBSD.ORG>
To: Roderick van Domburg <roderick@gog.student.utwente.nl>
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: gnu/55278: Externs on implicit declarations
Date: Sat, 9 Aug 2003 11:33:23 -0700

 On Tue, Aug 05, 2003, Roderick van Domburg wrote:
 > 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.
 
 FreeBSD doesn't hide warnings in system headers, whereas Linux and
 other systems do.  If GNU does not intend to fix the warnings in
 libstdc++, then we may need to make an exception for it.  We keep
 the rest of our headers warnings-clean.
State-Changed-From-To: open->feedback 
State-Changed-By: rodrigc 
State-Changed-When: Wed Oct 5 03:12:39 GMT 2005 
State-Changed-Why:  
Is this still a problem with gcc 3.4.4? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=55278 
State-Changed-From-To: feedback->closed 
State-Changed-By: remko 
State-Changed-When: Wed Feb 28 12:08:25 UTC 2007 
State-Changed-Why:  
feedback timeout 

http://www.freebsd.org/cgi/query-pr.cgi?pr=55278 
>Unformatted:
