Summary: | Compile error on Solaris 8 - indexlib (in several files) includes <stdint.h> that is not present. | ||
---|---|---|---|
Product: | [Unmaintained] indexlib | Reporter: | Steve Evans <stevee> |
Component: | general | Assignee: | Luís Pedro Coelho <luis> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version First Reported In: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Solaris | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Steve Evans
2005-10-21 17:27:42 UTC
Replace with <sys/types.h>. Most types are available using this POSIX (I think) header. Reassigning to the newly created indexlib product. SVN commit 476085 by luis_pedro: Include inttypes.h instead of stdint.h for portability (inttypes is reported to be more common although stdint is the official standard). CCMAIL: 114821-done@bugs.kde.org M +1 -1 bitio.h M +1 -1 bitstream.h M +1 -1 leafdata.h M +1 -1 pointer.h M +1 -1 thing.h --- branches/KDE/3.5/kdepim/indexlib/bitio.h #476084:476085 @@ -31,7 +31,7 @@ * your version. */ -#include <stdint.h> +#include <inttypes.h> #include "boost-compat/remove_cv.hpp" /** --- branches/KDE/3.5/kdepim/indexlib/bitstream.h #476084:476085 @@ -30,7 +30,7 @@ * your version. */ #include <vector> -#include <stdint.h> +#include <inttypes.h> struct bitstream { public: --- branches/KDE/3.5/kdepim/indexlib/leafdata.h #476084:476085 @@ -34,7 +34,7 @@ #include <iostream> #include <iterator> -#include <stdint.h> +#include <inttypes.h> #include "pointer.h" #include "memvector.h" #include "thing.h" --- branches/KDE/3.5/kdepim/indexlib/pointer.h #476084:476085 @@ -32,7 +32,7 @@ */ -#include <stdint.h> +#include <inttypes.h> #include <iostream> #include "boost-compat/static_assert.hpp" #ifdef HAVE_BOOST --- branches/KDE/3.5/kdepim/indexlib/thing.h #476084:476085 @@ -32,7 +32,7 @@ */ -#include <stdint.h> +#include <inttypes.h> #include "bitio.h" #include "pointer.h" |