[cfe-dev] Building Examples from Trunk throws the following error referenceing eh_selector

Bill Wendling bwendling at apple.com
Fri Feb 3 16:14:13 PST 2012


On Feb 2, 2012, at 4:15 PM, Marc J. Driftmeyer wrote:

> I started getting this yesterday:
> 
>> /home/mdriftmeyer/DeveloperProjects/LLVMProject/trunk/llvm/examples/ExceptionDemo/ExceptionDemo.cpp:1970:44: error: 
>>       no member named 'eh_selector' in namespace 'llvm::Intrinsic'
>>   getDeclaration(&module, llvm::Intrinsic::eh_selector);
>>                           ~~~~~~~~~~~~~~~~~^
>> /home/mdriftmeyer/DeveloperProjects/LLVMProject/trunk/llvm/examples/ExceptionDemo/ExceptionDemo.cpp:1974:44: error: 
>>       no member named 'eh_exception' in namespace 'llvm::Intrinsic'
>>   getDeclaration(&module, llvm::Intrinsic::eh_exception);
>>                           ~~~~~~~~~~~~~~~~~^
>> 2 errors generated.
>> make[2]: *** [examples/ExceptionDemo/CMakeFiles/ExceptionDemo.dir/ExceptionDemo.cpp.o]       Error 1
>> make[1]: *** [examples/ExceptionDemo/CMakeFiles/ExceptionDemo.dir/all] Error 2
> 
> Just wondering if this is known or not.
> 
Yes. You are using the old version of exception handling. You should stop using that and use the new version instead.

-bw




More information about the cfe-dev mailing list