| Summary: | Externs on implicit declarations | ||
|---|---|---|---|
| Product: | Base System | Reporter: | Roderick van Domburg <roderick> |
| Component: | gnu | Assignee: | freebsd-bugs (Nobody) <bugs> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | 5.1-CURRENT | ||
| Hardware: | Any | ||
| OS: | Any | ||
|
Description
Roderick van Domburg
2003-08-05 14:30:07 UTC
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 Is this still a problem with gcc 3.4.4? State Changed From-To: feedback->closed feedback timeout |