[LLVMbugs] [Bug 6221] New: ExecutionEngine::create is ambiguous as of 94686
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Wed Feb 3 08:17:10 PST 2010
http://llvm.org/bugs/show_bug.cgi?id=6221
Summary: ExecutionEngine::create is ambiguous as of 94686
Product: libraries
Version: trunk
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Generic Execution Engine Support
AssignedTo: unassignedbugs at nondot.org
ReportedBy: ddneff at hotmail.com
CC: llvmbugs at cs.uiuc.edu
ExecutionEngine has two create functions:
static ExecutionEngine* create(Module *M);
static ExecutionEngine *create(Module *M,
bool ForceInterpreter = false,
std::string *ErrorStr = 0,
CodeGenOpt::Level OptLevel =
CodeGenOpt::Default,
bool GVsWithCode = true);
Notice that the second version has the same first parameter type as the first,
and all of the following arguments have default parameters. GCC4.3 (probably
others) won't let you call the first version because its ambiguous, so it might
as well be removed.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list