| Issue 81: | FastCell.h No such file or directory | |
| 1 person starred this issue and may be notified of changes. | Back to list |
At the bottom is the demo of the bug. Put everything in a single file(doesn't matter if they're separated or not). It simply doesn't compile and an error is shown "...AnotherClass.cpp(7) : fatal error C1083: Cannot open include file: `haxe/FastCell.h`: No such file or directory". Tested using VC2010, hxcpp r254, haxe r3430. Removing "implements haxe.rtti.Generic" on "FastCell", "FastListIterator" and "FastList" can workaround the issue. So I suppose there is problem on Generic. import haxe.FastList; class GenericBug { static public function main() { new AnotherClass<Float>(123); } } class AnotherClass<T> { public var list:FastList<T>; public function new(t:T):Void { list = new FastList<T>(); list.add(t); } }
Jan 16, 2011
Project Member
#1
gameh...@gmail.com
Jan 16, 2011
Fixed on SVN
Status:
Fixed
|