Skip to content

add option to treat warnings as errors #1112

@vladak

Description

@vladak

To catch problems early on, it would be handy to have an option to treat warnings as errors, similarly to the -Werror used by the C compilers.

An example of one such warning would be:

Unicode escape sequence is too long. Use \u{...} to disambiguate.
UnicodeIdentifier = [a-zA-Z_\u007F-\u10FFFF] [a-zA-Z0-9_\u007F-\uFFFF]*
                                         ^

Plus the corresponding JFlex Maven plugin option.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions