Skip to content

Rename tab results in link error #7203

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
sterretje opened this issue Feb 10, 2018 · 4 comments
Closed

Rename tab results in link error #7203

sterretje opened this issue Feb 10, 2018 · 4 comments
Labels
Waiting for feedback More information must be provided before we can proceed

Comments

@sterretje
Copy link

I could not find this one; also not sure if it belongs in this section but I saw a few more relating to tabs so here it goes.

  1. Compile a sketch with multiple tabs.
  2. Rename one of the cpp tabs (I renamed both a cpp and h file and adjusted the main sketch accordingly).
  3. Compile again.

The result is an error about multiple definition of the functions where the original object file is mentioned.

Current workaround is to close and open the IDE (using version 1.8.5)

@per1234
Copy link
Collaborator

per1234 commented Feb 10, 2018

Please test with the beta build of the Arduino IDE (https://www.arduino.cc/en/Main/Software#beta) and let us know whether it still occurs. I believe this issue was fixed after the 1.8.5 release.

@per1234 per1234 added the Waiting for feedback More information must be provided before we can proceed label Feb 10, 2018
@sterretje
Copy link
Author

That will have to wait for somewhere next week; I want to update a machine anyway so that will be a good candidate to test it on.

@sterretje
Copy link
Author

OK, that seems to be solved.

Where do I report bugs on the beta release?

@per1234
Copy link
Collaborator

per1234 commented Feb 16, 2018

@sterretje any testing of the beta build is very welcome! You can report any bugs you might find in the same places as always. The appropriate repository depends on the topic.

I've attempted to put together a guide to the various places you can submit issue reports here:
https://github.com/arduino/Arduino/blob/e4509d3daf41ba4a29b2867f64828dd129e61965/CONTRIBUTING.md#issues

If you have any suggestions for improvements to that document I would welcome them here: #6357.

Since the time I wrote that list there is a brand new tool in the beta build named arduino-preprocessor. This does all the sketch preprocessing, which was previously handled by arduino-builder (or just the IDE in Arduino IDE 1.6.5 and older). So if you find a bug with, for example, function prototype generation the place to report it is here:
https://github.com/arduino/arduino-preprocessor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Waiting for feedback More information must be provided before we can proceed
Projects
None yet
Development

No branches or pull requests

2 participants