gcc 4.0.2, Fedora C4 problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I am getting the following error when compiling some code on a Fedora C4 box and gcc 4.0.2.

I've done some googling but have no idea how to deal with the "throws different exceptions" errors.

Mike

g++ -Wall -Wunused -Wno-uninitialized -Wno-return-type -fno-strength-reduce -O2 -DUNIX -DLINUX -DMACHINE=\"Linux-libc6.1\" -w -Dstrerror=strerror -I. -I/home2/dependencies/Semaphore/JFS/3.2/include -I/home2/dependencies/Semaphore/PowerQuery/1.5.22/include -c -o Linux-libc6.1/FmUser.o FmUser.cxx /usr/include/unistd.h:1026: error: declaration of ‘char* crypt(const char*, const char*) throw ()’ throws different exceptions crypt.h:104: error: than previous declaration ‘char* crypt(const char*, const char*)’ /usr/include/unistd.h:1030: error: declaration of ‘void encrypt(char*, int) throw ()’ throws different exceptions
crypt.h:111: error: than previous declaration ‘void encrypt(char*, int)’
/usr/include/stdlib.h:917: error: declaration of ‘void setkey(const char*) throw ()’ throws different exceptions
crypt.h:107: error: than previous declaration ‘void setkey(const char*)’
FmUser.cxx: In member function ‘char* FmUser::makeKey() const’:
FmUser.cxx:372: error: no matching function for call to ‘transform(__gnu_cxx::__normal_iterator<char*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, __gnu_cxx::__normal_iterator<char*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, __gnu_cxx::__normal_iterator<char*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, <unknown type>)’
gmake: *** [Linux-libc6.1/FmUser.o] Error 1



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux