Details
Description
Depends on MESOS-1009 and MESOS-1029.
../../src/messages/state.hpp:19:9: error: '_MESSAGE_STATE_HPP_' is used as a header guard here, followed by #define
of a different macro [-Werror,-Wheader-guard]
#ifndef _MESSAGE_STATE_HPP_
^~~~~~~~~~~~~~~~~~~~~
../../src/messages/state.hpp:20:9: note: '_MESSAGES_STATE_HPP_' is defined here; did you mean
'_MESSAGE_STATE_HPP_'?
#define _MESSAGES_STATE_HPP_
^~~~~~~~~~~~~~~~~~~~~~
_MESSAGE_STATE_HPP_
n file included from ../../src/java/jni/convert.cpp:32:
../../src/jvm/jvm.hpp:473:18: error: 'va_start' has undefined behavior with reference types [-Werror,-Wvarargs]
va_start(args, method);
^
/root/clang/build/Release/bin/../lib/clang/3.5/include/stdarg.h:33:52: note: expanded from macro 'va_start'
#define va_start(ap, param) __builtin_va_start(ap, param)
^
../../src/jvm/jvm.hpp:470:53: note: parameter of type 'const Jvm::Method &' is declared here
T Jvm::invoke(const jobject receiver, const Method& method, ...)
^
../../src/jvm/jvm.hpp:488:18: error: 'va_start' has undefined behavior with reference types [-Werror,-Wvarargs]
va_start(args, method);
^
/root/clang/build/Release/bin/../lib/clang/3.5/include/stdarg.h:33:52: note: expanded from macro 'va_start'
#define va_start(ap, param) __builtin_va_start(ap, param)
^
../../src/jvm/jvm.hpp:485:35: note: parameter of type 'const Jvm::Method &' is declared here
T Jvm::invokeStatic(const Method& method, ...)
^