mirror of
https://github.com/arduino/Arduino.git
synced 2024-12-01 12:24:14 +01:00
Showing compilation warnings when verbose output is enabled.
http://code.google.com/p/arduino/issues/detail?id=664
This commit is contained in:
parent
6554ae653c
commit
a2235e3cdc
@ -476,7 +476,7 @@ public class Compiler implements MessageConsumer {
|
||||
"-c", // compile, don't link
|
||||
"-g", // include debugging info (so errors include line numbers)
|
||||
"-Os", // optimize for size
|
||||
"-w", // surpress all warnings
|
||||
Preferences.getBoolean("build.verbose") ? "-Wall" : "-w", // show warnings if verbose
|
||||
"-ffunction-sections", // place each function in its own section
|
||||
"-fdata-sections",
|
||||
"-mmcu=" + boardPreferences.get("build.mcu"),
|
||||
@ -504,7 +504,7 @@ public class Compiler implements MessageConsumer {
|
||||
"-c", // compile, don't link
|
||||
"-g", // include debugging info (so errors include line numbers)
|
||||
"-Os", // optimize for size
|
||||
"-w", // surpress all warnings
|
||||
Preferences.getBoolean("build.verbose") ? "-Wall" : "-w", // show warnings if verbose
|
||||
"-fno-exceptions",
|
||||
"-ffunction-sections", // place each function in its own section
|
||||
"-fdata-sections",
|
||||
|
Loading…
Reference in New Issue
Block a user