-
Notifications
You must be signed in to change notification settings - Fork 17
Compiler warning/error for "va_start" #12
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
Comments
What board are you compiling this for? |
I've tried a few boards, it does not matter which board it is compiled for. |
Let me ask again
As a matter of fact I know that this library works just fine for all |
Nano, Uno, Mega. Yes, it does work, but it also gives a compiler warning. A good practice is to treat warnings like errors and correct them. |
Also, it's not really necessary to be rude about it. I responded the way I did because I have tried several boards and suspect that this is related to misuse of a CPP library macro and not related to the particular board. If you did not try reproducing it, that would be a good place to start. If you did try to reproduce it and did not get this compiler error, then please let me know and I will assist in reproducing it. |
You can see warnings from the example sketch compilations for various boards in the CI logs. For example, here is the mentioned warning when compiling for the MKR Zero: |
There is a compiler warning/error that occurs on build. It is:
From my investigation, is seems that line 86 (of "Arduino_DebugUtils.cpp") is:
and should instead be:
I'm not overly familiar with that macro, but this version does stop the error and seems to function correctly when I run the examples.
The text was updated successfully, but these errors were encountered: