Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

C++ fixes #224

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

C++ fixes #224

wants to merge 2 commits into from

Commits on Feb 5, 2024

  1. antlr3memory.hpp: fix for C++20 mode

    gcc 10 in C++20 mode requires that the allocator type match
    the type used to allocate, so do that by adding "const" to the
    key type.
    avikivity committed Feb 5, 2024
    Configuration menu
    Copy the full SHA
    0248033 View commit details
    Browse the repository at this point in the history
  2. Remove const specifiers from CyclicDFA members

    These const specifiers were ignored by older versions of gcc, likely
    because they are in template members that are not instantiated. gcc 14
    refuses to compile the class.
    
    Fix by removing the const specifiers. This is safe since these members
    are private, so we aren't allowing external users permissions to
    modify them.
    avikivity committed Feb 5, 2024
    Configuration menu
    Copy the full SHA
    a54d847 View commit details
    Browse the repository at this point in the history