Compiling with clang 3.7: breaks in 'external/libwpd'

Giuseppe Castagno giuseppe.castagno at acca-esse.eu
Mon Oct 12 01:14:41 PDT 2015


On 10/12/2015 09:34 AM, Miklos Vajna wrote:
> Hi,
>
> On Sat, Oct 10, 2015 at 11:42:23AM +0200, Giuseppe Castagno <giuseppe.castagno at acca-esse.eu> wrote:
>> Making all in lib
>>    CXX      libwpd_internal.lo
>> clang: error: argument unused during compilation: '-I .'
>> clang: error: argument unused during compilation: '-I ../..'
>> clang: error: argument unused during compilation: '-I ../../inc'
>> clang: error: argument unused during compilation: '-I
>
> Did you read
> <https://wiki.documentfoundation.org/Development/Building_LibreOffice_with_Clang>?
> IIRC this error happens if you use ccache and you don't set CCACHE_CPP2.

I set it, the first two lines of my configure script helper look like:

export CCACHE_CPP2=1
./autogen.sh CC=clang CXX=clang++ \

Thanks.

-- 
Kind Regards,
Giuseppe Castagno aka beppec56
Acca Esse http://www.acca-esse.eu
giuseppe.castagno at acca-esse.eu


More information about the LibreOffice mailing list