[Libreoffice] [FIXED]Fix build with gcc 4.5

Caolán McNamara caolanm at redhat.com
Thu Sep 22 12:10:16 PDT 2011


On Thu, 2011-09-22 at 23:00 +0400, Ivan Timofeev wrote:
> Hello! I'm using gcc-4.5 and I've just got the following error while
> compiling LibreOffice:
> 
> #pragma GCC diagnostic not allowed inside functions
> 
> The cause of error located in sal/inc/sal/types.h, line 469. It must
> have "__GNUC_MINOR__ >= 6"

Bah, thought it was 4.5, thanks.

C.



More information about the LibreOffice mailing list