Skip to content

note on string literal size and double quotes #1

@btsimonh

Description

@btsimonh

Just found this and love it.
But... note that MS limits string literals to 16384 (from https://stackoverflow.com/questions/16868362/c-string-too-big-trailing-characters-truncated).
Also, this construct in js inside an html foxed it:
index = index ? index[1].replace(/"/g, '"') : '';

  • error was 'error C2001: newline in constant' (vs 2015).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions