Issue 17: Operator = ambiguous
Status:  Fixed
Owner:
Closed:  Jul 2010
Project Member Reported by gameh...@gmail.com, Apr 5, 2010
New  issue 68  by adnez7: [CPP] operator = is ambiguous
https://code.google.com/p/haxe/issues/detail?id=68
 
When trying to compile format/abc to cpp I get errors saying:
'operator =' is ambiguous
De code causing this is lines like 309 in Reader.hx:
https://code.google.com/p/hxformat/source/browse/trunk/format/abc/
Reader.hx#309
 
Main.hx:
class Main
{
    static function main()
    {
        var abcFile = new format.abc.Reader(new
haxe.io.BytesInput(cpp.io.File.getBytes('global.abc'))).read();//error:
'operator =' is ambiguous
    }
}
 
build.hxml:
Main
-main Main
-cpp bin
-cp format
# I also had to add a modified version of format/abc because it uses
'const' as an identifier which confuses cpp.
 
An example can be found in this zip:
http://haxer.be/zips/cpp_abcReader.zip
 
Jan
 
 
Jul 29, 2010
Project Member #1 gameh...@gmail.com
Fixed on haxe and hxcpp svn
Jul 29, 2010
Project Member #2 gameh...@gmail.com
(No comment was entered for this change.)
Status: Fixed