While I'm compiling a open source project on Cent OS 5.5 I'm getting error "cc1plus warnings being treated as errors". Why and how to solve this problem.
|
There is probably a -Werror flag being given somewhere. Assuming you have a project using automake/autoconf/make/configure, you can see if you find it somewhere in "configure" or "Makefile.am" or possibly in one of your environment variables. Compiling programs with the -Werror flag is not a problem in itself, as the warnings are usually valid concerns about the quality of the sourcecode. Try finding and removing the -Werror flag, possibly adding -fpermissive instead, and the code might perhaps compile. A lot more information is needed in order to be able to pinpoint why the source code you have (whatever it is) does not compile "by default". |
|||||||||||||||
|