[CinCV TNG] [PATCH 2/2] Catch incorrect string literal suffixes.
einarrunkaru at gmail.com
Sun Aug 20 21:33:31 CEST 2017
On 08/20/2017 11:28 AM, Johannes Sixt wrote:
> 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.
More information about the Cinelerra