ftp://ftp.circlemud.org/pub/CircleMUD/cvs/981012-00.tar.gz (985,585 bytes) I need people with Microsoft Visual C++ (or Borland C) to download the above package and e-mail me (and only me) a complete list of warnings the source code produces while compiling. If you want to turn on full warnings for the packages, feel free to do so. Of course, run it once to make sure it boots too. If you'd like to include fixes to the warnings you send, all the better. I will _not_ accept a solution that includes casting because it will break on Solaris or anything else big endian. If enough people do this, we can make sure CircleMUD compiles with 0 warnings on all platforms I know of... Personally I compile with these warnings enabled: C format: -Wall -Wno-char-subscripts -Wbad-function-cast -Wcomment -Wformat -Wunused -Wimplicit-function-dec -Wimplicit-int -Wimport -Wmain -Wmissing-braces -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wparentheses -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wtrigraphs -pedantic -Waggregate-return -Wcast-align -Wimplicit -Winline -Wreturn-type -Wswitch -Wuninitialized -Werror Ones I know about but don't use in C (either not yet or never will): -Wcast-qual -Wshadow -Wconversion -Wredundant-decls -Wwrite-strings -Wtraditional -Wmultichar -Wunknown-pragmas -W C++ format: -Wall -Wno-char-subscripts -Wbad-function-cast -Wcomment -Wformat -Wunused -Wimplicit-function-dec -Wimplicit-int -Wimport -Wmain -Wmissing-braces -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wparentheses -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wtrigraphs -pedantic -Waggregate-return -Wcast-align -Wimplicit -Winline -Wreturn-type -Wswitch -Wuninitialized -Wreturn-type -Woverloaded-virtual -Wctor-dtor-privacy -Wsign-promo -Wextern-inline -Wreorder -Wsynth -Wpmf-conversions -Weffc++ -Werror [Yes, I know most of those are superfluous.] Ones I know about but don't use in C++: -Wold-style-cast [guess why] If you know of any other warnings that GCC can emit, let me know. I haven't searched the entire info page, just the man page and 'cc1 --help'. Thanks. -- George Greer, greerga@circlemud.org | Genius may have its limitations, but http://mouse.van.ml.org/ (mostly) | stupidity is not thus handicapped. http://www.van.ml.org/CircleMUD/ | -- Elbert Hubbard +------------------------------------------------------------+ | Ensure that you have read the CircleMUD Mailing List FAQ: | | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html | +------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/15/00 PST