boostorg / throw_exception

Common infrastructure for throwing exceptions
https://boost.org/libs/throw_exception
14 stars 46 forks source link

Fix MSVC C4668 warnings #7

Closed pkolbus closed 6 years ago

pkolbus commented 6 years ago

This PR fixes a couple of MSVC C4668 warnings:

...\boost\throw_exception.hpp(3) : warning C4668: 'GNUC' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
...\boost\throw_exception.hpp(3) : warning C4668: 'GNUC_MINOR' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
...\boost\exception\exception.hpp(8) : warning C4668: '
GNUC' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
...\boost\exception\exception.hpp(8) : warning C4668: '
GNUC_MINOR
' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'

pdimov commented 6 years ago

Please rebase against the current develop.

pdimov commented 6 years ago

Never mind.