Avoid warnings when building on Linux.
This commit is contained in:
parent
0a6717596f
commit
da57be191a
|
@ -685,7 +685,7 @@ public abstract class BaseCppTest {
|
|||
}
|
||||
|
||||
try {
|
||||
List<String> command2 = new ArrayList<String>(Arrays.asList("clang++", "-std=c++11", "-I", includePath, "-L.", "-lantlr4-runtime"));
|
||||
List<String> command2 = new ArrayList<String>(Arrays.asList("clang++", "-std=c++11", "-I", includePath, "-L.", "-lantlr4-runtime", "-Wno-type-limits"));
|
||||
command2.addAll(allCppFiles(tmpdir));
|
||||
String output = runCommand(command2.toArray(new String[0]), tmpdir, "building test binary");
|
||||
if (output == null) {
|
||||
|
|
|
@ -108,7 +108,7 @@
|
|||
#define EXPIMP_TEMPLATE
|
||||
#else
|
||||
#define GUID_LIBUUID
|
||||
#if __GNUC__ >= 4
|
||||
#if __GNUC__ >= 6
|
||||
#define ANTLR4CPP_PUBLIC __attribute__ ((visibility ("default")))
|
||||
#else
|
||||
#define ANTLR4CPP_PUBLIC
|
||||
|
|
Loading…
Reference in New Issue