Why does this simple program segfault?

Anders F Björklund afb at algonet.se
Tue Aug 14 23:44:54 PDT 2007


Chad J wrote:

> I think a worse problem though is how D errors on null dereferencing. On 
> windows I get Access Violations, and I think the segv is a linux thing 
> if I remember correctly.

Correct. They're called Bus Errors on Mac. "Kärt barn har många namn"*.

--anders

* translated to english: We find many names for those we love


More information about the Digitalmars-d-learn mailing list