ddavis2speedray / googletest

Automatically exported from code.google.com/p/googletest
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

gtest-printers.cc redefines snprintf to _snprintf_s for VC even though they have different number of arguments. #282

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
In gtest-printers.h, snprintf is redefined to _snprintf_s for VC higher than 
71. to avoid compiler 
deprecation warnings. But these functions have different number of arguments, 
so this code is very 
unstable.

Original issue reported on code.google.com by vladlosev on 10 May 2010 at 9:49

GoogleCodeExporter commented 9 years ago
Are we still seeing these warnings?

Original comment by w...@google.com on 27 Sep 2010 at 7:21

GoogleCodeExporter commented 9 years ago

Original comment by vladlosev on 5 Oct 2011 at 5:54