Re: gcc/g++ failures after xcode11 update

2019-09-25 Thread Jack Howarth
Beyond the /usr/include issue, Xcode 11 should be problematic when its bundled 10.15 SDK is used under either Mojave or Catalina due to the enforced use of the availability attribute in the headers. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90835 On Wed, Sep 25, 2019 at 5:46 AM Chris Jones

Re: gcc/g++ failures after xcode11 update

2019-09-25 Thread Chris Jones
(*) The package to add back /usr/include currently does not exist in 10.15 beta, so unless it reappears come final release this is going to be more of a problem thereā€¦. This package is not going to be coming back:

Re: gcc/g++ failures after xcode11 update

2019-09-24 Thread Saagar Jha
Saagar Jha > On Sep 24, 2019, at 01:56, Christopher Jones wrote: > > Hi, > > Note the error is not specific to gcc. Macports clang has the same problem. > > > clang++-mp-8.0 -O3 ./main.cpp > In file included from ./main.cpp:1: > In file included from >

Re: gcc/g++ failures after xcode11 update

2019-09-24 Thread Ken Cunningham
> The issue is both macports clang and gcc rely (by default) on /usr/include > being present, and this is no longer present by default with Xcode 11 Not exactly. The full logic was outlined by Jeremy here: https://trac.macports.org/ticket/57612#comment:18

Re: gcc/g++ failures after xcode11 update

2019-09-24 Thread Christopher Jones
Hi, Note the error is not specific to gcc. Macports clang has the same problem. > clang++-mp-8.0 -O3 ./main.cpp In file included from ./main.cpp:1: In file included from /opt/local/libexec/llvm-8.0/bin/../include/c++/v1/iostream:38: In file included from

Re: gcc/g++ failures after xcode11 update

2019-09-24 Thread Joshua Root
On 2019-9-24 15:31 , Mihir Luthra wrote: > Hi, > > After the xcode update, there have been many question on stackoverflow > regarding gcc and g++ linking fails. Any ideas on what can be done? > > https://stackoverflow.com/questions/58072318/cannot-link-any-c-program-with-gcc-on-mac-mojave > >

gcc/g++ failures after xcode11 update

2019-09-23 Thread Mihir Luthra
Hi, After the xcode update, there have been many question on stackoverflow regarding gcc and g++ linking fails. Any ideas on what can be done? https://stackoverflow.com/questions/58072318/cannot-link-any-c-program-with-gcc-on-mac-mojave