This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/32683] Compiling HPCToolkit causes many errors and warnings using GCC 4.3 (but not prior versions)



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]