HaxeFoundation / HaxeFoundation/hxcpp

Conditionally use a compiler flag for only a particular library?

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

Description

I am having an issue with using -std=c++11 with libraries that have .c files. But it is required by another library.

```
- /usr/local/lib/haxe/lib/linc_nanovg/git/linc/linc_nanovg.cpp
- /usr/local/lib/haxe/lib/linc_nanovg/git/lib/nanovg/src/nanovg.c
Error: error: invalid argument '-std=c++11' not allowed with 'C'
```

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.