Warnings treated as errors
Hi!
Compiler version: gcc (GCC) 4.1.0 20060304 (Red Hat 4.1.0-3) I was trying to build libraries from source given by a module that I will hooked up to my host computer. The build process kept being terminated everytime warnings are being found. How do I bypass the warnings and continue compiling? I really need to build this library to develope my program. Thanks. |
If warnings are not serious, find where -Werror is set and replace it with -Wno-error.
|
How do I find out where Werror is set? I'm completely new to gcc and I saw other threads that says I can do that as well with the same command. I typed the command but it didn't work. I was wondering maybe I'm missing something. If you don't mind, please bring me through this process step by step.
Thank you for your reply. |
Well, first try
export CFLAGS=-Wno-error and build the library. And say, what is the build system. |
The library has compiled properly now. Thanks for your help.
|
All times are GMT -5. The time now is 03:46 PM. |