Opened 18 years ago

Closed 18 years ago

#350 closed Bugs (Fixed)

boost 1.32 compile error with STLPort462 and boost/format

Reported by: glensummers Owned by: samuel_k
Milestone: Component: None
Version: None Severity:
Keywords: Cc:

Description

compile error using
MSVC 7.1
STLPort4.6.2
Boost 1.32.0

Code:

#include <iostream>
#include <tchar.h>
#include <boost/format.hpp>

int _tmain(int argc, _TCHAR* argv[])
{
	return 0;
}

Fails with:
\boost\format\format_implementation.hpp(216) : error 
C2244: 'boost::basic_format<Ch,Tr,Alloc>::size' : unable 
to match function definition to an existing declaration

\boost\format\format_class.hpp(58) : see declaration 
of 'boost::basic_format<Ch,Tr,Alloc>::size'
        definition
        'basic_format<Ch,Tr,Alloc>::size_type 
boost::basic_format<Ch,Tr,Alloc>::size(void) const'
        existing declarations
        'boost::basic_format<Ch,Tr,Alloc>::size_type 
boost::basic_format<Ch,Tr,Alloc>::size(void) const'

Worked with boost 1.31.0

Regards,
Glen.

Change History (2)

comment:1 by samuel_k, 18 years ago

Logged In: YES 
user_id=545049

that is weird. 
I'm about to install MSVC and see what is happening. That
might be an issue with the compiler.

comment:2 by samuel_k, 18 years ago

Status: assignedclosed
Logged In: YES 
user_id=545049

fixes commited in CVS head (date 2005-02-27), that should
solve that.
Note: See TracTickets for help on using tickets.