Feature #1477 ยป 0096-CodingStyle-Instruct-test-build-with-Doptimization-2.patch
| doc/CodingStyle | ||
|---|---|---|
|
-Wstrict-prototypes -Wnested-externs -Wl,--no-add-needed" if you use gcc.
|
||
|
- Always check compilation with the configure options
|
||
|
-Ddebug=true -Dwerror=true
|
||
|
-Ddebug=true -Dwerror=true -Doptimization=2
|
||
|
- Header files should be compatible with C++ but code (.c) files need not
|
||
|
be. This means some C++ keywords (like "this" or "class") may not be used
|
||