newbie question

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

newbie question

Lawrence Lim
Hello,

I'm trying to compile the following:

#include <boost/type_traits/is_integral>

int main()
{
 return 0;
}

I'm getting a long_long_type is undeclared in
namespace boost error.

I worked around it by:

namespace boost
{
 typedef long long long_long_type;
 typedef unsigned long long ulong_long_type;

}

#include <boost/type_traits/is_integral>

int main()
{
 return 0;
}

Is there a better way to fix this issue?

My compiler is gcc3.2.3 in Red Hat Linux.

Thanks,
Lawrence
_______________________________________________
Boost-users mailing list
[hidden email]
http://lists.boost.org/mailman/listinfo.cgi/boost-users