<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 9 December 2014 at 04:49, Vince Harron <span dir="ltr"><<a href="mailto:vharron@google.com" target="_blank">vharron@google.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><span><p dir="ltr" style="line-height:1.21396363865245;margin-top:0pt;margin-bottom:0pt"><span style="font-size:13px;font-family:Arial;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent">-DCMAKE_CXX_FLAGS='-target arm-linux-gnueabihf -mcpu=cortex-a9 -I/usr/arm-linux-gnueabihf/include/c++/4.7.3/arm-linux-gnueabihf/ -I/usr/arm-linux-gnueabihf/include/c++/4.7.3/ -I/usr/arm-linux-gnueabihf/include/ -mfloat-abi=hard -</span></p></span></div></div></blockquote><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><span><p dir="ltr" style="line-height:1.21396363865245;margin-top:0pt;margin-bottom:0pt"><span style="line-height:normal">vharron@tifa:~/ll/cross/build$ clang++ -std=c++0x test.cpp -target arm-linux-gnueabihf -mcpu=cortex-a9 -I/usr/arm-linux-gnueabihf/</span><span style="line-height:normal">include/c++/4.7.3/arm-linux-</span><span style="line-height:normal">gnueabihf/ -I/usr/arm-linux-gnueabihf/</span><span style="line-height:normal">include/c++/4.7.3/ -I/usr/arm-linux-gnueabihf/</span><span style="line-height:normal">include/ -mfloat-abi=hard -ccc-gcc-name arm-linux-gnueabihf-gcc-4.7</span></p></span></div></div></blockquote><div><br></div><div>Hi Vince,</div><div><br></div><div>You have a -std=c++0x in your compile argument but not on the CMAKE flags. Are you sure it's being added by default?</div><div><br></div><div>cheers,</div><div>--renato</div></div></div></div>