gnu/55278: Externs on implicit declarations
das at FreeBSD.ORG
Sat Aug 9 11:40:14 PDT 2003
The following reply was made to PR gnu/55278; it has been noted by GNATS.
From: David Schultz <das at FreeBSD.ORG>
To: Roderick van Domburg <roderick at gog.student.utwente.nl>
Cc: FreeBSD-gnats-submit at 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.
More information about the freebsd-bugs