http://llvm.org/bugs/show_bug.cgi?id=9860
Summary: Clang "no viable conversion" bug with operator
overload
Product: clang
Version: trunk
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P
Component: C++
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
When compiling the attached preprocessed source file, I get the following
error:
In file included from src/emu/emuopts.c:1:
src/emu/emuopts.c:459:31: error: no viable conversion from 'emu_file' to
'core_file' (aka '_core_file')
bool result = parse_ini_file(file, priority, OPTION_PRIORITY_DRIVER_INI,
error);
^~~~
src/emu/fileio.h:118:2: note: candidate function
operator core_file &();
^
src/lib/util/options.h:163:33: note: passing argument to parameter 'inifile'
here
bool parse_ini_file(core_file &inifile, int priority, int ignore_priority,
astring &error_string);
^
1 error generated.
There could be a bug in the code, but I can't find it.
--
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs