Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.
7875 Discussions

Xcode 6.1, ICC 15 Error clang: error: unknown argument: '-ftrapuv'


Hi, i just installed XCode6.1 and Intel Parallel Studio XE 2015 Composer Edition Udate 1.

if the compiler wants to compile a .mm file i receive a error massage, telling invalid argument:

clang: error: unknown argument: '-ftrapuv'

here is the first part of the command line: /usr/bin/icc-15.0 -x objective-c++ -arch x86_64 -dev-usr-root=/Applications/ -isysroot /Applications/ -mmacosx-version-min=10.8 -g -O0 -w1 -fno-omit-frame-pointer -nolib-inline -inline-level=0 -use-intel-optimized-headers -ipp=common -DRELEASE -stdlib=libstdc++ -fvisibility=hidden -Zp16 -fp-model fast=2 -ftz -fp-speculationfast -ftrapuv -Faaax -fpascal-strings

what is the problem and how can i fix it?
i already had a problem to compile .mm files with the previous version where clang throws a "unknown argument error" but now it is a different argument, compared to the last version. 


0 Kudos
0 Replies