[LLVMdev] AsmParser/Lexer.l error
Basile STARYNKEVITCH
basile at starynkevitch.net
Mon Mar 24 12:15:26 PDT 2008
Hello
With the latest LLVM from Subversion (rev48737 from
http://llvm.org/svn/llvm-project/llvm/trunk) I'm getting
make[2]: Entering directory `/usr/src/Lang/llvm/_Obj/lib/AsmParser'
llvm[2]: Flexing Lexer.l
llvm[2]: Compiling Lexer.cpp for Debug build
/usr/src/Lang/llvm/lib/AsmParser/Lexer.l: In function 'int llvmAsmlex()':
/usr/src/Lang/llvm/lib/AsmParser/Lexer.l:278: error: 'PURE' was not
declared in this scope
/usr/src/Lang/llvm/lib/AsmParser/Lexer.l:279: error: 'CONST' was not
declared in this scope
Lexer.cpp: In function 'int yy_get_next_buffer()':
I'm on Debian/Sid/AMD64, build directory is /usr/src/Lang/llvm/_Obj (a
subdir of the source). Even by removing
/usr/src/Lang/llvm/lib/AsmParser/Lexer.cpp as suggested
inhttp://lists.cs.uiuc.edu/pipermail/cfe-dev/2007-November/000483.html
I'm getting the same message.
I'm quite sure it is a common mistake of mine, but I thought that
removing the generated /usr/src/Lang/llvm/lib/AsmParser/Lexer.cpp would
be enough.
flex --version :: flex 2.5.34
g++ --version :: g++ (GCC) 4.2.3 (Debian 4.2.3-2)
Regards
--
Basile STARYNKEVITCH http://starynkevitch.net/Basile/
email: basile<at>starynkevitch<dot>net mobile: +33 6 8501 2359
8, rue de la Faiencerie, 92340 Bourg La Reine, France
*** opinions {are only mines, sont seulement les miennes} ***
More information about the llvm-dev
mailing list