카테고리 없음
[VS2010] swprintf has been changed to conform with the ISO C standard.
great-artist
2012. 12. 3. 16:20
이슈
warning C4996: 'vswprintf': swprintf has been changed to conform with the ISO C standard, adding an extra character count parameter. To use traditional Microsoft swprintf, set _CRT_NON_CONFORMING_SWPRINTFS.
::vswprintf( 버퍼, format, args );
해결
아래와 같이 버퍼 사이즈를 추가해 주면 됩니다.
::vswprintf( 버퍼, 버퍼사이즈, format, args );