Some build-fixes for pedantic compilers.
authorErik Verbruggen <erik.verbruggen@me.com>
Fri, 19 Apr 2013 19:24:46 +0000 (21:24 +0200)
committerLars Knoll <lars.knoll@digia.com>
Fri, 19 Apr 2013 20:02:24 +0000 (22:02 +0200)
commitd07ba94f799a7829d6894960e62316f6d40d4dc0
tree9382c4fe91c199dfdb4e26bdf8b0c335068e285c
parent20788d8f75f38830946fea65db7e47b82fec1034
Some build-fixes for pedantic compilers.

Most of the change comes down to just one issue. If you write:

extern "C" { void something(); }
namespace Nowhere { extern "C" { void something() {} } }

.. then any use of something might be considered ambigous by some
compilers. This seems to be an edge-case that is not clear in the spec.

Change-Id: I90e32539d6bd35b6ecca7816349f18d7573cbd2f
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
src/3rdparty/masm/wtf/OSAllocatorPosix.cpp
src/qml/qml/v4vm/moth/qv4instr_moth_p.h
src/qml/qml/v4vm/moth/qv4isel_moth.cpp
src/qml/qml/v4vm/qv4_llvm_p.h
src/qml/qml/v4vm/qv4isel_llvm.cpp
src/qml/qml/v4vm/qv4isel_llvm_p.h
src/qml/qml/v4vm/qv4isel_masm.cpp
src/qml/qml/v4vm/qv4isel_masm_p.h
src/qml/qml/v4vm/qv4runtime_p.h
src/qml/qml/v4vm/qv4value_p.h