---------- Forwarded message ---------- From: Vadalasetti Sivanageswararao <vsivanag...@gmail.com> Date: Sun, Mar 26, 2017 at 9:26 PM Subject: Re: how to enable c++11 support in yocto To: Khem Raj <raj.k...@gmail.com>
Dear Yocto Team, when i compiling my c++ programs it is giving below error. please give me the solution for below error. i have written a simple recipe to compile the c++11 support programmes. cc1plus: warning: include location "/usr/local/include" is unsafe for cross-compilation [-Wpoison-system-directories] | ../SourceFiles/AutomaticShutdown.cpp:12:17: fatal error: cmath: No such file or directory | #include <cmath> | ^ | compilation terminated. | make: *** [SourceFiles/AutomaticShutdown.o] Error 1 | WARNING: exit code 2 from a shell command. Presently I am using internal compiler in yocto not SDK. Thankyou, > -- > V.SIVANAGESWARA RAO
-- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto