mirror of
https://github.com/arduino/Arduino.git
synced 2025-04-07 23:53:50 +02: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
|
"-c", // compile, don't link
|
||||||
"-g", // include debugging info (so errors include line numbers)
|
"-g", // include debugging info (so errors include line numbers)
|
||||||
"-Os", // optimize for size
|
"-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
|
"-ffunction-sections", // place each function in its own section
|
||||||
"-fdata-sections",
|
"-fdata-sections",
|
||||||
"-mmcu=" + boardPreferences.get("build.mcu"),
|
"-mmcu=" + boardPreferences.get("build.mcu"),
|
||||||
@ -504,7 +504,7 @@ public class Compiler implements MessageConsumer {
|
|||||||
"-c", // compile, don't link
|
"-c", // compile, don't link
|
||||||
"-g", // include debugging info (so errors include line numbers)
|
"-g", // include debugging info (so errors include line numbers)
|
||||||
"-Os", // optimize for size
|
"-Os", // optimize for size
|
||||||
"-w", // surpress all warnings
|
Preferences.getBoolean("build.verbose") ? "-Wall" : "-w", // show warnings if verbose
|
||||||
"-fno-exceptions",
|
"-fno-exceptions",
|
||||||
"-ffunction-sections", // place each function in its own section
|
"-ffunction-sections", // place each function in its own section
|
||||||
"-fdata-sections",
|
"-fdata-sections",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user