Quantcast
Channel: Why does g++ still require -latomic - Stack Overflow
Browsing latest articles
Browse All 4 View Live

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 Article



Answer 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 Article

Answer 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 Article

Why 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
Browsing latest articles
Browse All 4 View Live




Latest Images