-
Notifications
You must be signed in to change notification settings - Fork 804
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compiler warning when build with PIO, redefine of struct_size in main.ino #917
Milestone
Comments
Looks like this is more a PIO issue: |
This is a potential workaround
ie
|
h2zero
added a commit
to h2zero/OpenMQTTGateway
that referenced
this issue
Jul 6, 2021
h2zero
added a commit
to h2zero/OpenMQTTGateway
that referenced
this issue
Jul 6, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It is not nice to see a warning at each fresh build, but it seems to be a wrong warning...
Describe the bug
It seems that there is something strange ongoing at converting that main.ino to main.ino.cpp giving a warning:
Here you can see the corresponding code after converting, which seems totally fine to me:
It pretty much just removes the comments and some excessive whitespaces.
To Reproduce
Just type
pio run
and when it is compiling look at the output.If you want to compare the original main.ino with the temporary main.ino.cpp just make sure to save or use it until it is remved when compile is finished.
I directly opened it with a diff tool like
meld main.ino main.ino.cpp
in another shell.Environment (please complete the following information):
Latest version development.
The text was updated successfully, but these errors were encountered: