Re: [Libreoffice] build failed in lingucomponent on Mac

2011-12-14 Thread Tor Lillqvist
> .mm files are objective-C specific header files. I would convert them to c++ Er, no. .mm is the conventional extension for Objective-C++ source files. (Plain Objective-C files have the conventional extension .m, and Objective-C headers the extension .h.) This is documented in "man gcc" even, at

Re: [Libreoffice] build failed in lingucomponent on Mac

2011-12-14 Thread Jonathan Aquilina
On 14/12/2011 16:32, Matúš Kukan wrote: On 14 December 2011 15:47, Norbert Thiebaud wrote: On Wed, Dec 14, 2011 at 6:23 AM, Matúš Kukan wrote: On 13 December 2011 21:38, Michael Stahl wrote: wouldn't it be better to simply use gb_Library_add_objcxxobjects instead? Well, gb_ObjCxxObject_get

Re: [Libreoffice] build failed in lingucomponent on Mac

2011-12-14 Thread Matúš Kukan
On 14 December 2011 15:47, Norbert Thiebaud wrote: > On Wed, Dec 14, 2011 at 6:23 AM, Matúš Kukan wrote: >> On 13 December 2011 21:38, Michael Stahl wrote: >>> wouldn't it be better to simply use gb_Library_add_objcxxobjects instead? >> >> Well, gb_ObjCxxObject_get_source are .mm files and not .

Re: [Libreoffice] build failed in lingucomponent on Mac

2011-12-14 Thread Norbert Thiebaud
On Wed, Dec 14, 2011 at 6:23 AM, Matúš Kukan wrote: > On 13 December 2011 21:38, Michael Stahl wrote: >> wouldn't it be better to simply use gb_Library_add_objcxxobjects instead? > > Well, gb_ObjCxxObject_get_source are .mm files and not .cxx so that's > not possible. so maybe the file should re

Re: [Libreoffice] build failed in lingucomponent on Mac

2011-12-14 Thread Matúš Kukan
On 13 December 2011 21:38, Michael Stahl wrote: > wouldn't it be better to simply use gb_Library_add_objcxxobjects instead? Well, gb_ObjCxxObject_get_source are .mm files and not .cxx so that's not possible. > can you try if that works? I tried to push the change and had to revert, sorry for th

Re: [Libreoffice] build failed in lingucomponent on Mac

2011-12-13 Thread Michael Stahl
On 13/12/11 19:33, Matúš Kukan wrote: > Hi, > > I have gbuildified lingucomponent, unfortunately it did not build on Mac. > Attached patch could help. +$(eval $(call gb_Library_add_cxxflags,MacOSXSpell,\ + $(gb_LinkTarget_OBJCXXFLAGS) \ +)) wouldn't it be better to simply use gb_Library_ad

Re: [Libreoffice] build failed in lingucomponent on Mac

2011-12-13 Thread Norbert Thiebaud
On Tue, Dec 13, 2011 at 12:33 PM, Matúš Kukan wrote: > Hi, > > I have gbuildified lingucomponent, unfortunately it did not build on Mac. > Attached patch could help. pushed... seems to work... definitive confirmation after the next build iteration... Norbert _

[Libreoffice] build failed in lingucomponent on Mac

2011-12-13 Thread Matúš Kukan
Hi, I have gbuildified lingucomponent, unfortunately it did not build on Mac. Attached patch could help. And I guess it is also broken on Windows but probably nobody builds master on Windows now. Matus From facc7383b986d3453da2ccebd6f441b843f39fe0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C3=