[LLVMdev] llvm-3.0

David Blaikie dblaikie at gmail.com
Sun Jan 15 10:19:38 PST 2012


The rest of the diagnostic would be helpful - but I'm guessing you
tried to cast (using the LLVM casts (cast<T>(...))) to an integer
type.

On Sun, Jan 15, 2012 at 10:12 AM, ARTYOM BALOYAN <tyom_88 at mail.ru> wrote:
>
>
> Hi all,
>
>      I wrote code that compiled with llvm 3.0
>
> And when I compile i
>
> llvm-3.0/llvm/include/llvm/Support/Casting.h:50:12: error: type 'unsigned
> long' cannot be used prior to '::' because it has no members
> return To::classof(&Val);
>
>                 ^~~
>
> Do you know what's wrong ?
>
> Thanks.
>
>
>
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>




More information about the llvm-dev mailing list