View Single Post
Posts: 838 | Thanked: 3,384 times | Joined on Mar 2009
#6
Originally Posted by riv64 View Post
I got this on debian wheezy
Code:
is ill-formed in C++11 [-Werror=narrowing]
Thumbnail.cpp:500:5: error: narrowing conversion of 
...
cc1plus: all warnings being treated as errors
Code is not c++11. My compilers do not know -Wnarrowing. I think dropping -Werror is enough. Now I added (and pushed) "-std=gnu++98" to the Makefile_desktop. Is there some side effects for that?

EDIT: Would this be better? -std=c++98

Last edited by AapoRantalainen; 2012-10-01 at 09:27.
 

The Following 2 Users Say Thank You to AapoRantalainen For This Useful Post: