Re: Issue compiling simple code with clang++-mp-11

2021-05-03 Thread Ryan Schmidt
On May 3, 2021, at 07:14, Andrew Udvare wrote: > it wasn't until recently that Xcode Clang and MacPorts Clang versions > mismatched their highest numbers (Xcode 12.5 having Clang 12, MacPorts having > up to 11). Xcode clang version numbering is completely different from open source clang

Re: Using macports-libcxx to build a non-MacPorts cmake project

2021-05-03 Thread Ken Cunningham
what you did actually might have worked, I think, ideally… too bad it didn’t. Can you do this perhaps? export CXXFLAGS="-nostdinc++ -I/opt/local/include/libcxx/v1” export LDFLAGS="-L/opt/local/lib/libcxx" or maybe this: CXX=/path/to/clang-9.0 CXXFLAGS="-nostdinc++

Using macports-libcxx to build a non-MacPorts cmake project

2021-05-03 Thread wowfunha...@gmail.com
Hello! I spent the weekend building a copy of the Dolphin emulator that is compatible with OS X 10.9! It mostly works, thanks in no small part to MacPorts's excellent legacy-support and clang-11 ports.

Re: Issue compiling simple code with clang++-mp-11

2021-05-03 Thread Christopher Jones
See https://trac.macports.org/ticket/62770 Its the macOS11.3 / Xcode 12.5 update, it has broken all MacPorts clang versions <= 11 At this time the only macports clang that works is the clang-level port. Chris > On 3 May 2021, at 1:14 pm, Andrew Udvare

Issue compiling simple code with clang++-mp-11

2021-05-03 Thread Andrew Udvare
This code compiles fine with Xcode but fails with Clang from MacPorts. I have not been able to figure out why. I successfully rebuilt Clang and LLVM from source but it made no difference. Setup: macOS 11.3 20E232 x86_64 Xcode 12.5 12E262 The code (main.cpp): #include int main(int argc, char