fixes to silence gcc warnings

This commit is contained in:
jez_higgins 2005-08-07 20:16:02 +00:00
parent adbe375297
commit b515ec10a7
8 changed files with 85 additions and 1 deletions

View file

@ -69,6 +69,8 @@ template<class stringT>
class NamedNodeMap_impl
{
public:
virtual ~NamedNodeMap_impl() { }
///////////////////////////////////////////////////////
// Ref counting
virtual void addRef() = 0;

View file

@ -48,6 +48,8 @@ template<class stringT>
class NodeList_impl
{
public:
virtual ~NodeList_impl() { }
///////////////////////////////////////////////////////
// Ref counting
virtual void addRef() = 0;

View file

@ -448,15 +448,84 @@
<Filter
Name="XPath"
Filter="">
<File
RelativePath="..\XPath\impl\xpath_arithmetic.hpp">
</File>
<File
RelativePath="..\XPath\impl\xpath_ast.hpp">
</File>
<File
RelativePath="..\XPath\impl\xpath_ast_ids.hpp">
</File>
<File
RelativePath="..\XPath\src\xpath_axis_enumerator.cpp">
</File>
<File
RelativePath="..\XPath\impl\xpath_axis_enumerator.hpp">
</File>
<File
RelativePath="..\XPath\impl\xpath_compile_context.hpp">
</File>
<File
RelativePath="..\XPath\impl\xpath_execution_context.hpp">
</File>
<File
RelativePath="..\XPath\impl\xpath_function.hpp">
</File>
<File
RelativePath="..\XPath\impl\xpath_function_holder.hpp">
</File>
<File
RelativePath="..\XPath\impl\xpath_function_resolver.hpp">
</File>
<File
RelativePath="..\XPath\impl\xpath_grammar.hpp">
</File>
<File
RelativePath="..\XPath\impl\xpath_logical.hpp">
</File>
<File
RelativePath="..\XPath\impl\xpath_namespace_context.hpp">
</File>
<File
RelativePath="..\XPath\impl\xpath_namespace_node.hpp">
</File>
<File
RelativePath="..\XPath\impl\xpath_node_test.hpp">
</File>
<File
RelativePath="..\XPath\src\xpath_object.cpp">
</File>
<File
RelativePath="..\XPath\impl\xpath_object.hpp">
</File>
<File
RelativePath="..\XPath\src\xpath_parser.cpp">
</File>
<File
RelativePath="..\XPath\impl\xpath_parser.hpp">
</File>
<File
RelativePath="..\XPath\impl\xpath_relational.hpp">
</File>
<File
RelativePath="..\XPath\impl\xpath_resolver_holder.hpp">
</File>
<File
RelativePath="..\XPath\impl\xpath_step.hpp">
</File>
<File
RelativePath="..\XPath\impl\xpath_union.hpp">
</File>
<File
RelativePath="..\XPath\impl\xpath_value.hpp">
</File>
<File
RelativePath="..\XPath\impl\xpath_variable.hpp">
</File>
<File
RelativePath="..\XPath\impl\xpath_variable_resolver.hpp">
</File>
</Filter>
<File
RelativePath="ArabicaConfig.S">

View file

@ -41,6 +41,9 @@ extern "C"
class libxml2_base
{
protected:
virtual ~libxml2_base() { }
private:
virtual void SAXstartDocument() = 0;
virtual void SAXendDocument() = 0;

View file

@ -6,6 +6,11 @@
namespace std
{
codecvt<char, wchar_t, mbstate_t>::
~codecvt()
{
} // ~codecvt
////////////////////////////////////////////////////////////////////////
codecvt_base::result
codecvt<char, wchar_t, mbstate_t>::

View file

@ -10,6 +10,8 @@ template<>
class codecvt<char, wchar_t, std::mbstate_t>
{
protected:
virtual ~codecvt();
virtual codecvt_base::result do_out(mbstate_t&,
const char* from,
const char* from_end,

View file

@ -21,6 +21,8 @@ public:
class FunctionResolver
{
public:
virtual ~FunctionResolver() { }
// TODO: should make this a QName
virtual XPathFunction* resolveFunction(const std::string& name,
const std::vector<XPathExpressionPtr>& argExprs) const = 0;

View file

@ -260,4 +260,3 @@ TestSuite* NodeTestTest_suite()
return suiteOfTests;
} // NodeTestTest_suite