Attila M. Szilagyi
Attila M. Szilagyi
``` $ g++ -std=c++11 test.cpp -o test $ ./test void foo(Types...) [Types = ] $ echo $CXX $ export CC=/opt/local/bin/gcc-mp-9;export CXX=/opt/local/bin/g++-mp-9 $ $CXX -std=c++11 test.cpp -o test $ ./test void...
[yas-gcc.log](https://github.com/niXman/yas/files/4302253/yas-gcc.log)
[yas-gcc.log](https://github.com/niXman/yas/files/4302761/yas-gcc.log)
[yas-gcc.log](https://github.com/niXman/yas/files/4303676/yas-gcc.log)
[yas-gcc.log](https://github.com/niXman/yas/files/4307841/yas-gcc.log)
With that it builds now with gcc. With clang I attached the log if you're interested.
There is no main.ii, here is the log. [yas-clang.log](https://github.com/niXman/yas/files/4315883/yas-clang.log)
The issue began here: CMAKE_CXX_COMPILER_ID="AppleClang" So I changed to: if(CMAKE_CXX_COMPILER_ID MATCHES "(C|c?)lang") [main.ii.zip](https://github.com/niXman/yas/files/4320693/main.ii.zip)
Are you going to merge these changes if I create a pull request or was this just a temporary patch?
Hello this is a followup to this issue. Currently with macports/GCC: ``` gcc --version Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/4.2.1 Apple clang version 12.0.0 (clang-1200.0.32.21) Target: x86_64-apple-darwin19.6.0 Thread model: posix InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin...