win32 Stock ID error

On Thu, 2005-12-22 at 11:44 +0100, Matthias Langer wrote:
> By the way: There is still an outstanding answer from my side regarding
> stock icons in win32. I'll look after that as soon as there is at least
> one other reason for me to boot into windows. In my opinion the problem
> i'm talking about is a mingw bug, as i have experienced strange behavour
> with mingw-gcc-3.4 and enums. Not only one time i fixed my code for this
> compiler by switching from
> enum SomeEnum { OK, WARNING, ERROR };
> to
> enum SomeEnum { E_OK, E_WARNING, E_ERROR };
> while the same worked fine with gcc-3.4.

That seems worth investigating. Maybe the stock ID is #defined on
Windows to something else.

If so, maybe we can #undefine it, or #ifdef some code, with nice
explanatory comments in the code.

Murray Cumming
murrayc murrayc com

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