-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

I would like to search your advice on my intention to make the "-Wall
- -Werror" default for libwpd build. Still with a possibility to switch
off -Werrror with a "--disable-werror" configure option.

The reason is following: OpenOffice.org is building since some times
with -Wall and -Werror and it is actually a useful thing to keep the
code as clean as possible and as portable as possible. Many times a
warning with a current version of compiler can be an error with the
following one (i.e. the extra qualification stuff with gcc-4.1).

For the while, libwpd is a module in OOo tree that has the -Werror
switched off. I did some work to remove as many warnings as possible and
the result is that the -Wall -Werror build is successful with the normal
production and debug build using gcc-4.1 on i386 and x86_64
architectures. I will still have to check with exotic compilers like Sun
Forte or the newest MSVC, but we should not be far from a completely
warning free build.

Leaving the "-Wall -Werror" as default could be beneficial, since we
would very quickly know about any warning that we might introduce during
our coding activities.

Your opinion is interesting me :-)

Cheers

Fridrich
- --
Please avoid sending me Word, Excel or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD4DBQFFVzdwu9a1imXPdA8RAqDLAJj2LpR+OzJ4e0xjOqkTBa1zOI4dAJ9aZvLM
ODJDgZoxyMsYsUKypUwU8w==
=g2Sv
-----END PGP SIGNATURE-----

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Libwpd-devel mailing list
Libwpd-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libwpd-devel

Reply via email to