Re: std/dos/memory.e and std/dos/safe.e
- Posted by ne1uno May 23, 2009
- 924 views
RStowasser said...
Trying to create Euphoria (r2092) with safe.e I added in std/machine.e at about line 232: {{{ ... with define SAFE ifdef SAFE then ...
when running wmake -f makefile.wat I get this error:
...
good idea, must admit, never though to try it and I run SAFE all the time when there is a problem.
std/sockets.e has an include std/memory.e instead of std/machine.e not sure that gets pulled in for DOS, but it might. source/pathopen.e does it wrong too.
bottom line, if you must include memory.e directly protect it with ifdef SAFE like is done in machine.e or mmem.e so running with -D SAFE or with define SAFE works.