Why does kdegraphics call AC_SYS_LARGEFILE in kpdf/configure.in.in
rather than KDE_CHECK_LARGEFILE like in kdenetwork/configure.in.in and
kdepim/configure.in.in?

On Solaris, this causes a number of compiler warnings because config.h
is included too late:
In file included from ksnapshot.cpp:53:
../config.h:307:1: warning: "_FILE_OFFSET_BITS" redefined
In file included from /usr/include/iso/string_iso.h:30,
from /usr/include/string.h:18,
from /opt/TWWfsw/libqt33/include/gcc34/qcstring.h:46,
from /opt/TWWfsw/libqt33/include/gcc34/qstring.h:42,
from /opt/TWWfsw/kde34/include/klocale.h:25,
from ksnapshot.cpp:13:

When AC_SYS_LARGEFILE is used, config.h must _always_ be included
first. Seems KDE_CHECK_LARGEFILE works around this by forcing the LFS
defines in CPPFLAGS.

--
albert chin (china@thewrittenword.com)

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<