Question about compiler blacklisting (llvm-gcc for wxWidgets)

Ryan Schmidt ryandesign at
Thu Nov 2 16:48:18 UTC 2017

Forwarding reply from Vadim who is not subscribed.

> Begin forwarded message:
> From: Vadim Zeitlin
> Subject: Re[2]: Question about compiler blacklisting (llvm-gcc for wxWidgets)
> Date: November 2, 2017 at 09:25:24 CDT
> To: Ryan Schmidt, Mojca Miklavec
> Cc: Ken Cunningham, MacPorts Developers
> On Thu, 2 Nov 2017 09:16:29 -0500 Ryan Schmidt <ryandesign at> wrote:
> RS> So wait... does wxWidgets require C++11 or not?
> No, it doesn't. It can be compiled with both C++98 and C++11 (or later)
> compilers. However you'd better use the same compiler with the same
> standard library (which is especially relevant under macOS as other systems
> typically have only a single one of them anyhow) and the same options for
> building both the library and the applications using it.
> As an aside, under Linux it's actually possible to mix and match
> -std=c++xx options when building the library and the applications, but this
> is due to gcc/libstdc++ carefully maintaining the ABI and I'm all but sure
> that this is not going to work under macOS.
> RS> I see that we already have the wxWidgets-3.0-libcxx and
> RS> wxWidgets-3.0-cxx11 subports... confusing.
> You definitely must have a build of the library using C++11 and libc++ as
> this is what any non-masochist developer would use nowadays. If needed,
> i.e. if you have to maintain applications that can't be compiled in C++11
> mode, you may also need the C++98 mode, which still probably should link
> with libc++, but I'm not really sure about the last point.
> HTH,
> VZ

More information about the macports-dev mailing list