mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-23 21:01:08 +00:00
Bug 1186126 - Note incompatibility with NSPR printf-like functions. r=nfroyd
printf-like functions
This commit is contained in:
parent
5969831600
commit
094a6a5246
@ -9,6 +9,12 @@
|
||||
#ifndef 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
|
||||
* type, behavior is undefined (in the compiler sense: that is, this code
|
||||
|
Loading…
Reference in New Issue
Block a user