[asterisk-bugs] [Asterisk 0011301]: utils.h needs stdarg.h
noreply at bugs.digium.com
noreply at bugs.digium.com
Mon Nov 19 12:05:35 CST 2007
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=11301
======================================================================
Reported By: sperreault
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 11301
Category: Core-General
Reproducibility: always
Severity: tweak
Priority: normal
Status: new
Asterisk Version: SVN
SVN Branch (only for SVN checkouts, not tarball releases): trunk
SVN Revision (number only!): 89420
Disclaimer on File?: N/A
Request Review:
======================================================================
Date Submitted: 11-19-2007 10:36 CST
Last Modified: 11-19-2007 12:05 CST
======================================================================
Summary: utils.h needs stdarg.h
Description:
utils.h needs stdarg.h for "va_start".
Index: include/asterisk/utils.h
===================================================================
--- include/asterisk/utils.h (revision 89420)
+++ include/asterisk/utils.h (working copy)
@@ -26,6 +26,8 @@
#include "asterisk/network.h"
#include <limits.h>
+#include <stdarg.h>
#include <time.h> /* we want to override localtime_r */
#include "asterisk/lock.h"
======================================================================
----------------------------------------------------------------------
rizzo - 11-19-07 12:05
----------------------------------------------------------------------
as for the other report: you are not supposed to include
asterisk/foo.h before "asterisk.h", which contains already stdarg.h
You are right that the order of inclusion has not been documented in the
source tree yet, but it has been explained on the -dev list on messages to
which
you replied, so you cannot ignore it.
Issue History
Date Modified Username Field Change
======================================================================
11-19-07 12:05 rizzo Note Added: 0073971
======================================================================
More information about the asterisk-bugs
mailing list