This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: pedantic error: incongruent exception specifications in TR1 <functional>


Hi,

The fix is either to remove the empty exception specification from
bits/functional_hash.h or to add it in all the right places to
tr1_impl/functional_hash.h.  Attached patch does the latter.

But I don't think it's ok, because the specialization taking a string by value can throw.


Paolo


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]