Code: Select all
1>log.cpp
1>In file included from c:/game/include/Types.h:557,
1> from c:/game/src/base/log.cpp(8) :
1>c:/game/include/base/Log.h(78) : note: the mangling of 'va_list' has changed in GCC 4.4
Code: Select all
#include <cstdarg>
class Logger // <- line 78
{
public:
static void write(Level level, const char *func, const char *fmt, ...);
// ...other public functions...
private:
static void doWrite(Level level, const char *func, const char *fmt, va_list args);
};
I did some Googling and found this patch which is causing this note/warning to be displayed. Apparently the ARM EABI changed (PDF available here, see section 7.1.4), and the gcc maintainers decided to improve compliancy, so the patch went in for gcc-4.4. I also noticed this on the gcc-4.4 change list:
Code: Select all
On ARM EABI targets, the C++ mangling of the va_list type has been changed to conform to the current revision of the EABI. This does not affect the libstdc++ library included with GCC.
Does anyone know what I need to do to get rid of this message? Thanks in advance!