[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: RFC: mail/nail an MUA
- To: Christian Weisgerber <firstname.lastname@example.org>
- Subject: Re: RFC: mail/nail an MUA
- From: Srebrenko Sehic <email@example.com>
- Date: Mon, 22 Jul 2002 21:49:33 +0200
- Cc: firstname.lastname@example.org
- Content-Disposition: inline
- References: <3D3BFB0F.nail1OR2763U6@sdf.lonestar.org> <email@example.com>
- User-Agent: Mutt/1.4i
On Mon, Jul 22, 2002 at 07:27:20PM +0000, Christian Weisgerber wrote:
> > there are no compiler warnings using the default CFLAGS, but there
> > are some warnings if i add -Wall . i have a log of the build.
> > a few unused variables... also various warnings to the effect of
> > clobbered by `longjmp' or `vfork'... any recommendations???
> These can probably be ignored.
To quote style(9):
"When using longjmp() or vfork() in a program, the -W or -Wall flag
should be used to verify that that compiler does not generate warnings
such as warning: variable `foo' might be clobbered by `longjmp' or `vfork'.
If any warnings of this type occur you must apply the ``volatile''
specifier to the variable in question. Failure to do so may result in
improper code generation when optimization is enabled."
Hence, it could give some problems.