mirror of
https://github.com/marian-nmt/marian.git
synced 2024-09-11 06:15:56 +03:00
Merged PR 10709: Disable a warning in FBGEMM code. This issue only appears in debug build.
Disable a warning in FBGEMM code. This issue only appears in debug build.
This commit is contained in:
parent
164d26cc36
commit
0fab6ea850
@ -17,6 +17,7 @@
|
||||
#pragma warning(disable: 4251) // 'fbgemm::CompressedSparseColumn::colptr_': class 'std::vector<int,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'fbgemm::CompressedSparseColumn'
|
||||
#pragma warning(disable: 4661) // 'fbgemm::PackMatrix<fbgemm::PackBMatrix<int8_t,int32_t>,int8_t,int32_t>::PackMatrix(int32_t,int32_t,inpType *,int,const fbgemm::BlockingFactors *)': no suitable definition provided for explicit template instantiation request
|
||||
#pragma warning(disable: 4244) // fbgemm\quantutils.h(51): warning C4244: 'return': conversion from 'const _Ty' to 'T2', possible loss of data
|
||||
#pragma warning(disable: 4717) // 'fbgemm::PackMatrix<fbgemm::PackAWithQuantRowOffset<unsigned char,int>,unsigned char,int>::isThisLastKBlock': recursive on all control paths, function will cause runtime stack overflow
|
||||
// the following does not work; need to manually disable them in Linker options
|
||||
//#pragma comment(linker, "/ignore:4049") // locally defined symbol ...asmjit... imported
|
||||
//#pragma comment(linker, "/ignore:4217") // locally defined symbol ...asmjit... imported
|
||||
|
Loading…
Reference in New Issue
Block a user