Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Move headers in a subdirectory #16

Open
arthaud opened this issue Aug 19, 2019 · 2 comments
Open

Move headers in a subdirectory #16

arthaud opened this issue Aug 19, 2019 · 2 comments
Labels
enhancement New feature or request

Comments

@arthaud
Copy link

arthaud commented Aug 19, 2019

Running sudo make install creates many files in /usr/include.
Some of them have the ap_ prefix which is perfectly fine.
However, some of them have very generic names (box.h, num.h) that could easily clash with other libraries.

I would suggest to create an apron directory in /usr/include and put all the headers there. You could then remove the ap_ prefix for some headers.

Users could then simply #include <apron/xxx.h>.

Thanks!

@antoinemine
Copy link
Owner

That would be nice indeed.
However, I don't know how to do this and not break existing code...
Any idea on this ?
Note that, if you install through opam (for OCaml), you're in luck as it will install in a package-specific location...

@antoinemine antoinemine added the enhancement New feature or request label Oct 22, 2019
@arthaud
Copy link
Author

arthaud commented Oct 22, 2019

Indeed, this would be a breaking change..

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants