On Friday 25 November 2005 10:15, you wrote:
> Petr Mladek wrote:
> > On Thursday 24 November 2005 18:31, Petr Mladek wrote:
> >>On Thursday 24 November 2005 09:29, you wrote:
> >>>Dumped CWS sb40 and started from scratch on CWS sb41 (on SRC680m141).
> >>>The stuff is not yet final (some minor problems with unxsol and
> >>>wntmsci10 compilers), but you can already check it out and verify that
> >>>it works for GCC 4.1:
> >>
> >>I had to update comphelper/inc/comphelper/types.hxx to build the module
> >>comphelper. The patch is attached.
> >
> > Here are two more patches for:
> > bridges/inc/bridges/remote/marshal.hxx
> > bridges/inc/bridges/remote/unmarshal.hxx
>
> Thanks for the patches, I incorporated them into CWS sb41. I did not
> check all the upstream modules, so there might be a couple more cases
> where getCppuType has to be replaced...
Good news. I have compiled OOo with gcc-4.1. It seems to work. At least, I was
able to start the application, and write/save two simple documents in writer
and spreadsheet.
One more getCppuType-related patch was necessary to finish the build. It is
attached.
I saw that getCppuType is used more times over the sources. I am still not
sure when it should be substituted by ::cppu::getTypeFavourUnsigned and where
it should stay as is.
Another 90 files had to be patched to finish build with gcc-4.1. These are
another types of problems, so I'll create a separate CWS for them.
Note that I disabled binfilters for now. I expect that there will be more
problems in this big module. I do not know if there could be getCppuType
-related problems. I plan to enable binfilters this week again and will let
you know about the result. I also do not build some external code because we
use system libraries instead.
--
Best Regards,
Petr Mladek
software developer
---------------------------------------------------------------------
SuSE CR, s.r.o. e-mail: [EMAIL PROTECTED]
Drahobejlova 27 tel:+420 296 542 373
190 00 Praha 9 fax:+420 296 542 374
Czech Republic http://www.suse.cz/
--- comphelper/inc/comphelper/property.hxx.old 2005-09-08 04:35:26.000000000 +0200
+++ comphelper/inc/comphelper/property.hxx 2005-11-25 19:33:08.000000000 +0100
@@ -156,7 +156,7 @@
template <class ENUMTYPE>
sal_Bool tryPropertyValueEnum(staruno::Any& /*out*/_rConvertedValue, staruno::Any& /*out*/_rOldValue, const staruno::Any& _rValueToSet, const ENUMTYPE& _rCurrentValue)
{
- if (getCppuType(&_rCurrentValue).getTypeClass() != staruno::TypeClass_ENUM)
+ if (::cppu::getTypeFavourUnsigned(&_rCurrentValue).getTypeClass() != staruno::TypeClass_ENUM)
return tryPropertyValue(_rConvertedValue, _rOldValue, _rValueToSet, _rCurrentValue);
sal_Bool bModified(sal_False);
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]