Re: pango 1.0.2 fails configure under HP-UX 10.20



Atro Tossavainen <atossava cc helsinki fi> writes:

> This is with HP ANSI C:
> 
> B3899BA                       B.10.20.07     HP C/ANSI C Developer's Bundle for HP-UX 10.20 (S700) 
> 
> >From config.log:
> 
> configure:9791: checking for GLIB - version >= 2.0.0
> configure:9907: cc -o conftest -L/afs/bi/p/lib -Wl,+b,/afs/bi/p/lib -I/afs/bi/v/@sys/gnu/glib/2.0.1/include/glib-2.0 -I/afs/bi/v/@sys/gnu/glib/2.0.1/lib/glib-2.0/include   -Aa -I/afs/bi/p/include  conftest.c    -Wl,-E -L/afs/bi/v/@sys/gnu/glib/2.0.1/lib -lgobject-2.0 -lgmodule-2.0 -ldld -lglib-2.0 -lintl  >&5
> cpp: "gmessages.h", line 115: error 4060: Bad macro parameter.
> cpp: "gmessages.h", line 118: error 4060: Bad macro parameter.
> cpp: "gmessages.h", line 121: error 4060: Bad macro parameter.
> cpp: "gmessages.h", line 124: error 4060: Bad macro parameter.
> 
> The relevant sections in gmessages.h (from glib 2.0.1):
> 
> #ifdef G_HAVE_ISO_VARARGS
> #define g_error(...)    g_log (G_LOG_DOMAIN,         \
>                                G_LOG_LEVEL_ERROR,    \
>                                __VA_ARGS__)
> 
> and so on.
> 
> The problem goes away with the use of gcc.

It's best to file bug reports in bugzilla.gnome.org as well,
or problems have a way of getting forgotten.

 A) Is G_HAVE_ISO_VARARGS defined in configure.in?

 B) Can you figure out why it is getting defined
    since you apparently don't have C99 varargs?

Thanks,
                                        Owen



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]