[DGD] Re: Problem recompiling dgd

Felix A. Croes felix at dworkin.nl
Wed Dec 31 18:16:02 CET 1997


> I managed to get it compiled again by ignoring you're first advise about
> #define frame iframe in the host.h file.
>
> I just renamed all references to frame in the windgd.cpp to iframe and voila
> it compiled again. I missed the fact that the frame-> used in the
> add_message was the same as the others in windgd.cpp. I thought that it was
> the one defined as a typedef in config.h or somewhere around there.
>
> It seemed like vc wasn't pulluting after all, but it was a guy named felix
> *grin* (couldn't resist!)

Nope; apparently it was Visual C++ suddenly deciding to mix up the scope
of identifier names with that of typedef names.  ANSI C doesn't allow this;
expect another service pack.

My suspicion about Microsoft's enchroachment on the namespace was quite
reasonable, considering your report and the fact that they have done this
before.

Dworkin



More information about the DGD mailing list