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

redeclaration of 'yyleng' with a different type: 'int' vs 'yy_size_t' #1

@ibrokemypie

Description

@ibrokemypie

Fails to build on macOS with following error:

[ 87%] Building C object CMakeFiles/pkgparse.dir/pkgbuild_scanner.c.o
pkgbuild_scanner.l:30:13: error: redeclaration of 'yyleng' with a different type: 'int' vs 'yy_size_t' (aka 'unsigned long')
        extern int yyleng;
                   ^
/Users/conor/git/pkgparse/pkgbuild_scanner.c:276:11: note: previous definition is here
yy_size_t yyleng;
          ^
1 error generated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions