[ros-dev] [ros-diffs] [cfinck] 28423:-Alwaysinclude"wine/unicode.h" before all other headers, when we need the wchar_t type. unicode.h includes windef.h, which includes winnt.h, which has the handling for the wchar_t type. As it's the firstinc
Colin Finck
mail at colinfinck.de
Tue Aug 21 18:22:54 CEST 2007
> Magnus Olsen wrote:
> wine / uncode header can be remove any time.
I moved Wine's "unicode.h" header up, because it includes "windef.h".
The fix doesn't depend on Wine's "unicode.h".
I could have also just added an "#include <windef.h>" line before "ctype.h"
is included. I moved the inclusion of "unicode.h" up, because it was the
simpler solution in my opinion.
Regards,
Colin
More information about the Ros-dev
mailing list