1. Can't build dll with eu4.0
- Posted by Thomas Mar 28, 2009
- 959 views
I get This error error when compilling a dll with watcom regex.c(6): Error! E1026: Invalid declarator regex.c(6): Error! E1009: Expecting ';' but found 'int' ecw -dll regex.ew SVN Revision 1556
-- regex.ew public function reg_test(object x) return x & " REGEX" end function
~tj
2. Re: Can't build dll with eu4.0
- Posted by jeremy (admin) Mar 28, 2009
- 971 views
Hm, on OS X, I get
regex.c:25: error: only weak aliases are supported in this configuration -- Line 25: int reg_test() __attribute__ ((alias ("_1reg_test")));
Jeremy
3. Re: Can't build dll with eu4.0
- Posted by jimcbrown (admin) Mar 28, 2009
- 957 views
jeremy said...
Hm, on OS X, I get
regex.c:25: error: only weak aliases are supported in this configuration -- Line 25: int reg_test() __attribute__ ((alias ("_1reg_test")));
Jeremy
AFAICT, this line is specific to OS X only. But the translator should output this when translating for the OSX platform to make this compile on OS X:
int reg_test() attribute ((weak, alias ("_1reg_test")));
I don't think freebsd requires the weak attribute, though I am not 100% sure.
4. Re: Can't build dll with eu4.0
- Posted by Thomas Apr 07, 2009
- 951 views
Thomas said...
I get This error error when compilling a dll with watcom regex.c(6): Error! E1026: Invalid declarator regex.c(6): Error! E1009: Expecting ';' but found 'int' ecw -dll regex.ew SVN Revision 1556
-- regex.ew public function reg_test(object x) return x & " REGEX" end function
I've found the solution to the error compiling dll int _1reg_test_1(int _x_141) <-- Remove the first int and it compile ok. Now also get this unknown command 'rm'
5. Re: Can't build dll with eu4.0
- Posted by jeremy (admin) Apr 07, 2009
- 940 views
Thomas,
I am able to reproduce that here as well. Can you submit a bug report?
Thank you,
Jeremy