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

Namespace leakage in Font. #14

Open
NicolBolas opened this issue Aug 25, 2013 · 3 comments
Open

Namespace leakage in Font. #14

NicolBolas opened this issue Aug 25, 2013 · 3 comments
Labels

Comments

@NicolBolas
Copy link

The Font.hpp file has many using directives in it. But these are at global scope, so anyone who does #include<Font.hpp> will automatically get all of thoseusing`s.

This is generally considered rather rude, since using directives cannot be undone. You should either explicitly qualify these things or put the using directives in the scope of the class/function where they are used.

@thecoshman
Copy link
Member

Valid point, but Font.hpp is only on a 'dev test' branch, not master. As such, you are sort of commenting on something that does not exist.

@bananu7
Copy link
Member

bananu7 commented Aug 27, 2013

One of the points of dev branch is to catch those issues early. This is of course a valid concern.

@thecoshman
Copy link
Member

Indeed, but last I checked, this was not something that was within the scope of gldr. It was brought in as part of you pulling in an existing codebase to make use of.

@thecoshman thecoshman added the bug label May 9, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants