-
Notifications
You must be signed in to change notification settings - Fork 13.3k
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
weird error in arduino.h on makeWord () with core 3.0.0 #8089
Comments
Are you using a git installation, and in that case did you upgrade the toolchain with the script (normally I should close because you deleted the issue template and the answers of my question would be in it after you filled the fields) |
hi, |
We need a way to reproduce, with a MCVE.
|
I've a few observations. The use of the identifier "byte" is a bit onerous. In I'm providing PR #8090 as a suggested fix to this, including @d-a-v's change. |
first I apologize for not following the issue template, but I did not imagine the benefit. |
With the PR, this compiles fine now:
@earlephilhower Is this convincing proof that |
Closing as no feedback and a merged PR which we believe fixes things. |
Sir, How did you resolve the problem I too facing the same |
@Sai-Kiran-31 you need to either use the |
I re-tested with 3.0.1 and the noted error still exists. Thoughts? 2.7.4 works fine.
Plenty more of the same followed |
tested 3.00 > 3.01 and bug fixed with change uint16_t makeWord(uint8_t h, uint8_t l); in arduino.h
|
Food for thought, from NtpClientLib.h:
vs.
|
I could reproduce. edit: |
…etter As discussed here: esp8266/Arduino#8089 (comment)
…etter As discussed here: esp8266/Arduino#8089 (comment)
It appears that there are a number of libraries with |
With the linked issue, the general problem is with |
I am now closing again this issue that I re-opened. |
hi,
i have a weird error in arduino.h on makeWord ().
I use word (h, l) in my code and with core 3.0.0 it gives a fatal error during compilation.
i got around the problem by changing in arduino.h
What do you think ?
The text was updated successfully, but these errors were encountered: