Skip to content

Compilation error on scalar.h #1

@shmuelfomberg

Description

@shmuelfomberg

Hi.

I am trying to compile your project, and get an error:
blib\headers/perl++/scalar.h:185: error: expected identifier before 'void'
blib\headers/perl++/scalar.h:185: error: expected '}' before 'void'
blib\headers/perl++/scalar.h:185: error: expected unqualified-id before ',' token
blib\headers/perl++/scalar.h:185: error: two or more data types in declaration of 'SCALAR'
blib\headers/perl++/scalar.h:185: error: expected initializer before '}' token

line 185 is: enum context {VOID, SCALAR, LIST};

I am using Strewberry Perl 5.12 on Windows with MingW.
I tried, but could not spot the problem. maybe my C++ is out of shape...

Thanks,
Shmuel.

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