OSX build failure on master in ucpp

Alexander Thurgood alex.thurgood at gmail.com
Wed Aug 21 01:45:30 PDT 2013


Hi all,

I'm using XCode 4.6.3 (4H1503) and have been experiencing the following
build failures in master in ucpp for the past fortnight or so :


[build UPK] 0168229624cfac409e766913506961a8-ucpp-1.3.2.tar.gz
[build CXX] registry/tools/fileurl.cxx
[build CXX] registry/tools/options.cxx
[build CUS] officecfg/registry
[build DEP] LNK:StaticLibrary/libfindsofficepath.a
[build LNK] StaticLibrary/libfindsofficepath.a
[build GPF] CustomTarget/vcl/generic/fontmanager/afm_hash.hpp
[build UPK] a2c10c04f396a9ce72894beb18b4e1f9-jpeg-8c.tar.gz
In file included from
/Users/Shared/Repos/LO/core/registry/tools/fileurl.hxx:23,
                 from
/Users/Shared/Repos/LO/core/registry/tools/fileurl.cxx:20:
/Users/Shared/Repos/LO/core/include/rtl/ustring.hxx:697: error: wrong
number of arguments specified for ‘deprecated’ attribute
make[1]: ***
[/Users/Shared/Repos/LO/core/workdir/unxmacxi.pro/CxxObject/registry/tools/fileurl.o]
Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [build] Error 2

My autogen.lastrun :

CC=clang -m64
--with-max-jobs=4
--with-num-cpus=2
--disable-ccache
--with-macosx-sdk=10.8
--enable-epm
--with-epm=internal
--disable-online-update
--without-doxygen
--with-system-openldap
--with-system-openssl
--enable-extra-gallery
--enable-extra-template
--enable-extra-sample
--enable-ext-diagram
--enable-ext-oooblogger
--enable-ext-google-docs
--enable-ext-nlpsolver
--enable-ext-watch-window
--enable-ext-wiki-publisher
--enable-ext-mariadb-connector

Note that even if I change to -m32, I get the same build failure at
exactly the same spot.

The failure point seems to be in this block :
#include "rtl/ustring.hxx"


    SAL_DEPRECATED(
        "replace s1.compareToAscii(s2, strlen(s2)) == 0 with
s1.startsWith(s2)")
    sal_Int32 compareToAscii( const sal_Char * asciiStr, sal_Int32
maxLength ) const SAL_THROW(())
    {
        return rtl_ustr_ascii_shortenedCompare_WithLength(
pData->buffer, pData->length,
                                                           asciiStr,
maxLength );
    }



Alex



More information about the LibreOffice mailing list