ABOUT ME

-

Today
-
Yesterday
-
Total
-
  • 쓸데없는 warning 제거
    정리필요2 2008. 6. 27. 18:57

    http://www.codeproject.com/vcpp/stl/stl_without_warnings.asp

    #pragma warning(disable: 4018)  // signed/unsigned mismatch
    #pragma warning(disable: 4100)  // unreferenced formal parameter
    #pragma warning(disable: 4146)  // unary minus operator applied to unsigned type, result still unsigned
    #pragma warning(disable: 4244)  // 'conversion' conversion from 'type1' to 'type2', possible loss of data
    #pragma warning(disable: 4245)  // conversion from 'type1' to 'type2', signed/unsigned mismatch
    #pragma warning(disable: 4511)  // 'class' : copy constructor could not be generated
    #pragma warning(disable: 4512)  // 'class' : assignment operator could not be generated
    #pragma warning(disable: 4663)  // C++ language change: to explicitly specialize class template 'vector'
    #pragma warning(disable: 4710)  // 'function' : function not inlined
    #pragma warning(disable: 4786)  // identifier was truncated to 'number' characters in the debug information
    #pragma warning(disable: 4245// conversion from 'type1' to 'type2',
                                    // signed/unsigned mismatch


    VC6, EVC 4 에서 STL사용시 의미없는 warning

Designed by Tistory.