Bug 1186126 - Note incompatibility with NSPR printf-like functions. r=nfroyd

printf-like functions
This commit is contained in:
Oliver Henshaw 2015-07-27 10:08:00 +02:00
parent 5969831600
commit 094a6a5246

View File

@ -9,6 +9,12 @@
#ifndef mozilla_IntegerPrintfMacros_h_ #ifndef mozilla_IntegerPrintfMacros_h_
#define mozilla_IntegerPrintfMacros_h_ #define mozilla_IntegerPrintfMacros_h_
/*
* These macros should not be used with the NSPR printf-like functions or their
* users, e.g. mozilla/Logging.h. If you need to use NSPR's facilities, see the
* comment on supported formats at the top of nsprpub/pr/include/prprf.h.
*/
/* /*
* scanf is a footgun: if the input number exceeds the bounds of the target * scanf is a footgun: if the input number exceeds the bounds of the target
* type, behavior is undefined (in the compiler sense: that is, this code * type, behavior is undefined (in the compiler sense: that is, this code