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

Heavy namespace violations in curses.h #39

Open
richfelker opened this issue May 13, 2020 · 2 comments
Open

Heavy namespace violations in curses.h #39

richfelker opened this issue May 13, 2020 · 2 comments

Comments

@richfelker
Copy link

curses.h is full of identifiers in the __-prefixed namespace, many of which are things that could easily clash with system headers. I saw a report of it failing to build on OSX that looked like it might have been related, and while I didn't see cause for that particular failure it prompted me to notice all these violations. I don't think any of them are essential/public API.

@rofl0r
Copy link
Member

rofl0r commented Jul 13, 2020

@rsmarples could this be addressed in netbsd upstream ?

@rsmarples
Copy link
Contributor

Unlikely.

@richfelker is right that __ is reserved for system headers and in NetBSD curses.h is a system header and libcurses is a system library.

Saying that I'm always happy to make changes to make it more portable if there is a reported build failure, which there currently isn't.

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

No branches or pull requests

3 participants