master build broken on macOS due to Firebird update

Patrick Luby plubius at libreoffice.org
Sat Jan 6 15:20:31 UTC 2024


All,

I am not sure how this update built successfully on macOS on Jenkins, 
but the Firebird update is filled with hundreds of sprintf calls like 
the following. Xcode has marked sprintf as deprecated since a couple of 
versions ago:

/Volumes/LOBuilds/lode/dev/core/workdir/UnpackedTarball/firebird/temp/Debug/isql/show.cpp:6986:5: 
warning: 'sprintf' is deprecated: This function is provided for 
compatibility reasons only.  Due to security concerns inherent in the 
design of sprintf(3), it is highly recommended that you use snprintf(3) 
instead. [-Wdeprecated-declarations]
                                 sprintf(info, "Number of DB pages free 
= %" SQUADFORMAT"%s", value_out, separator);

So how do we suppress these "en masse" when doing debug builds?

Thanks,

Patrick


More information about the LibreOffice mailing list