Compiling PEU
- Posted by =?iso-8859-1?Q?JesusC_-_Jes=FAs_Consuegra?= Aug 27, 1998
- 539 views
Hi again!. Me, trying to run PEU compiled by LCC-win32, (the nice windows c environment). I get PEU compiled with only warnings (regarding to missing prototypes ans old-style definitions for many functions, so not a problem). When I try to run the PEU.EXE so compiled, a get a nice crash. Tracking it down with the debugger, I reach the first call to func_code(_pushliteral) where the program aborts with a GP fault. The only clue I have is a single warning different from the other thousand warnings: In line 506, void _push() { *++data_ptr = copy_object(*((object *) *code_ptr++)); // <------This one! command_printf(("[PUSH 0x%x]\n", *data_ptr)); "conversion from 'pointer to void function' to 'pointer to int' is compiler dependent Since all that code is like swahili for me, I'd appreciate very much any help. Jesús. (Trying not to learn too much C, Aren't we Euphorians? :) (Heard at the office: "... his brain damage comes from the exposure to C.")