On Wednesday 16 November 2005 09:10, Stephan Bergmann wrote:
> Petr Mladek wrote:
> >>However, note that I did not tell the whole story:  :)
> >>getCppuType<T> is currently defined in Type.hxx as calling
> >>getCppuType(static_cast<T*>(0)), so it has exactly the same problem as
> >>Any::operator<<=() (i.e., it does not work for a named UNO type if the
> >>header for that type is only included after Type.hxx).  My solution
> >>would include adding explicit specializations of getCppuType<T> to all
> >>the generated header files.
> >>
> >>In light of that, I am not sure whether Petr's solution (of which I had
> >>not thought yet) is not the more elegant one.
>
> ...which is broken logic:  getCppuType<T> needs to be fixed too, anyway.
>
> > I could prepare patches, test it, ...  The only problem is that any of
> > the solutions would need many changes, so I would like to prepare a
> > solution that is acceptable for you :-)
>
> I think I will set up a CWS in which I change the definitions and uses
> of getCppuType accordingly (note this includes fixing cppumaker)
> sometime in the next couple weeks.  Does that meet your needs?

Ah, we are already using gcc-4.1-pre to produce alfa versions of our upcoming 
products. We would need a usable fix as soon as possible, preferably during 
next two weeks.

I understand that you want to finish some other tasks before you start working 
on this huge change.

I think about a solution that would be acceptable for both of us.

Is the main problem to design the new solution? Would you like to have more 
time to think about the changes?

Or is the main problem to do the dirty work (hack so many sources, check and 
test the changes)? I could do the dirty work if you describe the necessary 
changes or if you give me some more hints about the necessary changes at 
least.


-- 
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/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to