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

List:       kde-bugs-dist
Subject:    [Bug 65232] KMail from kdepim-3.2.0-alpha2 fails to compile on
From:       Torsten Kasch <tk () Genetik ! Uni-Bielefeld ! DE>
Date:       2003-09-30 12:09:40
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
     
http://bugs.kde.org/show_bug.cgi?id=65232     




------- Additional Comments From tk@Genetik.Uni-Bielefeld.DE  2003-09-30 14:09 -------
Created an attachment (id=2648)
 --> (http://bugs.kde.org/attachment.cgi?id=2648&action=view)
patch for kdepim/kmail/kmmsgbase.cpp

According to swab(2) (if you neglect the obvious mistake in there ;-) there are
two variants of the swab() function:

SYNOPSIS
  Default
     #include <stdlib.h>

     void swab(const void *src, char *dest, ssize_t nbytes);

  XPG4, SUS, SUSv2
     #include <unistd.h>

     void swab(const void *src, void *dest, ssize_t nbytes);

The latter one is only available when _XOPEN_SOURCE is #defined and if
_XOPEN_VERSION - 0 >= 4. Since I'm not sure about the implications of defining
these symbols, the attached patch introduces an appropriate cast for the first
one (which takes "char *" as arguments).
[prev in list] [next in list] [prev in thread] [next in thread] 

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