Boost logo

Boost Users :

From: GIE (sadman_gie_at_[hidden])
Date: 2002-04-21 13:51:03


Hello.
I have problem compiling following empty project:
#include "stdafx.h"

//--------------------------------------------------------------------------
-

#include <boost/config.hpp>

#include <boost/cstdint.hpp> // for boost::uint16_t, etc.

#include <boost/crc.hpp>

//--------------------------------------------------------------------------
-

int _tmain(int argc, _TCHAR* argv[])

{

return 0;

}

//--------------------------------------------------------------------------
-

with following errors:

d:\compil\vc_libs\boost_1_27_0\boost\crc.hpp(71) : error C2059: syntax error
: '<constant tree>'

d:\compil\vc_libs\boost_1_27_0\boost\crc.hpp(94) : error C2977:
'boost::crc_optimal' : too many template arguments

d:\compil\vc_libs\boost_1_27_0\boost\crc.hpp(75) : see declaration of
'boost::crc_optimal'

d:\compil\vc_libs\boost_1_27_0\boost\crc.hpp(95) : error C2977:
'boost::crc_optimal' : too many template arguments

d:\compil\vc_libs\boost_1_27_0\boost\crc.hpp(75) : see declaration of
'boost::crc_optimal'

d:\compil\vc_libs\boost_1_27_0\boost\crc.hpp(96) : error C2977:
'boost::crc_optimal' : too many template arguments

d:\compil\vc_libs\boost_1_27_0\boost\crc.hpp(75) : see declaration of
'boost::crc_optimal'

d:\compil\vc_libs\boost_1_27_0\boost\crc.hpp(98) : error C2977:
'boost::crc_optimal' : too many template arguments

d:\compil\vc_libs\boost_1_27_0\boost\crc.hpp(75) : see declaration of
'boost::crc_optimal'

d:\compil\vc_libs\boost_1_27_0\boost\crc.hpp(258) : error C2983:
'boost::crc_optimal' : new template parameter list has more parameters than
the previous declaration

d:\compil\vc_libs\boost_1_27_0\boost\crc.hpp(258) : see declaration of
'boost::crc_optimal'

d:\compil\vc_libs\boost_1_27_0\boost\crc.hpp(214) : error C2062: type
'<template parameter>' unexpected

d:\compil\vc_libs\boost_1_27_0\boost\crc.hpp(258) : see reference to class
template instantiation 'boost::crc_optimal<,TruncPoly,InitRem,FinalXor,,>'
being compiled

What is the proplem?

I'm using MS VC 7.

--
Best regards,
GIE

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