Skip to content

c++ standard flags are ignored by mac toolchain for objective c++ files #1250

@tobil4sk

Description

@tobil4sk

When using the mac toolchain to compile .mm files, HXCPP_CPP11 is ignored by hxcpp, so no -std=c++11 flag is added to the build. Since there is already a lot of duplication between cppflags and mmflags, it might be worth considering enabling all cppflags in objective c++ compilation, perhaps with an attribute to turn that off per flag.

See:

<cppflag value="-std=c++11" if="HXCPP_CPP11"/>

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