[LLVMbugs] [Bug 550] NEW: NAME_PREFIX should be #defined when compiling llvmAsmParser.cpp
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Tue Apr 19 01:22:36 PDT 2005
http://llvm.cs.uiuc.edu/bugs/show_bug.cgi?id=550
Summary: NAME_PREFIX should be #defined when compiling
llvmAsmParser.cpp
Product: libraries
Version: trunk
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: LLVM assembly language parser
AssignedTo: unassignedbugs at nondot.org
ReportedBy: tzuchien.chiu at gmail.com
If the preprossor variable NAME_PREFIX is not defined, these llvmAsm* symbol
will not be resolved by the linker.
/* If NAME_PREFIX is specified substitute the variables and functions
names. */
#define yyparse llvmAsmparse
#define yylex llvmAsmlex
#define yyerror llvmAsmerror
#define yylval llvmAsmlval
#define yychar llvmAsmchar
#define yydebug llvmAsmdebug
#define yynerrs llvmAsmnerrs
I suggest NAME_PREFIX be defined in AsmParser.vcproj.
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
More information about the llvm-bugs
mailing list