This content has been marked as final. Show 4 replies
-compat=g (only on supported (ie antique) versions of linux, and preferably with 12.3).1 person found this helpful
Ah, thanks very much. I didn't realise from the documentation that compat=g implied that. In that case, I will give it a try!
For what its worth, I immediately run into the problem reported on another thread with the gcc atomic builtins:
"/usr/include/c++/4.3.5/ext/atomicity.h", line 51: Error: The function "__sync_fetch_and_add" must have a prototype.
"/usr/include/c++/4.3.5/ext/atomicity.h", line 55: Error: The function "__sync_fetch_and_add" must have a prototype.
2 Error(s) detected.
Linux distributions vary considerably. The officially supported Linux versions are listed in the Release Notes that come with the compiler. Any other Linux versions may have compatibility issues.
See also this thread:
Edited by: Steve_Clamage on Sep 20, 2011 9:36 AM