Re: translation error
- Posted by DerekParnell (admin) Sep 07, 2010
- 1133 views
PtitChaud said...
Hello,
I've just tried to use Eub4 (r3379) on win32 system.
Use the interpreted version of my project is OK, so I've tried to compile my big euphoria project with the euc tool and i obtain this error :
Clib.c(15): Error! E1014: Left operand must be an 'lvalue' Clib.c(21): Error! E1014: Left operand must be an 'lvalue'
As a work around for now, change the make_word() function to this ...
------------------------------------------------ global function make_word( integer lo, integer hi) ------------------------------------------------ -- syntax: i = make_word( lo, hi ) -- description: -- make 2 bytes (8bit) into a word (16bit) integer l,h -- mask values ( copied from Derek Parnell's tk_math.e ) l = and_bits( lo, #FF ) h = and_bits( hi, #FF ) return h*#100 + l end function