Boost logo

Boost Users :

From: Lawrence Lim (olenlim_at_[hidden])
Date: 2006-02-10 15:22:44


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 list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net