Opened 14 years ago

Closed 14 years ago

#349 deleted Bugs (Duplicate)

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 (1)

comment:1 Changed 14 years ago by samuel_k

Status: assignedclosed
Note: See TracTickets for help on using tickets.