PDA

View Full Version : stringfwd.:43: parse error at "std'



moijhd
16th July 2013, 14:57
Hi,

I took a Qt project from Windows to Linux and it does not compile anymore.

I get the following error :

user/include/c++/4.6/bits/stringfwd.:43: Parse error at "std"

Any leads ?

Thank you.

Ginsengelf
16th July 2013, 15:30
Hi, did you do a rebuild? Run qmake?
Also, the error line you posted is probably not the only output and the rest would be helpful, too.

Ginsengelf

moijhd
16th July 2013, 17:28
Well, it got fixed by cleaning all and removing an "INCLUDEPATH += /usr/include/c++/4.6"...

I am not sure where it really come from nor sure why it goes away...

Thank you !