Thanks to visit codestin.com
Credit goes to github.com

Skip to content

error: invalid argument '-std=c++0x' not allowed with 'C/ObjC' FreeBSD 10/11  #34

Closed
@mike-pt

Description

@mike-pt

I was trying to install django-libsass and come up with this issue (torchbox/django-libsass#3)

cc -fno-strict-aliasing -O2 -pipe -fno-strict-aliasing -DNDEBUG -fPIC -I./libsass -I/usr/local/include/python2.7 -c libsass/cencode.c -o build/temp.freebsd-11.0-CURRENT-amd64-2.7/libsass/cencode.o -c -O2 -fPIC -std=c++0x -Wall -Wno-parentheses

error: invalid argument '-std=c++0x' not allowed with 'C/ObjC'

error: command 'cc' failed with exit status 1

cc is clang v 3.4.1 here and it seems not to like "c++0x"

I downloaded the git version and tried to build and I do get the same error:
"error: invalid argument '-std=c++0x' not allowed with 'C/ObjC'"

Thanks

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