Build fail with MacOs (crashrep part)
julien2412
serval2412 at yahoo.fr
Fri Oct 31 14:04:25 PDT 2014
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.
More information about the LibreOffice
mailing list