CEF3 how can I disable compiler option -Werror ?

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

CEF3 how can I disable compiler option -Werror ?

Postby georgechen » Tue Apr 24, 2012 8:49 am

I got a warning when compile my CEF3 based App on Linux OS.

"cc1plus: all warnings being treated as errors"

I know that this is because of the compiler option -Werror
Can any one tell me which file I can modify in order to disable compiler option -Werror ?
Thanks a lot!
georgechen
Mentor
 
Posts: 50
Joined: Mon Feb 13, 2012 4:32 pm

Re: CEF3 how can I disable compiler option -Werror ?

Postby magreenblatt » Tue Apr 24, 2012 9:00 am

The best option is probably to fix the code that's causing errors. If that's not possible and you're using GYP you can add a conditions section with "cflags!". See http://code.google.com/searchframe#OAMl ... =cs&l=1464 for an example.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 211 guests