[Xcb] xcb does not compile on solaris 8
jamey at minilop.net
Mon Nov 5 12:43:25 PST 2007
-----BEGIN PGP SIGNED MESSAGE-----
Alan, how are people expected to get the stdint types on old versions of
On 10/4/07, Vincent Torri <vtorri at univ-evry.fr> wrote:
> if I'm not mistaken, using autoconf has been discussed previously, and
> the conclusion is that it is not a good idea : xcb.h is included by
> anyone who is using xcb. The problem is that that person has maybe not
> the macro we will use from autoconf already defined properly. That's
> why system macros have beens used.
> 1) creating an xcb.h.in
> inside it, we have something like:
> #include <@STDINT_H@>
> 2) checking in configure if stdint.h exists of not. If so, we set
> STDINT_H so stdint.h, otherwise we set it to inttypes.h. Then,
> AC_SUBST + adding xcb.h to output files of configure.
Yes, that's feasible, although it strikes me as icky. ;-) I don't have
any better ideas though.
> Problem : xcb generated from a platform might not work if it's copied
> to another platform.
In that case, you almost certainly have bigger problems than whether
your stdint header is named inttypes.h or stdint.h. I don't think this
is a problem.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
-----END PGP SIGNATURE-----
More information about the Xcb