blais.h causes errors in Visual Studio

"Job Mulder" <[email protected]> Thu, 24 Nov 2005 10:39:32 +0100
Newsgroups gmane.comp.lib.mtl.devel
Message-ID <[email protected]>
When I include blais.h and try to compile with Visual Studio 6, I get 22
errors:
 
z:\mtl-2.1.2-20\mtl\blais.h(134) : error C2989: '__recur_set<0,N>' :
template class has already been defined as a non-template class
z:\mtl-2.1.2-20\mtl\blais.h(134) : error C2988: unrecognizable template
declaration/definition
z:\mtl-2.1.2-20\mtl\blais.h(175) : error C2989: '__mult<M,N,struct
mtl::row_tag>' : template class has already been defined as a
non-template class
z:\mtl-2.1.2-20\mtl\blais.h(175) : error C2988: unrecognizable template
declaration/definition
z:\mtl-2.1.2-20\mtl\blais.h(185) : error C2989: '__mult<0,N,struct
mtl::row_tag>' : template class has already been defined as a
non-template class
z:\mtl-2.1.2-20\mtl\blais.h(185) : error C2988: unrecognizable template
declaration/definition
z:\mtl-2.1.2-20\mtl\blais.h(201) : error C2989: '__mult<M,N,struct
mtl::column_tag>' : template class has already been defined as a
non-template class
z:\mtl-2.1.2-20\mtl\blais.h(201) : error C2988: unrecognizable template
declaration/definition
z:\mtl-2.1.2-20\mtl\blais.h(211) : error C2989: '__mult<M,0,struct
mtl::column_tag>' : template class has already been defined as a
non-template class
z:\mtl-2.1.2-20\mtl\blais.h(211) : error C2988: unrecognizable template
declaration/definition
z:\mtl-2.1.2-20\mtl\blais.h(253) : error C2989: '__rank_one<M,N,struct
mtl::row_tag>' : template class has already been defined as a
non-template class
z:\mtl-2.1.2-20\mtl\blais.h(253) : error C2988: unrecognizable template
declaration/definition
z:\mtl-2.1.2-20\mtl\blais.h(263) : error C2989: '__rank_one<0,N,struct
mtl::row_tag>' : template class has already been defined as a
non-template class
z:\mtl-2.1.2-20\mtl\blais.h(263) : error C2988: unrecognizable template
declaration/definition
z:\mtl-2.1.2-20\mtl\blais.h(277) : error C2989: '__rank_one<M,N,struct
mtl::column_tag>' : template class has already been defined as a
non-template class
z:\mtl-2.1.2-20\mtl\blais.h(277) : error C2988: unrecognizable template
declaration/definition
z:\mtl-2.1.2-20\mtl\blais.h(287) : error C2989: '__rank_one<M,0,struct
mtl::column_tag>' : template class has already been defined as a
non-template class
z:\mtl-2.1.2-20\mtl\blais.h(287) : error C2988: unrecognizable template
declaration/definition
z:\mtl-2.1.2-20\mtl\blais.h(344) : error C2989: '__copy<0,N>' : template
class has already been defined as a non-template class
z:\mtl-2.1.2-20\mtl\blais.h(344) : error C2988: unrecognizable template
declaration/definition
z:\mtl-2.1.2-20\mtl\blais.h(391) : error C2989: '__mult<M,0,K>' :
template class has already been defined as a non-template class
z:\mtl-2.1.2-20\mtl\blais.h(391) : error C2988: unrecognizable template
declaration/definition
 
Is there a solution for this problem? This occurs even with the
following simple source file, so the rest of my code can't be the cause
of the problem:
#include "mtl/blais.h"
void func(void)
{
 int a = 1;
}
 
PS: I searched all mtl files and couldn't find any other definitions of
the mentioned classes.
 
-----------------------------------------------------------------------
Job P. Mulder
Software Engineer
Xsens Technologies B.V.
http://www.xsens.com <http://www.xsens.com/> 
 
postal address:
P.O. Box 545
7500 AM Enschede
the Netherlands
 
phone: +31 (0)53 4836446
fax: +31 (0)53 4836445
-----------------------------------------------------------------------
The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited. If you
received this in error, please contact the sender and delete the
material from any computer.
-----------------------------------------------------------------------

_______________________________________________
This list is archived at http://www.osl.iu.edu/MailArchives/mtl-devel/