[CinCV TNG] [PATCH 2/2] Catch incorrect string literal suffixes.

Johannes Sixt j6t at kdbg.org
Sun Aug 20 10:28:10 CEST 2017

The most likely source of incompatibility beginning with C++11 is when a
string is juxtaposed to a macro with no space between them, e.g.

   "The file has %"PRIu64" bytes."

Even though PRIu64 is a macro, it would be parsed as a user-defined literal
in combination with the string in front of it.

Switch GCC's warning about this case to an error and fix all occurrences
in the code base.

Patch attached.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Catch-incorrect-string-literal-suffixes.patch
Type: text/x-patch
Size: 3800 bytes
Desc: not available
URL: <http://lists.cinelerra-cv.org/pipermail/cinelerra/attachments/20170820/31867d38/attachment.bin>

More information about the Cinelerra mailing list