Skip to content

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