-
-
Notifications
You must be signed in to change notification settings - Fork 7k
the source code split on several tabs didn't compile on 1.9 beta #7666
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
Hi @artua , |
It's 2000 lines of code. I'll try to create MCVE
…On Mon, Jun 4, 2018 at 5:45 PM, Martino Facchin ***@***.***> wrote:
Hi @artua <https://github.com/artua> ,
could you share the sketch so we can try reproducing the issue? Thanks
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#7666 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AGV_3fD5f02V0bnLHmAzNsp9XRG8QxGxks5t5Uf6gaJpZM4UZNFj>
.
|
@facchinm ok, I created MCVE. It doesn't relate on tabs. It relates on where I put my functions (they was on tabs) and also depends on some other things. If I delete any line from PROGMEM definitions or remove an include, it compiles without error. It compiles without errors on 1.8.5 as I stated before. ERROR LOG
Code follows
|
Thanks a lot for the MCVE, I'll add it to the unit tests we run on the builder to spot regressions (and hopefully try to solve it, too 😉 ) |
Hi! Any updates? |
@facchinm did you find the cause? |
I just tested it again with latest IDE beta, ArduinoJson 6.1.0-beta and ESP8266 core v 2.4.0 and the MCVE compiles correctly now. We surely didn't fix |
@artua have you had a chance to test the latest Arduino IDE beta build yet? If so, did it resolve the issue for you? |
It also works for me with Arduino IDE 1.9.0-beta build 87, even using the same ArduinoJson 5.13.1 version as @artua. Since we haven't gotten any response and it's working for facchinm and me, I'll go ahead and close this. @artua if you are still having the problem with the latest beta build then please comment here and I'll reopen the issue. |
This sketch is working for me, but I tried another one with big files loaded via PROGMEM, it fails to compile with the same "'somefunction' was not declared in this scope" errors. I'll post MCVE if I can find the cause. BTW, now 1.9-beta works better than current 1.8.7-release with these files. Thanks! |
Multiple
'somefunction' was not declared in this scope
errors.1.8.5 and 1.8.6 nightly build compiles fine.
The text was updated successfully, but these errors were encountered: