c++ - MSVC - Suppress template being compiled with messages -


i have application uses numerous templates , template specializations, , during msvc compilation many messages output showing how templates being compiled. makes incredibly difficult time finding actual compilation error. these messages not output when application compiled on linux using g++.

    c:\program files (x86)\microsoft visual studio 12.0\vc\include\map(382) : see reference function template instantiation 'std::pair<std::_tree_iterator<std::_tree_val<std::_tree_simple_types<std::pair<const _kty,_ty>>>>,bool> std: :_tree<std::_tmap_traits<_kty,_ty,_pr,_alloc,true>>::insert<std::pair<std::string,uint64_t>>(_valty &&)' being compiled         [         _kty=std::string ,            _ty=size_t ,            _pr=std::less<std::string> ,            _alloc=std::allocator<std::pair<const std::string,size_t>> ,            _valty=std::pair<std::string,uint64_t>     ] 

is there way can suppress these more or less useless messages? or possibly lower verbosity setting? i've tried looking @ link i'm not sure if there flag relates messages i'm seeing.

the message related warning (or error) specific template instantiation. if warning, suppress (via #pragma warning, or project settings), , message go away. or, fix cause of warning. there no way suppress message without suppressing warning, because without it, warning doesn't make sense.


Comments

Popular posts from this blog

SQL php on different pages to Insert (mysqli) -

How to combine associative arrays in bash? -

c++ - No viable overloaded operator for references a map -