| Issue 88: | FastList cannot be compiled | |
| 1 person starred this issue and may be notified of changes. | Back to list |
import haxe.FastList;
class Main
{
static public function main()
{
new FastList<Float>();
}
}
Using haxe r3626, hxcpp r272, the above code cannot be compiled using VS2010. The error is
D:\workspace\TestHaxeCpp\bin\include\haxe/FastListIterator_Float.h(40) : error C
2555: 'haxe::FastListIterator_Float_obj::next': overriding virtual function retu
rn type differs and is not covariant from 'cpp::FastIterator_obj<T>::next'
with
[
T=double
]
D:\repo\hxcpp\include\cpp/FastIterator.h(25) : see declaration of 'cpp::
FastIterator_obj<T>::next'
with
[
T=double
]
Called from ? line 1
Called from BuildTool.hx line 1077
Called from BuildTool.hx line 509
Called from BuildTool.hx line 538
Called from BuildTool.hx line 651
Called from BuildTool.hx line 723
Uncaught exception - Error in building thread
Error : Build failed
Jan 17, 2011
Project Member
#1
gameh...@gmail.com
Status:
Fixed
|