-
-
Notifications
You must be signed in to change notification settings - Fork 13
Adafruit_ASFcore library compilation failure #6
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
|
I have the same problem with my librarys "lcdmenulib" and "lcdmenulib2". I use the MREPEAT macros to generate some functions. For example: https://github.com/Jomelo/LCDMenuLib/blame/master/src/LCDMenuLib_makros.h#L975 The error message is this: To reproduce the problem include the library from the librarymanager and open the example: The issue does not occur with Arduino IDE 1.8.5 |
What makes me wonder here is that there are a lot of nested macros elsewhere that don't produce the error. So I studied more deeply this case and I found that the reason why this macro fails is in the comment in the same line of the macro definition (comments are preserved due to the I had a very hard time to create a small example to reproduce the same behaviour, but here it is:
after running
as you can see the comment inserted between We put the |
Using Arduino IDE Beta build 31 with Windows 7 64 bit
Error output:
arduino-preprocessor
-debug
output:https://gist.githubusercontent.com/per1234/57cbaf86646e4639b209dc99b9a6a7ac/raw/6ce21f489027fd8eac4114032e3ae764f25dd12e/arduino-preprocessor_debug_output.txt
The issue does not occur with Arduino IDE 1.8.5 or Arduino IDE 1.8.6 Hourly Build 2017/11/13 11:33.
Originally reported at http://forum.arduino.cc/index.php?topic=517758
The text was updated successfully, but these errors were encountered: