Skip to content

#warning is removed #4

Open
Open
@per1234

Description

@per1234

Using Arduino IDE 1.9.0-beta build 25 with Windows 7 64 bit

  1. File > Preferences > Compiler warnings: > any setting above "None"
  2. Compile the following sketch:
    #warning foo
    void setup() {}
    void loop() {}
    
  3. Examine the output in the console for the expected warning. It is not there.

The line #warning foo is missing from the preprocessed .ino.cpp file in the temporary build folder.

arduino-preprocessor -debug output:
https://gist.githubusercontent.com/per1234/4a355c6872fbca648378aaf3974fffd4/raw/5a775baad27a738b21abbc57a6682fd863b31a75/arduino-preprocessor_debug_output.txt

The issue does not occur with Arduino IDE 1.8.6 Hourly Build 2017/11/13 or Arduino IDE 1.8.5.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions