Re: glib doesn't have gint*
- From: Raja R Harinath <harinath cs umn edu>
- To: Andrew Clausen <clausen alphalink com au>
- Cc: gnome-list <gnome-list gnome org>
- Subject: Re: glib doesn't have gint*
- Date: 03 Nov 1998 13:33:31 -600
Andrew Clausen <clausen@alphalink.com.au> writes:
> Anyway, I found that I had two copies of glibconfig.h:
>
> /usr/local/include/glibconfig.h
> /usr/local/lib/glib/include/glibconfig.h
>
> The first one was very old, and when a program did #include<glibconfig.h>, it
> picked up the first rather than the second. Is this a common problem?
It shouldn't be all that common. According to the ChangeLog,
`glibconfig.h' started appearing in $pkglibdir/include from Mar 14,
circa gtk+ 0.99.7. It predated the split of glib from gtk+.
Then, and till recently, the `glibconfig.h' that was installed was the
regular `config.h' generated by configure. Now `glibconfig.h' has some
pre-computed defines, and is totally different from the old one. In
particular, g[u]int{8,16,32,64} are `typedef'ed in glibconfig.h rather
than in glib.h.
That's why the old `glibconfig.h' created problems.
- Hari
--
Raja R Harinath ------------------------------ harinath@cs.umn.edu
"When all else fails, read the instructions." -- Cahn's Axiom
"Our policy is, when in doubt, do the right thing." -- Roy L Ash
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]