Mailinglist Archive: opensuse-packaging (284 mails)
< Previous | Next > |
Re: [opensuse-packaging] Need help with python module
- From: Philipp Thomas <pth@xxxxxxx>
- Date: Thu, 17 Feb 2011 13:24:03 +0100
- Message-id: <20110217122403.GJ13804@paradies.suse.de>
* Kyrill Detinov (lazy.kent@xxxxxxxxxxxx) [20110215 12:48]:
Something is wrong indeed, the question is where. If you add -save-temps to
the compiler flags you will see:
enum EDateFields {
ERA,
YEAR,
MONTH,
WEEK_OF_YEAR,
WEEK_OF_MONTH,
"Sep 03 2010", /* Should be DATE */
So what was supposed to be the name of an enum value gets expanded to a date
string and it's pyconfig.h from python2.7 that defines DATE as a string.
Undefining DATE in common.h before the inclusion of calendar.h fixes this.
There was also another bug in _icu.cpp that I fixed also. With these two
patches python-ICU builds for factory. I'v created a SR for this.
HTH
Philipp
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx
I see a lot of errors from /usr/include/unicode/calendar.h. Isn't there
anything wrong in libicu-devel-4.4.2? Or I missing something?
Something is wrong indeed, the question is where. If you add -save-temps to
the compiler flags you will see:
enum EDateFields {
ERA,
YEAR,
MONTH,
WEEK_OF_YEAR,
WEEK_OF_MONTH,
"Sep 03 2010", /* Should be DATE */
So what was supposed to be the name of an enum value gets expanded to a date
string and it's pyconfig.h from python2.7 that defines DATE as a string.
Undefining DATE in common.h before the inclusion of calendar.h fixes this.
There was also another bug in _icu.cpp that I fixed also. With these two
patches python-ICU builds for factory. I'v created a SR for this.
HTH
Philipp
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx
< Previous | Next > |