7 Jul
2014
7 Jul
'14
4:23 a.m.
Hello, I've just decided to give Boost.Predef a test drive for the first time and have found a problem using BOOST_OS_UNIX. See the test snippet here: http://pastebin.com/4dLDAhEV This is the output I get using both g++ 4.9.0 and clang++ 3.4.2: BOOST_OS_UNIX: 0 BOOST_OS_LINUX: 1 unix: 1 __unix: 1 _XOPEN_SOURCE: 700 _POSIX_SOURCE: 1 Everything that is defined that should be to make BOOST_OS_UNIX be defined. I haven't seen this mentioned anywhere before. I guess this a bug? I haven't looked at predef headers yet. Thanks, Troy