On 29.08.2011 10:29, Stephan Bergmann wrote:
On Aug 29, 2011, at 9:36 AM, Mathias Bauer wrote:
On 29.08.2011 02:36, Eike Rathke wrote:
Hi Michael,

On Sunday, 2011-08-28 23:34:31 -0000, [email protected] wrote:

URL: http://svn.apache.org/viewvc?rev=1162610&view=rev
Log:
unotools: OOutputStreamWrapper:

  remove invocation of DECLARE_UNO3_AGG_DEFAULTS
  (symbols are somehow not exported with GCC 4.6, and it seems to be
  unnecessary)

The "somehow" may be related to the -fPIC vs -fpic I mentioned in an
earlier mail. Simply removing the DECLARE_UNO3_AGG_DEFAULTS(...) removes
forwarding of acquire() and release() calls to the baseclass, I don't
think that's correct. See comphelper/inc/comphelper/uno3.hxx

Is it wise to fix the code for gcc 4.6 *now*? Every fix might introduce new bugs and gcc 
4.6 is not the "standard" compiler nowadays (AFAIK).

I guess the best way to go about it would be to pick an environment where OOo's 
current OOO340 head is known to build fine and try building AOOo's trunk in 
that environment.  Don't modify too many parameters at once…  ;)

More or less that's my point, yes.

Regards,
Mathias

Reply via email to