diff options
author | Tobias Kortkamp <tobik@FreeBSD.org> | 2018-08-31 22:32:05 +0000 |
---|---|---|
committer | Tobias Kortkamp <tobik@FreeBSD.org> | 2018-08-31 22:32:05 +0000 |
commit | 982d06e880e150e00e478f24e9c54516f29bde2e (patch) | |
tree | 8b69f99e19f29664476b4aed6d521b28f7101b74 /java/jlint/files/patch-jlint.cc | |
parent | - Move from www/py-buku to www/buku. The port is written in python but is not a (diff) |
java/jlint: Fix build with Clang 6
In file included from access_desc.cc:1:
In file included from ./access_desc.hh:8:
In file included from ./class_desc.hh:4:
./types.hh:144:6: error: constant expression evaluates to 4294967168 which cannot be narrowed to type 'int4' (aka 'int') [-Wc++11-narrowing]
{0xffffff80, 0x0000007f}, // tp_byte
^~~~~~~~~~
http://beefy11.nyi.freebsd.org/data/head-i386-default/p478276_s338342/logs/errors/jlint-3.1.2_4.log
jlint.cc:1044:33: error: no matching literal operator for call to 'operator""__DATE__' with arguments of types 'const char *' and 'unsigned long', and no matching literal operator template
"version %s ("__DATE__").\n", VERSION);
^
- Remove embedded build date
- Make sure the build respects CXXFLAGS, LDFLAGS, LIBS
Notes
Notes:
svn path=/head/; revision=478616
Diffstat (limited to 'java/jlint/files/patch-jlint.cc')
-rw-r--r-- | java/jlint/files/patch-jlint.cc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/java/jlint/files/patch-jlint.cc b/java/jlint/files/patch-jlint.cc index 323678bfe0e6..9b773b3e44a1 100644 --- a/java/jlint/files/patch-jlint.cc +++ b/java/jlint/files/patch-jlint.cc @@ -29,3 +29,12 @@ monitor_stack::const_iterator it; for (it = this_class->usedLocks.begin(); +@@ -1041,7 +1041,7 @@ int main(int argc, char* argv[]) + if (verbose) { + fprintf(stderr, + "Jlint - program correctness verifier for Java, " +- "version %s ("__DATE__").\n", VERSION); ++ "version %s\n", VERSION); + } + continue; + } |