Skip to content

FYI #error and #warning on Nightly build 1.5.8 #2415

Closed
@JulyJim

Description

@JulyJim

Just minor stuff
The #error does not stops compiler - it should , right? It works on "regular " 1.5.8 stopping the compiler

warning gets not reaction from compiler - on both Nightly ( Nov 4) and regular 1.5.8. It should just print the message attached.

Activity

matthijskooijman

matthijskooijman commented on Nov 5, 2014

@matthijskooijman
Collaborator

The hidden warnings are the subject of #1728.

AFAICS, #error should indeed stop the compilation, so I'm surprised it doesn't and especially that something changed since 1.5.8. This needs some looking at.

added this to the Release 1.5.9 milestone on Nov 5, 2014
ffissore

ffissore commented on Apr 10, 2015

@ffissore
Contributor

#error does indeed stop the compiler (at least with 1.6.3)
I've added a new preference "show all compiler warnings" that turns warnings on
Available as nightly builds in the next few hours

JulyJim

JulyJim commented on Apr 10, 2015

@JulyJim
Author

Thanks for your work.

I am not sure why a semi-serious developer AKA coding more that "blink LED" would NOT want all helpful stuff from compiler.
But that is why we have "defaults" , right?

Thanks again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @matthijskooijman@cmaglie@ffissore@JulyJim

        Issue actions

          FYI #error and #warning on Nightly build 1.5.8 · Issue #2415 · arduino/Arduino