summaryrefslogtreecommitdiff
path: root/libutils/Unicode.cpp
diff options
context:
space:
mode:
authorAndrew Hsieh <andrewhsieh@google.com>2014-05-09 11:50:45 +0800
committerAndrew Hsieh <andrewhsieh@google.com>2014-05-09 11:50:45 +0800
commitad832859a7ccd7ba44b6f97e0933ab0b413d62b6 (patch)
treec223a0233ac0add425e9643eb9cfa4e78a2c955b /libutils/Unicode.cpp
parent8ec42bb203d48e917d8da4d925378b448416d09e (diff)
Use format(gnu_printf, ...) for windows build with __USE_MINGW_ANSI_STDIO
With __USE_MINGW_ANSI_STDIO mingw compiler uses its own replacement printf*/scanf* libraries instead of Microsoft's ones which aren't always C99 compatible. Declare "archetype" of attribute format to gnu_printf because the default "printf" in mingw follows MS standard. One result is that "%z" (a gnu-extension) is accepted w/o warning by mingw compiler Change-Id: I3e92f34e2a1e8d664b4f1f55d450f7c2790671f3
Diffstat (limited to 'libutils/Unicode.cpp')
0 files changed, 0 insertions, 0 deletions