printf format checking for msvc
authorElizabeth Smith <elizabeths@fb.com>
Tue, 6 May 2014 18:44:31 +0000 (11:44 -0700)
committerDave Watson <davejwatson@fb.com>
Tue, 20 May 2014 19:53:57 +0000 (12:53 -0700)
commit570276811b1e6ac63a18eef06af429ee3f4b12db
treee3f6d4e9c5d267c492494c612b0f8178af9dea13
parent9a56c3159ac79583466e9e0cdb9819f65263aa3d
printf format checking for msvc

Summary:
sal annotations can be used to do similar (not exact) checking to the functionality provided by the format attribute in gcc
the annotations are done by prefixing the format string with a value which makes the macro definitions a bit messy

@override-unit-failures

Test Plan: fbconfig -r folly && fbmake runtests

Reviewed By: delong.j@fb.com

FB internal diff: D1313653
folly/Portability.h
folly/String.h