gnu-arch-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnu-arch-users] Nit


From: Neal D. Becker
Subject: Re: [Gnu-arch-users] Nit
Date: Wed, 22 Oct 2003 15:31:11 -0400
User-agent: KMail/1.5.4

On Wednesday 22 October 2003 02:58 pm, Tom Lord wrote:
[...]
> That's why I think that the address of a string constant works out
> better than densely-packed integers:  the linker will give each error
> (represented as a string constant) it's own address (in each
> executable or process).
>

I designed exactly the same system (for plain old C) about 1000 years ago.  
Worked great!  You get unique error codes, plus you can easily print the 
message that goes with it.

IIRC, this was inspired by VMS.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]