Mail Archives: djgpp/1996/11/14/22:39:51
Cesar Scarpini Rabak wrote:
> Eli, this code fragment compiled w/DJGPP (albeit replacing myfunc by main
> straight) runs w/o problems!
>
> I'm afraid that only assignments are forbidden, dereferencing (though I
> agree that point to a coding error as well are allowed).
Whether or not a _particular_ compiler crashes with a given call is
irrelevant; the ANSI C standard states that dereferencing a null pointer
for any reason is a Bad Thing To Do and will cause Bad Things To Happen.
--
Erik Max Francis | max AT alcyone DOT com
Alcyone Systems | http://www.alcyone.com/max/
San Jose, California | 37 20 07 N 121 53 38 W
&tSftDotIotE | R^4: the 4th R is respect
"But since when can wounded eyes see | If we weren't who we were"
- Raw text -