Skip to content

Pick up changes in .cpp files when compiling #3440

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
probonopd opened this issue Jun 30, 2015 · 6 comments
Closed

Pick up changes in .cpp files when compiling #3440

probonopd opened this issue Jun 30, 2015 · 6 comments
Assignees
Labels
Component: Compilation Related to compilation of Arduino sketches Component: IDE The Arduino IDE
Milestone

Comments

@probonopd
Copy link
Contributor

I have a sketch which includes a cpp file in the same directory as the .ino file. When I make a change to the .cpp file, save, and compile, then the change in the .cpp file is not picked up. I have to restart the Arduino IDE each time to have it recognize the change in the .cpp file.

It would be nice if the restart wasn't necessary. (This might apply to other file types different from .cpp as well).

@matthijskooijman
Copy link
Collaborator

Hm, weird. In any case, there have been some recent changes in how these files are handled. Could you try running the hourly build and see if the problem still exists there?

@probonopd
Copy link
Contributor Author

I am running
bildschirmfoto 2015-06-30 um 13 23 49
on OS X 10.9

@matthijskooijman
Copy link
Collaborator

Hm, I was talking about #3435, which was merged only four hours ago. You might want to upgrade to the latest hourly, just in case.

@ffissore, might be good to also list the git revision of the latest hourly on the site and in the IDE itself?

@ffissore ffissore added Component: IDE The Arduino IDE Component: Compilation Related to compilation of Arduino sketches labels Jun 30, 2015
@ffissore ffissore added this to the Release 1.6.6 milestone Jun 30, 2015
@ffissore ffissore self-assigned this Jun 30, 2015
@ffissore
Copy link
Contributor

Ouch, confirmed. Working on it

@ffissore
Copy link
Contributor

Fixed. Sorry about that. Available since next hourly http://www.arduino.cc/en/Main/Software#hourly

@probonopd
Copy link
Contributor Author

Thanks ffissore. I can confirm it is fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Compilation Related to compilation of Arduino sketches Component: IDE The Arduino IDE
Projects
None yet
Development

No branches or pull requests

3 participants