Hi. In gcc version over 4.7 in libstdc++ remove unistd.h. Then build current last git version, get error:
[ 68%] Building CXX object mym/source/CMakeFiles/mym.dir/window.cpp.o
/media/data/games/emuls/gba/emuls/meteor/meteor-git/mym/source/window.cpp: In constructor ‘mym::Window::Window()’:
/media/data/games/emuls/gba/emuls/meteor/meteor-git/mym/source/window.cpp:40:40: error: ‘syscall’ was not declared in this scope
sched_setaffinity(syscall(__NR_gettid), sizeof(set), &set);
^
/media/data/games/emuls/gba/emuls/meteor/meteor-git/mym/source/window.cpp: In member function ‘void mym::Window::MainLoop()’:
/media/data/games/emuls/gba/emuls/meteor/meteor-git/mym/source/window.cpp:196:41: error: ‘syscall’ was not declared in this scope
sched_setaffinity(syscall(__NR_gettid), sizeof(set), &set);
Hi. In gcc version over 4.7 in libstdc++ remove unistd.h. Then build current last git version, get error:
This path:
remove error and build successfull