My favorites | Sign in
Project Home Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 88: FastList cannot be compiled
1 person starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  ----
Closed:  Jan 2011


 
Reported by Andy.onthewings, Jan 17, 2011
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
Fixed in svn
Status: Fixed

Powered by Google Project Hosting