[Issue 249] New: circular typedef and alias bugs

Walter Bright newshound at digitalmars.com
Wed Jul 12 12:26:15 PDT 2006


Andrei Khropov wrote:
> I don't see a controversy here. Look at Microsoft C++ compilers: they display
> both an error ID and a sensible text message.

Displaying the ID pushes the useful part of the message off to the right 
where it wraps or you have to use the scroll bar.

Message IDs are useful for:

1) Memory is extremely tight, and you don't want to load the error 
messages into memory unless an actual error occurs.

2) You store the messages as a Windows 'resource', which was done 
because of (1).

3) You want to be able to ship the message file off to someone else who 
can translate them to foreign languages, so the application can be 
internationalized without changing the executable.

4) You're writing some automated error message parsing tool.

None of these are an issue for dmd right now. If they ever do become an 
issue, it can be changed.



More information about the Digitalmars-d-bugs mailing list