Re: "undef. ref. to __va_copy"??



Dean Elhard wrote:

> The __va_copy reference comes from the egcs vararg.h header.  You are
> getting it because the glib RPM you installed was compiled with egcs
> and so, when the /usr/lib/glib/include/glibconfig.h was created, it
> included the line
> 	#define G_VA_COPY	__va_copy
> because __va_copy was the correct configuration parameter on that
> machine.

You mean that glib is compiler dependant? Just like C++ libraries?
Why doesn't it just #include <varargs.h> if it exists on a given
platform?

-- 
 .-.   .-.    Life is a sexually transmitted disease.
(_  \ /  _)
     |        dave@srce.hr
     |        dave@fly.cc.fer.hr



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