-
Notifications
You must be signed in to change notification settings - Fork 464
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
Prefix constants with a prefix to prevent collisions #1802
Comments
IMO it is okay as it is now. So far only C-API stuff is prefixed with Edit: According to google the correct way to avoid these non-standard defines/macros (as the I really don't think we need to to overly pro-active here. |
What about just having C++ namespaces will not solve |
I absolutely would hate that, but I guess that's already clear. So we would have |
It is not the compiler, those are the header files. If you don't like it we can drop SassUnit, since that's a bit too much. it's a known problem in the C world and most libraries try to namespace like this, this is nothing unusual. Windows is also adding random symbols defined here and there, you might by lucky with one SDK or version setting, but not with another. We can't change a whole world. |
Is the |
So I took the pleasure to install smartos on a virtual machine, which took me 3 hours due to a bug in their installer 👊 Once I had it running it took me another hour to figure out how to install gcc ( In src/units.cpp:
This makes all Will try to find out what that |
@QuLogic we already export stuff under the |
I have create a PR which fixes the issue when I test it on
We pass |
I'm closing this as it should not be needed. I jumped through hoops to ensure this is fixed now! |
I believe we start prefixing some constants with
SASS_
3.3. We should finish the job.The text was updated successfully, but these errors were encountered: