I'm getting a compiler error on FreeBSD:
error: invalid combination of multiple type-specifiers
From the C++ Code:
typedef unsigned off_t uoff_t;
Not sure what the gcc compiler is trying to tell me.
I'm getting a compiler error on FreeBSD:
error: invalid combination of multiple type-specifiers
From the C++ Code:
typedef unsigned off_t uoff_t;
Not sure what the gcc compiler is trying to tell me.
Unless off_t
is a macro, it's simply a syntax error.
unsigned
is not something you can add to a typedef'ed type or use to modify such a type.
Cheers & hth.,
Use typedef boost::make_unsigned< off_t >::type uoff_t;
instead to achieve the desired effect.