[asterisk-dev] h323 compilation errors
Paul Cadach
paul at odt.east.telecom.kz
Fri May 19 06:56:56 MST 2006
Hi,
Kevin P. Fleming wrote:
> Wilmar Campos wrote:
>
> > ast_h323.cxx:1:1: warning: "_GNU_SOURCE" redefined
> > <command line>:4:1: warning: this is the location of the previous
> > definition
>
> Where does this say 'error'? This is a compiler warning. You can ignore it.
Probably there is an option to treat warnings as errors. The fix is easy - just
"comment out" definition of _GNU_SOURCE like:
#ifndef _GNU_SOURCE
#define _GNU_SOURCE
#endif
WBR,
Paul.
More information about the asterisk-dev
mailing list