Quantcast
Channel: openFrameworks - Latest posts
Viewing all articles
Browse latest Browse all 40524

Std::atomic no such type (raspbian-7)

$
0
0

hi.

i came across this on a rpi-2 with raspbian-7 installed and oF-0.9.0 nightly from 18.sept:

when using:

#if __cplusplus>=201103
    std::atomic<bool> isRunning;
#endif

the compiler complains:

'atomic' in namespace 'std' does not name a type

atomic is part of c++11.
whats wrong?

cheers
io


Viewing all articles
Browse latest Browse all 40524

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>