Skip to content

Not generating correct forward declarations for functions marked with extern C #130

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

Closed
pfeerick opened this issue Mar 30, 2016 · 3 comments
Labels
conclusion: duplicate Has already been submitted topic: preprocessor Related to sketch preprocessing type: imperfection Perceived defect in any part of project

Comments

@pfeerick
Copy link

Just adding this an issue to be reviewed, as it arose when trying to get some code working with a third party core. It would appear that the arduino-builder does not generation declarations for functions marked with extern C. Code that worked with 1.6.5 (and I believe also 1.6.6) stopped working on 1.6.7 or 1.6.8 with c++ linkage errors as mentioned at esp8266/Arduino#1759.

igrr ended up having to do the workaround committed at esp8266/Arduino@7307640 in order to allow the code to work on Arduino 1.6.8, and you can see from the commit the lines that were removed which worked prior to arduino-builder.

@facchinm
Copy link
Member

Hi @pfeerick , the issue should be solved in nightly as #128 was merged. Also, @igrr already reported it here #126, so I believe I can close this one 😄

@pfeerick
Copy link
Author

lol... no worries... no wonder nothing jumped out at me for it as it was a closed issue! So since this is in the nightly/hourly build, does that mean it should appear in the next IDE stable release?

@facchinm
Copy link
Member

Yep 😄

@per1234 per1234 added conclusion: duplicate Has already been submitted topic: preprocessor Related to sketch preprocessing type: imperfection Perceived defect in any part of project labels Oct 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conclusion: duplicate Has already been submitted topic: preprocessor Related to sketch preprocessing type: imperfection Perceived defect in any part of project
Projects
None yet
Development

No branches or pull requests

3 participants