On May 2, 2007, at 12:55 PM, Lauro Ramos Venancio wrote:

> The following build error is occurring.
>
> Lauro
>
> make[2]: Entering directory `/armel-chroot/home/laurov/test/build/ 
> llvm/lib/Analysis'
> llvm[2]: Compiling AliasAnalysis.cpp for Release build
> AliasAnalysis.cpp :37: error: definition of  
> 'llvm::AliasAnalysis::ID' is not in namespace enclosing  
> 'llvm::AliasAnalysis'
> make[2]: *** [/armel-chroot/home/laurov/test/build/llvm/lib/Analysis/ 
> Release/AliasAnalysis.o] Error 1
> make[2]: Leaving directory `/armel-chroot/home/laurov/test/build/ 
> llvm/lib/Analysis'
> make[1]: *** [Analysis/.makeall] Error 2

hmm.. I did not get this error.
Does it help to move 'const int AliasAnalysis::ID = 0;' outside  
anonymous namespace ?

Thanks,
-
Devang
_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to