[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    kdegraphics calling AC_SYS_LARGEFILE instead of KDE_CHECK_LARGEFILE
From:       Albert Chin <kde-devel () mlists ! thewrittenword ! com>
Date:       2006-01-26 18:51:00
Message-ID: 20060126185100.GA69005 () mail1 ! thewrittenword ! com
[Download RAW message or body]

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 <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic