PhobosWatch: manifest => enum

Derek Parnell derek at psych.ward
Fri Dec 28 15:25:09 PST 2007


On Fri, 28 Dec 2007 22:56:27 +0000, Janice Caron wrote:

> On 12/28/07, Derek Parnell <derek at psych.ward> wrote:
>> In order to do that, won't the compiler need to have access to all the
>> source code for the application?
> 
> No.

Why not?

If what we are talking about is having the compiler detect if some code is
taking the address of a constant value, doesn't the compiler need to see
the code that does that? And if that code is in an object file and not a
source file, then how will the compiler find out that the address is being
taken?

-- 
Derek Parnell
Melbourne, Australia
skype: derek.j.parnell



More information about the Digitalmars-d mailing list