Opened 9 years ago

Closed 8 years ago

#9365 closed Bugs (fixed)

Compilation error with VS2013

Reported by: Dan Tumaykin <dan@…> Owned by: Glen Fernandes
Milestone: To Be Determined Component: smart_ptr
Version: Boost 1.55.0 Severity: Problem
Keywords: Cc:

Description

While compiling a project including Boost with VS 2013 (Express, Windows 8.1, x86_64) I get the following error: boost\smart_ptr\detail\array_deleter.hpp: error C2143: syntax error : missing ',' before 'constant' on lines 52 and 70.

Change History (4)

comment:1 by Steven Watanabe, 9 years ago

Component: Building Boostsmart_ptr
Owner: set to Peter Dimov

Boost 1.55, boost/smart_ptr/detail/array_deleter.hpp:52:

    template<std::size_t M>

The only thing I can think of is that M is defined as a macro somewhere.

comment:2 by Peter Dimov, 9 years ago

Owner: changed from Peter Dimov to Glen Fernandes

comment:3 by Peter Dimov, 9 years ago

I agree, M is probably defined as a macro.

comment:4 by Glen Fernandes, 8 years ago

Resolution: fixed
Status: newclosed

Fixed as of recent refactoring in smart_ptr (should not reproduce in develop or master branches).

Note: See TracTickets for help on using tickets.