Answer by Lightness Races in Orbit for Why does g++ still require -latomic
I know that the standard doesn't say anything about compiler flags or libraries that have to be includedRight.but so far I thought that any standard conformant, single file code can be compiled via the...
View ArticleAnswer by DevSolar for Why does g++ still require -latomic
Relevant reading on the GCC homepage on how and why GCC makes library calls in certain cases regarding <atomic> in the first place.GCC and libstdc++ are only losely coupled. libatomic is the...
View ArticleAnswer by MSalters for Why does g++ still require -latomic
g++ is a wrapper for gcc which adds the correct C++ libraries. Clearly -latomic is missing from that list. Not a core compiler problem then, simply a minor bug in the wrapper.
View ArticleWhy does g++ still require -latomic
In 29.5 Atomic types of the C++ Standard November 2014 working draft it states:There is a generic class template atomic. The type of the template argument T shall be trivially copyable (3.9). [ Note:...
View Article
More Pages to Explore .....