Open yangbo opened 8 years ago
I thought that was a standard gcc feature. I suspect there will be a flag for it. But otherwise, no, sorry.
On 20 Jul 2015, at 06:19, Bob Young notifications@github.com wrote:
I try to compile the project in Mac OS X, but there are errors about 'nested-functions'. Because Apple CLang compiler does not support 'nested function' features, so I can not compile it. My CLang version is: gcc --version Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1 Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM 3.6.0svn) Target: x86_64-apple-darwin14.4.0 Thread model: posix
Any idea? Thanks.
— Reply to this email directly or view it on GitHub.
The thread model posix is probably the clue as that is not posix afaik.
On 20 Jul 2015, at 06:19, Bob Young notifications@github.com wrote:
I try to compile the project in Mac OS X, but there are errors about 'nested-functions'. Because Apple CLang compiler does not support 'nested function' features, so I can not compile it. My CLang version is: gcc --version Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1 Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM 3.6.0svn) Target: x86_64-apple-darwin14.4.0 Thread model: posix
Any idea? Thanks.
— Reply to this email directly or view it on GitHub.
I try to compile the project in Mac OS X, but there are errors about 'nested-functions'. Because Apple CLang compiler does not support 'nested function' features, so I can not compile it. My CLang version is: gcc --version Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1 Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM 3.6.0svn) Target: x86_64-apple-darwin14.4.0 Thread model: posix
Any idea? Thanks.