Skip to content

Compilation on MSVS 2015 (CTP5) fails #16

@mintyc

Description

@mintyc

Just a heads up as this is pre-release software ...

Building fails from converted MSVS 2012 solution - all configurations

unittests builds and passes OK

however rest of solution not so happy ...

Warning at start of benchmarks build (assumed benign):

'Unknown compiler version - please run the configure tests and report the results'

Errors:

  1. benchmarks - boost:lockfree problem

u:\dev\concurrentqueue\benchmarks\boost/lockfree/queue.hpp(109): error C2280: 'std::atomicboost::lockfree::detail::tagged_ptr::atomic(void) noexcept': attempting to reference a deleted function

(also tried with latest boost develop branch implementation of queue.hpp with same error)

  1. fuzztests

....\tests\fuzztests\fuzztests.cpp(676): error C3066: there are multiple ways that an object of this type can be called with these arguments

Microsoft's <xxatomic> has 2 overloads of
template
struct atomic<_Ty *>
{
operator _Ty *() const volatile _NOEXCEPT
operator _Ty *() const _NOEXCEPT

and it can't choose between them (I didn't even realise I could differentiate const functions on volatile)

  1. Also several 'shadowed variable' warnings to ignore

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions