GCC (XCode) ругаецо
От: nen777w  
Дата: 12.09.10 13:37
Оценка:
Если включить хидер:

#include "boost/iostreams/filtering_stream.hpp"

начинает ругаться тут:

../BOOST/boost_1_43_0/boost/detail/is_incrementable.hpp:73: error: expected unqualified-id before ')' token
../BOOST/boost_1_43_0/boost/detail/is_incrementable.hpp:76: error: expected unqualified-id before ';' token
../BOOST/boost_1_43_0/boost/detail/is_incrementable.hpp:84: error: expected unqualified-id before ')' token
../BOOST/boost_1_43_0/boost/detail/is_incrementable.hpp:95: error: expected unqualified-id before ')' token

is_incrementable.hpp


вот здесь:

// This namespace ensures that ADL doesn't mess things up.
namespace is_incrementable_
{
// a type returned from operator++ when no increment is found in the
// type's own namespace
struct tag {};
}

А РУГАЕЦО ТУТ!!! Хотя tag вот он выше...
namespace is_incrementable_
{
.. бла бла бла

72 // two check overloads help us identify which operator++ was picked
73 char (& check(tag) )[2];

}


По всей видимости что такое tag ему не ведомо...
Кто то сталкивался? Как лечить?
 
Подождите ...
Wait...
Пока на собственное сообщение не было ответов, его можно удалить.