[2.8.4 latest version] Including/compiling wxchar.h
H
H at h.com
Sat Jun 30 06:54:36 PDT 2007
When including wxchar.h in my own code on MAC OS X I get the following
error message:
/Users/Hartwig/Documents/C++-Programme/PublicLibs/UILibs/wxWidgets/wxMac-
2.8.4/include/wx/wxchar.h:988: error: expected initializer before
'ATTRIBUTE_PRINTF_3'
This is the critical code in wxchar.h:
#ifndef wxSnprintf_
/* no snprintf(), cook our own */
WXDLLIMPEXP_BASE int
wxSnprintf_(wxChar *buf, size_t len, const wxChar *format, ...)
ATTRIBUTE_PRINTF_3;
#endif
As I do not get any error compiling the widget library I think that
somehow a compile parameter is wrong.
Does somebody know what might have gone wrong?
Hartwig
More information about the wx-users
mailing list