boostorg / bind

Boost.org bind module
http://boost.org/libs/bind
27 stars 49 forks source link

bind: silence warning with gcc #2

Closed timblechmann closed 10 years ago

timblechmann commented 10 years ago

workaround for https://svn.boost.org/trac/boost/ticket/8971

pdimov commented 10 years ago

Isn't this likely to produce a diagnostic on all g++ versions that don't yet support the pragma?

timblechmann commented 10 years ago

good point! updated the PR

pdimov commented 10 years ago

The check as written will disable it for 4.7.0 and enable it for 4.7.1, if I'm not mistaken. Is this what we want? Did the warning appear in 4.7.1? I'd have expected either >= 40700 or >= 40800, but I'm not entirely sure.

timblechmann commented 10 years ago

true again ... should have been >=