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

Do not disable GNU extensions when building grammars #8953

Closed
wants to merge 1 commit into from

Commits on Nov 30, 2023

  1. Do not disable GNU extensions when building grammars

    Commit ca65d31 ("always build
    grammars with c++14 and c11 (helix-editor#6792)") turned on semi-strict
    standard mode for C and C++ by accident.  Some grammars use
    non-standard functions such as isascii (from <ctype.h>) and
    fail to build as a result, particularly with future compilers
    which do not support implicit function declarations.
    
    (Ideally, the build environment would only raise the standard
    versions relative to the toolchain default, not lower them, but
    this change does not implement that.)
    fweimer-rh committed Nov 30, 2023
    Configuration menu
    Copy the full SHA
    c78b581 View commit details
    Browse the repository at this point in the history