[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-ha-dev
Subject:    Re: [Linux-ha-dev] Do we need ccdv?
From:       Dejan Muhamedagic <dejanmm () fastmail ! fm>
Date:       2008-02-26 23:21:23
Message-ID: 20080226232122.GB11235 () rondo ! homenet
[Download RAW message or body]

Hi,

On Tue, Feb 26, 2008 at 09:10:18PM +0100, Lars Marowsky-Bree wrote:
> On 2008-02-26T11:19:36, Dejan Muhamedagic <dejanmm@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@lists.linux-ha.org
> http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
> Home Page: http://linux-ha.org/
_______________________________________________________
Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic