views:

19

answers:

0

The following simple program can't be compiled with gcc 4.4.3


include "rapidxml.hpp"

include "rapidxml_utils.hpp"

include "rapidxml_print.hpp"

include "rapidxml_iterators.hpp"


int main()
{
return 0;
}
------------------------------------------------------------
Compile produces following errors:

rapidxml_iterators.hpp:21: error: expected nested-name-specifier
rapidxml_iterators.hpp:21: error: invalid declarator before ‘value_type’
rapidxml_iterators.hpp:22: error: expected nested-name-specifier
rapidxml_iterators.hpp:22: error: invalid declarator before ‘&’ token
..........
------------------------------------------------------------
What I am doing wrong?
Thank you.