Message-ID: Date: Tue, 5 Jan 1999 20:29:27 +0000 To: Andris Pavenis Cc: djgpp AT delorie DOT com From: Shawn Hargreaves Subject: Re: Announce: Allegro 3.1 In-Reply-To: MIME-Version: 1.0 X-Mailer: Turnpike (32) Version 3.05 Reply-To: djgpp AT delorie DOT com Andris Pavenis writes: >Tried to build with egcs-1.1.1. There were following problems: >- huge number of warnings about missing initialisation of structure >members (more than 700). I had to remove -Werror to be able to compile >allegro at all. Argh, this is bad news! I presume that the same thing would also happen with Allegro 3.0, though? I can't think of any 3.1 changes that would only recently have introduced this error... I suppose I could try to fix the code to remove all such complaints, but there are a lot of them: I use partial structure initialisations very heavily, and I've never thought of this as being a risky thing to do, so I sort of resent the idea that a compiler would complain about it :-) Do you happen to know which warning option would turn off these complaints? Also, if this isn't a standard gcc switch, is there any reliable way to autodetect whether egcs is in use, so that the makefile could do this automatically? Ok, so this is directed at the people who maintain gcc rather than anyone on this list, but it is something that really annoys me: why can't they leave the warning options alone between compiler versions? By all means add new warning switches that can be optionally enabled, but for anyone who maintains and distributes large source packages, it is very irritating when different compilers will complain about a different range of things (some of which are really anal and IMHO not actual errors at all). It is a particular nuisance when, as with some of the PGCC complaints, the option to disable the warning in one compiler version is itself not recognised by other versions... -- Shawn Hargreaves - shawn AT talula DOT demon DOT co DOT uk - http://www.talula.demon.co.uk/ "Without music to decorate it, time is just a bunch of boring production deadlines or dates by which bills must be paid." - Frank Zappa