History log of /frameworks/base/tools/localize/localize_test.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
fdb7838bca8d5831910711584fff75d22baf869f 25-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> am ad39eb0a: Merge change 5302 into donut

Merge commit 'ad39eb0a2555762a1d9157f8017097579d14f39d'

* commit 'ad39eb0a2555762a1d9157f8017097579d14f39d':
Add includes to enable host C++ tools to compile with GCC 4.4
bdb087c9305d6d753444e1c0176a793c00f07840 25-Jun-2009 Jack Palevich <jackpal@google.com> Add includes to enable host C++ tools to compile with GCC 4.4

Otherwise printf is undeclared. These files worked with earlier versions
of gcc because either cstdio or stdio.h was being included by some other
header file. But this was not guaranteed behavior, so with GCC 4.4 there
are errors. The fix is backwards compatible with earlier versions of GCC.

This change includes either <cstdio> or <stdio.h> whichever looks more
appropriate given the other headers included by the given source file.

Note, I'm using "GCC" to mean Gnu Compile Collection, as this problem is
specific to C++ source files. (Presumably a C++-specific header file
changed to no longer include cstdio.)
/frameworks/base/tools/localize/localize_test.cpp
8a2b9083e364ffd46f56362d46af2aeb4718d325 21-Mar-2009 Scott Tsai <scottt.tw@gmail.com> localize: include <cstdio> in files that uses the printf family of
functions to make the code build on gcc-4.4

gcc-4.4 further cleaned up header include dependencies so that e.x.
including <iostream> no longer pulls in printf.
/frameworks/base/tools/localize/localize_test.cpp
9066cfe9886ac131c34d59ed0e2d287b0e3c0087 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/frameworks/base/tools/localize/localize_test.cpp
d83a98f4ce9cfa908f5c54bbd70f03eec07e7553 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/frameworks/base/tools/localize/localize_test.cpp
54b6cfa9a9e5b861a9930af873580d6dc20f773c 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
/frameworks/base/tools/localize/localize_test.cpp