Check if compiler supports Weffec++ and if so use it (fixes
compilation issue with e.g. SunStudio compiler)
Authored by: macbishop 2011-03-15
Parent: [e2eb7b]
Child: [cbc24a]