Backport next gcc 4.6 issues

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@37633 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Pavel Sanda 2011-02-13 10:07:25 +00:00
parent 541606c24f
commit 19fb4db08a
3 changed files with 3 additions and 1 deletions

View File

@ -77,7 +77,7 @@ static ParamInfo const & findInfo(InsetCode code, string const & cmdName)
default: default:
LASSERT(false, /**/); LASSERT(false, /**/);
} }
static const ParamInfo pi; static ParamInfo pi;
return pi; // to silence the warning return pi; // to silence the warning
} }

View File

@ -20,6 +20,7 @@
#include "support/strfwd.h" #include "support/strfwd.h"
#include <cstddef>
#include <vector> #include <vector>

View File

@ -29,6 +29,7 @@
// *** Required Headers from the STL // *** Required Headers from the STL
#include <algorithm> #include <algorithm>
#include <cstddef>
#include <functional> #include <functional>
#include <istream> #include <istream>
#include <ostream> #include <ostream>