Issues with including .hh and .hpp files #181
Labels
conclusion: resolved
Issue was resolved
topic: code
Related to content of the project itself
type: imperfection
Perceived defect in any part of project
Milestone
I am merging two related issues and moving them here from the IDE repository at the request of facchinm:
Moved from arduino/Arduino#5441:
Using Arduino IDE 1.6.13 Hourly Build 2016/10/03 06:51 with Windows 7 64 bit
arduino/Arduino#3186 added support for including .hpp and .hh files from libraries.
If I have a library installed with the folder structure:
foo
|_foo.h
|_foo.hh
|_foo.hpp
With Arduino IDE 1.6.6 or newer, doing:
or
causes compilation to fail:
It will only compile if I do:
Using Arduino IDE 1.6.5-r5 I don't need to include the .h file.
### Moved from https://github.com/arduino/Arduino/issues/5442:
Using Arduino IDE 1.6.13 Hourly Build 2016/10/03 06:51 with Windows 7 64 bit
@Chris--A added support for .hh and .hpp sketch files in arduino/Arduino#3485 however if I create a sketch tab with a .hh extension and then try to include that file from the sketch:
compilation fails:
This problem doesn't occur with sketch tabs with the .hpp extension.
Originally reported at http://forum.arduino.cc/index.php?topic=427309
The text was updated successfully, but these errors were encountered: