Andrew Hood wrote:

I went through the entire source over the weekend with CFLAGS containing
"-Wuninitialized -W -Wall -Werror" ( I normally only use -Wuninitialized ).

I've been using -Wall (not -Wextra aka -W) for quite a while now. In fact, that was one of the major reasons to recode a lot of the funny casts in the interpreter. I think it's actually clean now, for gcc anyway. The unused parameter can be noisy, because of callback functions that all share a similar prototype.

Trying to compile warning clean may cause some problems. The code required that compiles warning-clean across multiple compilers that have different ideas of what's good and bad, can produce some really contorted code! I tend to think it's better to standardize on one compiler to be clean on, and gcc is a clear winner here because that's what most people will see.

--
NEdit Develop mailing list - [email protected]
http://www.nedit.org/mailman/listinfo/develop

Reply via email to