From 370934a1ef62d46bfacdeeb15b278f5fba0b52bf Mon Sep 17 00:00:00 2001 From: mat007 Date: Tue, 24 Jul 2012 07:08:09 +0000 Subject: [PATCH] Fixed boost documentation git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@528 860be788-9bd5-4423-9f1e-828f051e677b --- build/boost/doc/mock.qbk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build/boost/doc/mock.qbk b/build/boost/doc/mock.qbk index 1daf1d1..e90666c 100644 --- a/build/boost/doc/mock.qbk +++ b/build/boost/doc/mock.qbk @@ -887,7 +887,9 @@ The extra features provided by MOCK_BASE_CLASS are not usable with template base Example : +''' warning C4505: 'base::[thunk]: __thiscall base::`vcall'{0,{flat}}' }'' : unreferenced local function has been removed +''' This seems to be a random bug with some versions of the Microsoft Visual Studio compiler, see https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=324427 @@ -901,7 +903,9 @@ The only known workaround is to disable the warning with a pragma : Example : +''' warning C4301: '`anonymous-namespace'::base::method': overriding virtual function only differs from '`anonymous-namespace'::base::method' by const/volatile qualifier +''' The following code produces this warning with some versions of the Microsoft Visual Studio compiler :