Re: GNU++11 not allowed with Objective-C code

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

 



On Sat, 7 Apr 2018 15:43:30 -0400
Partha Bagchi <partha1b@xxxxxxxxx> wrote:

> My apologies. I should have framed that as 2 different issues. One
> about  
> the compilation and the other that we should probably be using C++14
> (or 11) instead of gnu++11.

The exact flag we use is not hard coded, it's determined by
AX_CXX_COMPILE_STDCXX() during configure.  We *could* ask it for a
strictly standard-compliant mode, but we're not that concerned about
it.  We might want to use some GCC extension, based on some other
configure test, or whatnot.

> 
> In any case, the verbose mode may not be particularly helpful:
>
> [...]
> 
> In there you can see "-xobjective-c" is being used to compile
> gimp-parallel.cc. Also, you're seeing -std=c++14 because I have
> CXXFLAGS defined that way.

Thanks.  So, we've been passing "-xobjective-c" unconditionally to all
compiled files on Mac.  Commit 06950be7f0 should fix that, only passing
it when compiling C files.

--
Ell
_______________________________________________
gimp-developer-list mailing list
List address:    gimp-developer-list@xxxxxxxxx
List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list
List archives:   https://mail.gnome.org/archives/gimp-developer-list



[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux