[Bug c++/13854] New: g++ -pedantic messes up library file definitions
gcc at magfr dot user dot lysator dot liu dot se
gcc-bugzilla@gcc.gnu.org
Sun Jan 25 11:50:00 GMT 2004
If more than one instance of the extern declaration for a function
from a standard header are present then g++ fails with
fil.C:2: error: declaration of `char* rindex(const char*, int) throw ()' throws different exceptions
fil.C:1: error: than previous declaration `char* rindex(const char*, int)'
--
Summary: g++ -pedantic messes up library file definitions
Product: gcc
Version: 3.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: gcc at magfr dot user dot lysator dot liu dot se
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13854
More information about the Gcc-bugs
mailing list