Opened 8 years ago

Last modified 8 years ago

#10918 new Bugs

Boost pool does not compile with MSVC /Za

Reported by: anonymous Owned by: Chris Newbold
Milestone: To Be Determined Component: pool
Version: Boost 1.57.0 Severity: Showstopper
Keywords: pool MSVC Cc:

Description

The following code does not compile with Visual Studio C++ 2013 update 4, compiler flag /Za

    #include <boost/pool/pool.hpp>
    int main()
    {
        boost::pool<> d_BoostPool( 16 );
        d_BoostPool.ordered_malloc( 28 );
        return 0;
    }

The guilty behavior is similar to the one shown here: http://stackoverflow.com/q/27830761/2549876

Change History (1)

comment:1 by viboes, 8 years ago

Component: Nonepool
Owner: set to Chris Newbold
Note: See TracTickets for help on using tickets.