ufront / ufront-orm

The Object Relational Mapper, allows easy, type-safe access to your database. Builds on Haxe's SPOD but adds macro powered relationships, validation and client side usage
MIT License
13 stars 4 forks source link

Compilation Error Haxe 3.4.3 #31

Open ben-farrant opened 6 years ago

ben-farrant commented 6 years ago

I'm getting compilation errors on generated c++ file. Is this an issue with the haxe version?

Error: ./src/ufront/db/joins/Join_SoundAndSpelling_Word.cpp:30:1: error: C++ requires a type specifier for all declarations
HX_LOCAL_STACK_FRAME(_hx_pos_8c99032e1d64c224_1413___getManager,"ufront.db.joins.Join_SoundAndSpelling_Word","__getManager",0xec951478,"ufront.db.joins.Join_SoundAndSpelling_Word.__getManager","/usr/local/lib/haxe/std/sys/db/RecordMacros.hx",1413,0x4890f5f4)
^
./src/ufront/db/joins/Join_SoundAndSpelling_Word.cpp:30:22: error: use of undeclared identifier '_hx_pos_8c99032e1d64c224_1413___getManager'
HX_LOCAL_STACK_FRAME(_hx_pos_8c99032e1d64c224_1413___getManager,"ufront.db.joins.Join_SoundAndSpelling_Word","__getManager",0xec951478,"ufront.db.joins.Join_SoundAndSpelling_Word.__getManager","/usr/local/lib/haxe/std/sys/db/RecordMacros.hx",1413,0x4890f5f4)
                     ^
./src/ufront/db/joins/Join_SoundAndSpelling_Word.cpp:30:259: error: expected ';' after top level declarator
HX_LOCAL_STACK_FRAME(_hx_pos_8c99032e1d64c224_1413___getManager,"ufront.db.joins.Join_SoundAndSpelling_Word","__getManager",0xec951478,"ufront.db.joins.Join_SoundAndSpelling_Word.__getManager","/usr/local/lib/haxe/std/sys/db/RecordMacros.hx",1413,0x4890f5f4)
                                                                                                                                                                                                                                                                  ^
                                                                                                                                                                                                                                                                  ;
3 errors generated.