Displaying 5 results from an estimated 5 matches for "getnextchar".
2007 Dec 15
2
[LLVMdev] fix warning with newer g++ compilers
...r(const char *Buf
// appropriate character.
static void UnEscapeLexed(std::string &Str) {
if (Str.empty()) return;
-
+
char *Buffer = &Str[0], *EndBuffer = Buffer+Str.size();
char *BOut = Buffer;
for (char *BIn = Buffer; BIn != EndBuffer; ) {
@@ -168,9 +168,9 @@ int LLLexer::getNextChar() {
// a random nul in the file. Disambiguate that here.
if (CurPtr-1 != CurBuf->getBufferEnd())
return 0; // Just whitespace.
-
+
// Otherwise, return end of file.
- --CurPtr; // Another call to lex will return EOF again.
+ --CurPtr; // Another call to...
2009 Mar 25
2
[LLVMdev] llvm-2.5 build failure (fedora f10)
Hi all,
On my Fedora 10 x86-64 the current svn dies in the following way:
/home/maurice/installation/llvm-dev/utils/TableGen/Debug/TGLexer.o: In
function `llvm::TGLexer::getNextChar()':
/home/maurice/installation/llvm-dev/utils/TableGen/TGLexer.cpp:71: undefined
reference to `llvm::TGSourceMgr::FindBufferContainingLoc(llvm::TGLoc) const'
/home/maurice/installation/llvm-dev/utils/TableGen/Debug/TGLexer.o: In
function `llvm::TGLexer::PrintError(llvm::TGLoc, std::basic_st...
2009 Mar 25
0
[LLVMdev] llvm-2.5 build failure (fedora f10)
On 2009-03-25 15:48, Maurice Gittens wrote:
> Hi all,
>
> On my Fedora 10 x86-64 the current svn dies in the following way:
>
> /home/maurice/installation/llvm-dev/utils/TableGen/Debug/TGLexer.o: In
> function `llvm::TGLexer::getNextChar()':
> /home/maurice/installation/llvm-dev/utils/TableGen/TGLexer.cpp:71:
> undefined reference to
> `llvm::TGSourceMgr::FindBufferContainingLoc(llvm::TGLoc) const'
> /home/maurice/installation/llvm-dev/utils/TableGen/Debug/TGLexer.o: In
> function `llvm::TGLexer::PrintError(l...
2009 Mar 25
0
[LLVMdev] llvm-2.5 build failure (fedora f10)
Hello, Neal
> You may want to note that you need glibc-devel.i386 to build. Otherwise you
> get error on /usr/include/gnu/stubs-32.h missing.
Do you have pure 64 bit system?
--
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University
2009 Mar 25
3
[LLVMdev] llvm-2.5 build failure (fedora f10)
You may want to note that you need glibc-devel.i386 to build. Otherwise you
get error on /usr/include/gnu/stubs-32.h missing.