-
Notifications
You must be signed in to change notification settings - Fork 44
-
Notifications
You must be signed in to change notification settings - Fork 44
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
Eliminate $ from identifiers #26
Comments
Thanks Nick, I've become aware of I might change the names to:
The 'problem' is that the user may not use these names for her own purpose. Any other ideas? |
Namespacing/label clashes are a difficult problem to solve with macros. Prefixing the names with |
As an aside: For some time
|
@genbattle Ah, you're using lest version 1.24.1, current is 1.24.5. 1.24.2: This release fixes and suppresses several warnings for clang and gcc and fixes the version number for VC14 and higher. |
I tried the latest version and it does indeed resolve all of my issues! Sorry for the trouble. |
You're welcome. Nonetheless it may be a good idea to stop using the |
what about |
Thanks @Kosta-Github, I chose to 'encode' the The lest environment parameter named |
Hi there,
I'm currently using lest to test a project of mine, and noticed it was producing some warnings when compiling tests for my project using clang (3.6 and 3.7):
Clang is not happy about dollar characters
$
being used in identifier names. This seems reasonable given the discussion here. Using such characters outside of the normal alphanumeric character set is implementation defined in C++11, and so may or may not work. On clang with-Wall -Wextra
it happens to generate a warning.Use of
$
in identifiers should be removed if it can be without seriously impacting the readability or clarity of the code.The text was updated successfully, but these errors were encountered: