realm-java
realm-java copied to clipboard
Anonymous variadic macros are not part of C++03
tightdb_java2/tightdb_jni/src/util.hpp defines an anonymous variadic macro. Since they are not part of C++03, we should not use them.
Note: Anonymous variadic macros were introduced in C99 as well as C++11.
These are the macroes I was referring to:
#define TR(fmt, ...) #define TR_ERR(fmt, ...)
Of course, this assumes that the intention is to not allow C++11 in the Java language binding.
Fixed