[okl4-developer] Disabling warnings
Hal Ashburner
hala at ok-labs.com
Tue Sep 25 10:56:27 EST 2007
On Tue, 2007-09-25 at 10:17 +0930, Peter Nguyen wrote:
> Hi,
>
> By default, the building process treats all warnings as errors. How can
> i disable this?
It is set in tools/toolchains.py
(Life is usually better with it on, in my experience.)
--- toolchains.py.old 2007-04-02 23:01:07.000000000 +1000
+++ toolchains.py 2007-09-25 10:53:18.000000000 +1000
@@ -267,9 +267,9 @@
self.dict["CC_WARNINGS"] = ["all", "strict-prototypes",
"missing-prototypes",
"nested-externs",
"missing-declarations",
"redundant-decls", "undef",
"pointer-arith",
- "no-nonnull", "error"]
+ "no-nonnull" ]
self.dict["CXX_WARNINGS"] = ["all", "redundant-decls", "undef",
"pointer-arith",
- "no-uninitialized", "error"]
+ "no-uninitialized"]
self.dict["_LIBFLAGS"] = "$_LIBDIRFLAGS --start-group $LIBGCC
"\
"${_stripixes(LIBLINKPREFIX, LIBS,
LIBLINKSUFFIX, LIBPREFIX, LIBSUFFIX, __env__)} --end-group"
--
Kind regards,
Hal Ashburner
More information about the Developer
mailing list