Treat linker warnings as errors with gcc.  Don't do this yet for Windows for the unusual (and inadvisable) case where people try to use a published debug library (leading to loads of warnings about missing debug info).