Hallo, unter openSuse 10.3 habe ich mit dem Intel C++ Compiler (Version 10.1.008 UND 10.0.023) folgendes Problem, welches unter openSuse 10.2 noch nicht bestand: Wenn ich das einfachst mögliche C++ Programm, in dem die iostream vorkommt: #include <iostream> int main() { return 0; } kompilieren will bekomme ich folgende Fehlermeldungen: /usr/include/c++/4.2.1/ext/atomicity.h(51): error: identifier "__sync_fetch_and_add" is undefined { return __sync_fetch_and_add(__mem, __val); } ^ /usr/include/c++/4.2.1/ext/atomicity.h(55): error: identifier "__sync_fetch_and_add" is undefined { __sync_fetch_and_add(__mem, __val); } ^ compilation aborted for einfach.cpp (code 2) Hat jemand eine Idee, woran das liegen könnte?? Vielen Dank für jede Art Hilfe Klaus Becker --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-programming-de+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-programming-de+help@opensuse.org
Klaus Becker wrote:
[...]
/usr/include/c++/4.2.1/ext/atomicity.h(51): error: identifier "__sync_fetch_and_add" is undefined { return __sync_fetch_and_add(__mem, __val); } ^
/usr/include/c++/4.2.1/ext/atomicity.h(55): error: identifier "__sync_fetch_and_add" is undefined { __sync_fetch_and_add(__mem, __val); } ^
compilation aborted for einfach.cpp (code 2)
Hat jemand eine Idee, woran das liegen könnte??
Inkompatibilitaet zwischen Intel Compiler und GCC. Versuche es hiermit: http://algo2.iti.uni-karlsruhe.de/singler/mcstl/intel_compatibility.h Cheers, Th. --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-programming-de+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-programming-de+help@opensuse.org
participants (2)
-
Klaus Becker
-
Thomas Hertweck