Skip to content

Newline in #error message #591

@chrchr-github

Description

@chrchr-github

From https://trac.cppcheck.net/ticket/13690:
#error\ + LF (0xa) triggers an error message with an embedded newline, causing an assert failure.
https://github.com/danmar/simplecpp/blob/5cd15b3eaf7389347b018131e8f6e2bf45590b7b/simplecpp.cpp#L3430

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions