S_NORMAL

Recently, I met a problem when define S_NORMAL as a enumeration value. The compiler report lots of strange errors.

Then I did some experiments, both with GCC and VC(without Windows libs), and found that the S_NORMAL is defined in WinBase.h as a macro. I think this is the problem.

posted @ 2010-11-24 09:52  Aldrich  阅读(130)  评论(0编辑  收藏  举报