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

Fix for "invalid suffix on literal" error in clang #111

Merged
merged 1 commit into from
Jan 28, 2017
Merged

Fix for "invalid suffix on literal" error in clang #111

merged 1 commit into from
Jan 28, 2017

Conversation

njh
Copy link
Contributor

@njh njh commented Jan 15, 2017

I get the following error from clang when compiling against check.h with C++:

/usr/local/include/check.h:760:55: error: invalid suffix on literal; C++11 requires a space between
      literal and identifier [-Wreserved-user-defined-literal]
    "Assertion '%s' failed: %s == %.*"TM"g, %s == %.*"TM"g, %s == %.*"TM"g", \

Adding a space on either side of TM fixes it.

See also #110

Invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal]
@brarcher
Copy link
Contributor

Jenkins: ok to test

@brarcher brarcher merged commit 6d11ae6 into libcheck:master Jan 28, 2017
@njh njh deleted the invalid-suffix-on-literal branch January 28, 2017 13:55
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

Successfully merging this pull request may close these issues.

2 participants