Skip to content

.hh and .hpp files in libraries can only be included after a .h file from that library #5441

Closed
@per1234

Description

@per1234

Using Arduino IDE 1.6.13 Hourly Build 2016/10/03 06:51 with Windows 7 64 bit

#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:

#include <foo.hh>

or

#include <foo.hpp>

causes compilation to fail:

fatal error: bar.hh: No such file or directory
 #include <foo.hh>

It will only compile if I do:

#include <foo.h>
#include <foo.hh>

Using Arduino IDE 1.6.5-r5 I don't need to include the .h file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: RegressionSomething that used to work and now doesn't

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions