Opened 12 years ago

Closed 11 years ago

#4364 closed Patches (fixed)

boost/mpl warning cleanup

Reported by: tatu.kilappa@… Owned by: Aleksey Gurtovoy
Milestone: Boost 1.44.0 Component: mpl
Version: Boost Development Trunk Severity: Cosmetic
Keywords: warning Cc:

Description

Some definitions in boost/mpl/has_xxx.hpp are defined to 1 on conditions, but never defined to 0. This causes warnings when they're later checked as truth values instead of defined().

Attached patch defines them as 0 if the workaround does not match. Another approach would be to use #if defined() later, this is probably better.

Attachments (1)

boost_mpl_gcc_warning_cleanup.diff (1.3 KB ) - added by tatu.kilappa@… 12 years ago.
fix for boost/mpl/has_xxx.hpp

Download all attachments as: .zip

Change History (2)

by tatu.kilappa@…, 12 years ago

fix for boost/mpl/has_xxx.hpp

comment:1 by Joel Falcou, 11 years ago

Resolution: fixed
Status: newclosed

Fixed in revison 72020

Note: See TracTickets for help on using tickets.