Mail Archives: djgpp/1994/11/15/23:45:55
>I notice in djgppstd.h 'exit' is declared 'volatile void'. My understanding
>is that per ANSI 'exit' is just void. Is there some reason for adding the
>'volatile' type in djgpp?
So that GCC won't complain about your function not returning a value. If this
is really a problem, it generally works to add -Dvolatile= to your flags (I
had to do this to compile nethack, for instance--now I'm trying unsuccessfully
to get it to work with Xlibemu. It almost does!)
--- Aaron Ucko (ucko AT vax1 DOT rockhurst DOT edu; finger for PGP public key) -=- httyp!
-=*=-Just because you're paranoid doesn't mean they aren't out to get you.-=*=-
Geek code 2.1 [finger hayden AT vax1 DOT mankato DOT msus DOT edu for explanation]:
GCS/M/S d(-) H s g+ p? !au a-- w+ v+ C++(+++)>++++ U-(S+)>++++ P+ L>++ 3(-)
E-(----) !N>++ K- W(--) M-(--) V(--) po-(--) Y+(++) t(+) !5 j R G tv--(-)
b+++ !D(--) B--(---) e>++++(*) u++(@) h!() f(+) r-(--)>+++ n+(-) y?
- Raw text -