Re: [Gimp-developer] GNU++11 not allowed with Objective-C code

On Sat, 7 Apr 2018 12:41:10 -0400
Partha Bagchi <partha1b gmail com> wrote:

Ell my friend, it's me again. :)

We can't use gnu++11 with objective-c code.

  CXX      gimp-parallel.o

error: invalid argument '-std=gnu++11' not allowed with 'Objective-C'

make[3]: *** [gimp-parallel.o] Error 1

So, how do we fix this? Also, shouldn't we be using c++11 or c++14 to
be generic?

The specific compiler flag is chosen by some configure magic, so it
should generally be ok.  A little googling shows that people are
getting the same error with -std=c++11 too.

I'm not sure why clang tries to compile this as objective-c, though.
Can you post the output of $ make V=1 ?


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]