[cfe-dev] Building Examples from Trunk throws the following	error referenceing eh_selector
    Garrison Venn 
    gvenn.cfe.dev at gmail.com
       
    Mon Feb  6 08:17:16 PST 2012
    
    
  
Hi Eli, Bill,
When changing to the new exception system I forgot to ifdef out the old declarations. 
Regardless since the old decs are no longer supported, Bill did the right thing and 
additionally removed the optional demo of the auto upgrade mechanism from the demo
itself.
Sorry for the hassle
Garrison
On Feb 3, 2012, at 16:33, Eli Friedman wrote:
> On Fri, Feb 3, 2012 at 4:22 PM, Bill Wendling <bwendling at apple.com> wrote:
>> 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.
>>> 
>> Hi Marc,
>> 
>> Yes, this is expected. You are using the old exception handling mechanism. It was deleted back in November, but these intrinsics were still around (but not doing anything). You should move to the new EH mechanism. :-)
>> 
> 
> Err, it might be expected that code which uses eh_exception might
> fail, but it isn't expected that llvm/examples/ fails to build...
> 
> -Eli
> 
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
    
    
More information about the cfe-dev
mailing list