OT: Crazy C Problem

From: Jeffrey Sharp <jss_at_subatomix.com>
Date: Sun Jan 19 03:35:00 2003

Ladies and gentleman, we have a winner. Thanks, Kevin!

Kevin Schoedel wrote (privately):
> OK, having now seen the code, I suspect the problem is that you have a
> function called end(). 'end' has traditionally been used by Unix systems
> for the address of the end of program memory. (I'm not sure where you'll
> find this documented -- maybe under ld(1).) This would explain the
> different results when you compile (and link) in a different order --
> different memory is corrupted depending on where your end() appears.

-- 
Jeffrey Sharp
Received on Sun Jan 19 2003 - 03:35:00 GMT

This archive was generated by hypermail 2.3.0 : Fri Oct 10 2014 - 23:36:02 BST