Skip to content

Conditionally use a compiler flag for only a particular library? #8

Description

@darmie

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'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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