Skip to content

Conditional compilation fails inside property value array #254

@ByteProject

Description

@ByteProject

I am setting up my next game to conditionally compile as a standard edition and an extended cut. To maintain a single codebase, I've set up a constant which flags code I want to trigger via conditional compilation. This does not work when I want to adapt it to an value array of a property. This is the code I have (note the code in-between #ifdef and #endif).

code

And this is what I get when compiling.

compiler_error

Here is a bigger portion of the code with line numbers for context.

code_big

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