schrodinger / maeparser

maestro file parser
MIT License
23 stars 23 forks source link

Reduce compiler warnings #38

Closed ricrogz closed 5 years ago

ricrogz commented 5 years ago

This PR contains changes aimed at reducing the amount of compiler warnings generated at build.

Changes have been tested on different system configurations, including Mac, Linux and Windows. In all of these environments, compilation happens successfully, and no warnings are generated during compilation.

I also added a 'MAEPARSER_RIGUROUS_BUILD' macro which enables "/WX" on Windows and "-Wall -Wextra -Werror" on Linux and Mac. On the windows side, the level of warnings reporting is not increased (/W4 or /Wall) because in those cases the compiler starts reporting warnings in boost.

Changes: