Build fail with MacOs (crashrep part)

Stephan Bergmann sbergman at
Mon Nov 3 00:46:05 PST 2014

On 10/31/2014 10:04 PM, julien2412 wrote:
> 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" );

Easiest "fix" would be to not bother with --enable-crashdump.

More information about the LibreOffice mailing list