History log of /frameworks/base/tools/localize/file_utils.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/file_utils.cpp
1c3b03b927138d6fd884a125eeab09b9ec47c532 05-Jun-2009 The Android Open Source Project <initial-contribution@android.com> merged 2b5f84a117ee6f51ed21239719afba0f33c182ff w/minor conflicts
24bd82a92fe13040e9d7e2ca1942043ed5931754 04-Jun-2009 Brian Swetland <swetland@google.com> localize: remove dependency on mkdirs/etc in libhost

This will let us break the libhost dependency on libutils.

Signed-off-by: Brian Swetland <swetland@google.com>
/frameworks/base/tools/localize/file_utils.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/file_utils.cpp
9066cfe9886ac131c34d59ed0e2d287b0e3c0087 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/frameworks/base/tools/localize/file_utils.cpp
d83a98f4ce9cfa908f5c54bbd70f03eec07e7553 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/frameworks/base/tools/localize/file_utils.cpp
e570a0fa86c2eea2680f07e2c0c546f104bea948 10-Jan-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@125939
b798689749c64baba81f02e10cf2157c747d6b46 10-Jan-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@125939
/frameworks/base/tools/localize/file_utils.cpp
862bfdba159580f825af563b8e283842e28d140c 22-Oct-2008 Alexey Zaytsev <alexey.zaytsev@gmail.com> Add a few missing headers.

Fixes build with gcc 4.3.2 on Debian.

Signed-off-by: Alexey Zaytsev <alexey.zaytsev@gmail.com>
/frameworks/base/tools/localize/file_utils.cpp
54b6cfa9a9e5b861a9930af873580d6dc20f773c 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
/frameworks/base/tools/localize/file_utils.cpp