SI

Erro Compilar TFS com Visual Studio

Por Sirarcken, 05 de abr. de 2016 em Programação

2
945
SirarckenS
05 de abril de 2016 às 22:47

Então esses dias tive um problema com meu windowns 8 que bugou e perdi uma caralhada de coisa.

So que até então eu conseguia compilar tranquilamente.

Porem hoje atualizei para windowns 10 e o Vs15 esta dando esse erro.

Alguém que saiba como resolver poderia dar uma luz?

Spoiler

1>------ Build started: Project: theforgottenserver, Configuration: Release x64 ------
1>  outputmessage.cpp
1>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\atomic(661): error C2338: You've instantiated std::atomic<T> with sizeof(T) equal to 2/4/8 and alignof(T) < sizeof(T). Before VS 2015 Update 2, this would have misbehaved at runtime. VS 2015 Update 2 was fixed to handle this correctly, but the fix inherently changes layout and breaks binary compatibility. Please define _ENABLE_ATOMIC_ALIGNMENT_FIX to acknowledge that you understand this, and that everything you're linking has been compiled with VS 2015 Update 2 (or later).
1>  C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\atomic(675): note: see reference to class template instantiation 'std::_Atomic_base<_Ty,4>' being compiled
1>          with
1>          [
1>              _Ty=boost::lockfree::detail::tagged_index
1>          ]
1>  C:\local\boost_1_60_0\boost/lockfree/detail/freelist.hpp(603): note: see reference to class template instantiation 'std::atomic<boost::lockfree::detail::tagged_index>' being compiled
1>  C:\local\boost_1_60_0\boost/lockfree/detail/freelist.hpp(604): note: see reference to class template instantiation 'boost::lockfree::detail::fixed_size_freelist<T,NodeStorage>' being compiled
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

 

Editado Abril 5 por Sirarcken

SirarckenS
08 de abril de 2016 às 16:10

Podem fechar, a principio é um erro do tfs com o visual update 2.

Ai por isso aparece isso, ja vi uma issue no GitHub, de um cara com o mesmo problema.

Vlw