Skip to content
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

In some place compiler extensible headers force fixed source layout #3328

Open
dnakamura opened this issue Dec 12, 2018 · 0 comments
Open

In some place compiler extensible headers force fixed source layout #3328

dnakamura opened this issue Dec 12, 2018 · 0 comments

Comments

@dnakamura
Copy link
Contributor

In some places the extensible headers mechanism used by the compiler component is flawed. It requires that a consuming project have a fixed relation between their source code and the omr source code, which may not be desired by the consuming project. In order to remedy this, the extensible headers with a name of <Foo>.hpp should be named OMR<Foo>.hpp so that the consumer provided extended header can include the base header simply instead of having to specify a path to the omr directory (eg (#include "omr/compiler/Foo.hpp")

Note: This is already the convention used by the majority of the extensible header files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants