aMule Forum
English => Compilation problems => Topic started by: Stu Redman on May 31, 2009, 12:56:23 AM
-
This is another wx 2.9 problem. wx 2.9 defines HAVE_STRFTIME in wx/datetime.h , and aMule again in config.h.
Is there a way to exclude it from config.h, or #undef it at the beginning of config.h?
-
Although it is possible to undefine HAVE_STRFTIME in config.h, I'd better file a bug report for wx (I'm pretty sure aMule is not the only application having this problem).
It is never a good idea to define macros in a public header with the name of a well-known and widely used autoconf define.
-
Ok, done (http://trac.wxwidgets.org/ticket/10861).
-
It took 25min to get fixed. Vadim rocks. :D
-
True.