[Linux-ha-dev] Do we need ccdv?

Dejan Muhamedagic dejanmm at fastmail.fm
Tue Feb 26 16:21:23 MST 2008


Hi,

On Tue, Feb 26, 2008 at 09:10:18PM +0100, Lars Marowsky-Bree wrote:
> On 2008-02-26T11:19:36, Dejan Muhamedagic <dejanmm at fastmail.fm> wrote:
> 
> > Don't know. ccdv is apparently a tool to help with reading
> > compiler output. I've never used it. 
> 
> It pretties the compiler output. Try it with --enable-pretty=yes ;-)
> 
> 
> The error looks like a compiler issue, explicitly casting the exit code
> to void should be sufficient to surpress the warning.

There's a feature, I guess gcc specific, with which one can mark
a function. It's called warn_unused_result. With that attribute
it's not possible to use the cast anymore to supress warnings.

Thanks,

Dejan

> 
> -- 
> Teamlead Kernel, SuSE Labs, Research and Development
> SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG N?rnberg)
> "Experience is the name everyone gives to their mistakes." -- Oscar Wilde
> 
> _______________________________________________________
> Linux-HA-Dev: Linux-HA-Dev at lists.linux-ha.org
> http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
> Home Page: http://linux-ha.org/


More information about the Linux-HA-Dev mailing list