The warning should be that you are using boost ;-)

On Tue, Mar 29, 2011 at 04:15:50PM +0100, Federico G. Schwindt wrote:
> 
>   Hi,
> 
>   This fixes the warning when -Wnon-virtual-dtor is used, which is quite
> annoying and might hide other crap.
>   Shouldn't break anything TBH but worth checking in a bulk.
>   Comments? Any OKs?
> 
>   f.-
> 
> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/devel/boost/Makefile,v
> retrieving revision 1.27
> diff -u -p -r1.27 Makefile
> --- Makefile  19 Sep 2010 20:09:41 -0000      1.27
> +++ Makefile  29 Mar 2011 15:12:22 -0000
> @@ -3,7 +3,7 @@
>  COMMENT=     free peer-reviewed portable C++ source libraries
>  
>  PKGNAME=     boost-${VERSION}
> -REVISION=    5
> +REVISION=    6
>  
>  VERSION=     1.42.0
>  DISTNAME=    boost_${VERSION:S/./_/g}
> Index: patches/patch-boost_exception_exception_hpp
> ===================================================================
> RCS file: patches/patch-boost_exception_exception_hpp
> diff -N patches/patch-boost_exception_exception_hpp
> --- /dev/null 1 Jan 1970 00:00:00 -0000
> +++ patches/patch-boost_exception_exception_hpp       29 Mar 2011 15:12:22 
> -0000
> @@ -0,0 +1,12 @@
> +$OpenBSD$
> +--- boost/exception/exception.hpp.orig       Tue Mar 29 11:54:43 2011
> ++++ boost/exception/exception.hpp    Tue Mar 29 11:54:45 2011
> +@@ -166,7 +166,7 @@ boost
> + 
> +             protected:
> + 
> +-            ~error_info_container() throw()
> ++            virtual ~error_info_container() throw()
> +                 {
> +                 }
> +             };
> 

Reply via email to