Compiling libwpd-0.8.9 with gcc-4.3.0 from portage gives following error: WPXHeader.cpp:60: error: 'strcmp' was not declared in this scope Reproducible: Always This patch solves the problem: diff -aur src/lib/WPXStream.h src.new/lib/WPXStream.h --- src/lib/WPXStream.h 2007-03-04 10:44:21.000000000 +0100 +++ src.new/lib/WPXStream.h 2008-03-29 11:14:45.000000000 +0100 @@ -25,6 +25,7 @@ #ifndef WPXSTREAM_H #define WPXSTREAM_H #include <stdio.h> +#include <cstring> #include "libwpd_types.h" enum WPX_SEEK_TYPE
what about 0.8.10 ?
Created attachment 148061 [details, diff] libwpd-0.8.10-gcc-4.3-fix.patch
Comment on attachment 148061 [details, diff] libwpd-0.8.10-gcc-4.3-fix.patch 0.8.10 needs a bigger patch.
please try 0.8.14, which compiled fine for me with gcc-4.3.0