Date: prev next · Thread: first prev next last
2014 Archives by date, by thread · List index


Hello,

On MacOs 10.9.5, I got this error when building master sources updated
yesterday:
lo/core/crashrep/source/unx/main.cxx:168:26: error: 'tmpnam' is deprecated:
This function is provided for compatibility reasons only.  Due to security
concerns inherent in the design of tmpnam(3), it is highly recommended that
you use mkstemp(3) instead. [-Werror,-Wdeprecated-declarations]
    FILE    *fp = fopen( tmpnam( g_szReportFile ), "w" );
                         ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/stdio.h:274:7:
note: 'tmpnam' has been explicitly marked deprecated here
char    *tmpnam(char *);
         ^
lo/core/crashrep/source/unx/main.cxx:236:26: error: 'tmpnam' is deprecated:
This function is provided for compatibility reasons only.  Due to security
concerns inherent in the design of tmpnam(3), it is highly recommended that
you use mkstemp(3) instead. [-Werror,-Wdeprecated-declarations]
    FILE    *fp = fopen( tmpnam( g_szDescriptionFile ), "w" );
                         ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/stdio.h:274:7:
note: 'tmpnam' has been explicitly marked deprecated here
char    *tmpnam(char *);
         ^
2 errors generated.
make[1]: *** [lo/core/workdir/CxxObject/crashrep/source/unx/main.o] Error 1

Here's my autogen.input:
--enable-64-bit
--enable-werror
--enable-debug
--enable-dbgutil
--enable-crashdump
--enable-dependency-tracking
--enable-online-update
--with-lang=ALL
--without-junit
--with-myspell-dicts

I gave a try for a fix (see https://gerrit.libreoffice.org/#/c/12066/) but
failed.

Hope someone could fix this.

Julien



--
View this message in context: 
http://nabble.documentfoundation.org/Build-fail-with-MacOs-crashrep-part-tp4127531.html
Sent from the Dev mailing list archive at Nabble.com.

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.