D2 module(system) or module(safe)?
Leandro Lucarella
llucax at gmail.com
Thu Nov 27 15:51:35 PST 2008
Jesse Phillips, el 27 de noviembre a las 03:10 me escribiste:
> > Is the -safe flag supposed to work? How?
>
> I assume you are right, for information on -safe see SafeD
>
> http://www.digitalmars.com/d/2.0/safed.html
Yes, I read that document, but what I mean is that I've created a simple
test:
int* x = cast(int*) 9283;
And it compiles without warnings or errors, with or without module
(system). That doesn't looks safe in terms of memory to me ;-)
--
Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar/blog/
----------------------------------------------------------------------------
GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05)
----------------------------------------------------------------------------
ACCIDENTE FATAL EN FLORES, MUEREN DOS PERSONAS Y UN BOLIVIANO
-- Crónica TV
More information about the Digitalmars-d
mailing list