[sword-devel] -Wall -Werror revisited

Dmitrijs Ledkovs dmitrij.ledkov at gmail.com
Sun Jan 10 16:37:01 MST 2010


Hello all

Applying first patch. Do clean rebuild:

$ ./autogen.sh && ./configure --enable-debug && make clean && make
distclean && make -j5

Notice that the build fails. I believe those two lines in configure.ac
that touch user variables are somehow significant to FLAGS processing.
(No clue/wildguess, in debian package build we pass -Wall -Werror
flags multiple times which gets through this barrier somehow, making
our builds fail straight away)

Apply second patch, to pass even more -Wall -Werror (for the cc
compiles as well).

Apply third patch and notice that you can do a clean rebuild and not
have any warnings at all.

Please apply these patches to trunk.

ps third patch is the jmarsden's warnings patch updated against trunk

-- 
With best regards


Dmitrijs Ledkovs (for short Dima),
Ледков Дмитрий Юрьевич

()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 01-flag-parse-error.patch
Type: text/x-patch
Size: 382 bytes
Desc: not available
URL: <http://www.crosswire.org/pipermail/sword-devel/attachments/20100111/9c68644f/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 02-more-cflags.patch
Type: text/x-patch
Size: 431 bytes
Desc: not available
URL: <http://www.crosswire.org/pipermail/sword-devel/attachments/20100111/9c68644f/attachment-0004.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 03-all-fixed.patch
Type: text/x-patch
Size: 37651 bytes
Desc: not available
URL: <http://www.crosswire.org/pipermail/sword-devel/attachments/20100111/9c68644f/attachment-0005.bin>


More information about the sword-devel mailing list