Displaying 2 results from an estimated 2 matches for "llvmasmlineno".
2007 Nov 11
2
[LLVMdev] MSVC 8 Build
...dly, in release mode, MSVC complains about the use of Debug in
llvmAsmParser.y
1>c:\llvm\lib\AsmParser\llvmAsmParser.y(3124) : error C2065: 'Debug' :
undeclared identifier
e.g. below.
// common code from the two 'RunVMAsmParser' functions
static Module* RunParser(Module * M) {
llvmAsmlineno = 1; // Reset the current line number...
CurModule.CurrentModule = M;
#if YYDEBUG
yydebug = Debug;
#endif
// Check to make sure the parser succeeded
if (yyparse()) {
if (ParserResult)
delete ParserResult;
return 0;
}
Cheers,
George Russell
-------------- next part --...
2007 Nov 12
0
[LLVMdev] MSVC 8 Build
...> Debug in llvmAsmParser.y
> 1>c:\llvm\lib\AsmParser\llvmAsmParser.y(3124) : error C2065:
> 'Debug' :
> 1>undeclared identifier
> e.g. below.
> // common code from the two 'RunVMAsmParser' functions static
> Module* RunParser(Module * M) {
>
> llvmAsmlineno = 1; // Reset the current line number...
> CurModule.CurrentModule = M;
> #if YYDEBUG
> yydebug = Debug;
> #endif
>
> // Check to make sure the parser succeeded
> if (yyparse()) {
> if (ParserResult)
> delete ParserResult;
> return 0;
>...