Skip to content
This repository was archived by the owner on Dec 6, 2024. It is now read-only.
This repository was archived by the owner on Dec 6, 2024. It is now read-only.

-std=c89 flag build error #32

@LesnyRumcajs

Description

@LesnyRumcajs

Hello, I would like to understand why was the -std=c89 flag recently introduced in the CMakeLists.txt. Unfortunately it breaks builds with clang. E.g.

:587:13: error: '_Bool' is a C99 extension [-Werror,-Wc99-extensions]
            bool           variationMatch = false;
            ^
/usr/lib/clang/11.0.1/include/stdbool.h:15:14: note: expanded from macro 'bool'

Could you please advise on this issue? Please see a similar one: protocolbuffers/upb#213

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