HaxeFoundation / HaxeFoundation/hxcpp

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

Open
#1,250 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
C++
Stars
330
Forks
227
Avg merge
2d 16h
Merged PRs (30d)
18

Description

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 `cppflag`s and `mmflag`s, it might be worth considering enabling all `cppflag`s in objective c++ compilation, perhaps with an attribute to turn that off per flag.

See:
https://github.com/HaxeFoundation/hxcpp/blob/be7ef02b785cf9cac8377b0ddbeef5026aa65221/toolchain/mac-toolchain.xml#L29

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.