Comment 4 for bug 803600

Revision history for this message
Chao Yang (chaoyang) wrote :

When building Linaro Android panda-11.06-release with toolchain-4.6-2011.05-0, the following error found due to gcc 4.6 applying stricter rules. The error can be fixed if "-Werror=address" is removed from gcc options. But the ideal solution would be fix the error in dbus code.

target thumb C: dbus-daemon <= external/dbus/bus/config-parser.c
external/dbus/bus/config-parser.c: In function 'include_file':
external/dbus/bus/config-parser.c:2040:7: error: the comparison will always evaluate as 'false' for the address of 'tmp_error' will never be NULL [-Werror=address]
external/dbus/bus/config-parser.c:2056:7: error: the comparison will always evaluate as 'false' for the address of 'tmp_error' will never be NULL [-Werror=address]
cc1: some warnings being treated as errors