DragonFly users List (threaded) for 2007-04
DragonFly BSD
DragonFly users List (threaded) for 2007-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

va_copy() needs sys/cdefs.h?


From: Klaus Heinz <k.heinz.apr.sieben@xxxxxxxx>
Date: Sun, 22 Apr 2007 14:56:33 +0200

Hi,

I am working on a package and the configure stage (running on Dragonfly
1.4.0 in a qemu VM) does not detect a working va_copy() although the
test includes stdarg.h. A closer inspection revealed that va_copy()
depends on __ISO_C_VISIBLE being defined and this happens for me only if
I include sys/cdefs.h as well.
On NetBSD, this is not needed.

Is this the correct behaviour and should such a patch be fed back to the
software's authors?

ciao
     Klaus



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