[sword-devel] configure.ac defaults
dmsmith at crosswire.org
Mon Dec 7 06:13:26 MST 2009
As a SWORD utility developer and minor contributor elsewhere in the SWORD code, I wouldn't be bothered by having the deepest set of messages coming from the compile. I think they are invaluable in finding/fixing bugs and potential bugs as well as identifying better practices.
But because platforms differ, I think it would be important to have a stated reference platform (a particular version of a linux distribution) on which the compile is clean, producing no messages. That way we can load up a VM with that platform to do our development work on the SWORD engine. Turning on a flag in a checked in configuration should only happen when all its complaints have been addressed.
If someone can explain how to run configure with the appropriate flags for such messaging, I'd be glad to cleanup the utilities (not right now, but next after the module I'm working on.) Having the instructions in our README (or elsewhere) would be good, too.
Having the flags for deepest messaging be default for general distribution is probably not a good idea.
On Dec 7, 2009, at 7:54 AM, Matthew Talbert wrote:
> As Jonathan says above, -Wall and -Werror should be enabled for
> non-debug builds as well. Although current packages in most distros
> are currently exempt from conforming to some standards, it wouldn't
> surprise me at all if these standards were made retroactive to
> existing packages at some point. Just changing our name from
> Gnomesword to Xiphos caused us to undergo more strict rules for
> Fedora, as Karl has mentioned.
> gcc/g++ has gotten quite a bit more strict by default with 4.4. In
> general, the trend in g++ and in the distros is to be more strict.
> Delaying changes now because they seem unreasonable only seems to be
> delaying the inevitable. Although there haven't been any problems in
> this regard that I know of, I know that other compilers are often more
> strict than gcc is. I found this out when attempting to compile Xiphos
> with Visual Studio....
> sword-devel mailing list: sword-devel at crosswire.org
> Instructions to unsubscribe/change your settings at above page
More information about the sword-devel