how to detect compiler warning
Miklos Vajna
vmiklos at collabora.co.uk
Fri Jan 31 01:05:55 PST 2014
Hi Winfried,
On Fri, Jan 31, 2014 at 08:12:54AM +0100, Winfried Donkers <W.Donkers at dci-electronics.nl> wrote:
> Did you find a situation where fLastPos would be without valid value, or is just to get rid of the warning?
> In the latter case, how do you find this warning in the long, long list of make output? If I know how too, I may be able to catch these warnings before submitting patches :)
Just use:
./autogen.sh --enable-werror
and then any warning from your compiler will fail your build, making
sure you don't introduce new warnings without noticing them.
Miklos
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20140131/97e5a6cc/attachment.pgp>
More information about the LibreOffice
mailing list