obj-c++.dg/method-19.mm fails with:
/home/pinskia/src/onetest/gcc/gcc/testsuite/obj-c++.dg/method-19.mm:19: error: 
declaration of 
'int strcmp(const char*, const char*)' throws different exceptions
/usr/include/string.h:97: error: than previous declaration 'int strcmp(const 
char*, const char*) throw ()'


We should just include string.h instead of declaring strcmp.

-- 
           Summary: obj-c++.dg/method-19.mm fails with the GNU runtime on
                    linux
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: testsuite
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pinskia at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
GCC target triplet: x86_64-*-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23615

Reply via email to