Boost logo

Boost :

From: Kevlin Henney (kevlin_at_[hidden])
Date: 2000-12-10 18:36:56


In message <Pine.SOL.4.21.0012081510290.27107-100000_at_[hidden]>,
Lie-Quan Lee <llee1_at_[hidden]> writes
>So I compiled test files on my system (Sun Solaris2.7, KCC
>3.4g (KAI's C++ compiler.)
>
>On compiling lexical_cast_test.cpp, there is a warning message.
>
>"test.hpp", line 34: warning: exception specification for implicitly declared
> virtual function "test::failure::~failure" is incompatible with that
> of overridden function "std::exception::~exception"
> class failure : public std::exception

In this instance, the compiler's warning is incorrect and it's a
compiler 'feature' rather than a code 'feature' (see 15.4 para 13 in the
standard).

Kevlin
____________________________________________________________

  Kevlin Henney phone: +44 117 942 2990
  Curbralan Limited mobile: +44 7801 073 508
  mailto:kevlin_at_[hidden] fax: +44 870 052 2289
  http://www.curbralan.com
____________________________________________________________


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk