This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/32683] Compiling HPCToolkit causes many errors and warnings using GCC 4.3 (but not prior versions)
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Jul 2007 02:53:09 -0000
- Subject: [Bug libstdc++/32683] Compiling HPCToolkit causes many errors and warnings using GCC 4.3 (but not prior versions)
- References: <bug-32683-13830@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from pinskia at gcc dot gnu dot org 2007-07-09 02:53 -------
> # gcc-4.3 -c -o test_1.o test_1.cpp
> test_1.cpp: In function 'bool RELOCATEDcmp(const char*)':
> test_1.cpp:9: error: 'strncmp' was not declared in this scope
No include for <string.h> or <cstring>.
> # gcc-4.3 -c -o test_2.o test_2.cpp
> test_2.cpp: In function 'void Ctor(const char*)':
> test_2.cpp:10: error: 'strlen' was not declared in this scope
Likewise.
All of these look like missing includes in the source and nothing wrong with
GCC 4.3.0.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
Component|c++ |libstdc++
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32683