[Pacemaker] Why are fatal warnings enabled by default?

Dejan Muhamedagic dejanmm at fastmail.fm
Wed Oct 21 08:59:44 EDT 2009


Hi,

On Wed, Oct 21, 2009 at 02:36:30PM +0200, Dejan Muhamedagic wrote:
[...]
> 
> > IPv6addr.c:438: warning: function call has aggregate value
> 
> That function (libnet_name2addr6) indeed returns a struct and
> this is going to happen with -Waggregate-return since not all
> compilers support such function calls. Don't know what to do
> about this one.

Removed -Waggregate-return. This won't have any ill effect when
compiling with gcc. Don't know about other compilers.

Thanks,

Dejan




More information about the Pacemaker mailing list