[Description]

    I used flex to generate the source code.
    After that, when I compiled using VisualStudio 2017, an error of
C4146 occurred.

    I modified the file containing the error as follows.

        # (original) position.hh:111
              return (0 < rhs || -static_cast<unsigned int>(rhs) < lhs

        # (edited) position.hh:111
              return (0 < rhs || -1 * static_cast<unsigned int>(rhs) < lhs

    I compiled it again and confirmed that no error occurred


[Environment]
    OS: Windows10
        Visual Studio 2017 (C++)

    Version: bison (GNU Bison) 3.0.5


Thank you,

Reply via email to