How can I compile without warnings being treated as errors?

Viewed 240351

The problem is that the same code that compiles well on Windows, is unable to compile on Ubuntu. Every time I get this error:

cc1: warnings being treated as errors

Now, it's big code base and I don't like fix all the warnings.

Is there a way I can compile successfully in spite of the warnings?

7 Answers

Solution:

CFLAGS=-Wno-error ./configure
Related