| Issue 56: | Problems with Android Target and Enums | |
| 1 person starred this issue and may be notified of changes. | Back to list |
What steps will reproduce the problem?
enum Tuple2 {
Tuple2;
}
class Test
{
public static function main()
{
var t = Tuple2;
}
}
This fails (only when -D android is set) to compile with the following error message:
include/Tuple2.h:22: error: declaration of 'Tuple2 Tuple2_obj::Tuple2'
include/Tuple2.h:6: error: changes meaning of 'Tuple2' from 'typedef class hx::ObjectPtr<Tuple2_obj> Tuple2'
Called from ? line 1
Called from BuildTool.hx line 899
Called from BuildTool.hx line 451
Called from BuildTool.hx line 475
Called from BuildTool.hx line 548
Called from BuildTool.hx line 620
Uncaught exception - Error in building thread
Error : Build failed
Aug 15, 2010
#1
heinz.ho...@googlemail.com
Aug 15, 2010
adding the -fpermissive switch to gcc treat this error as warning, maybe this is an option.
Jan 17, 2011
Using fully-qualified paths fixed this problem on SVN.
Status:
Fixed
|