Hi Fabian, thank you very much for your fix! Do I understand correctly that the problem is in fact related to (recent versions of) MacOSX, and the packages / libraries that come with it, rather than the compiler itself? If so, we might want to consider adding option "-Wno-deprecated-declarations" only on (the respective versions of) MacOSX, --- or only when there is Apple's CommonCrypto API rather than OpenSSL, provided we can easily detect that --- rather than whenever using any version of clang on any system (and with old versions of gcc on any system). Yes, I still have the ambition to disable strict compilation checks only as selectively as possible, even on "odd" platforms ... ;-) Thanks! Stefan ----- Original Message -----
Changeset: b4d844547d39 for MonetDB URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=b4d844547d39 Modified Files: configure.ag Branch: Jan2014 Log Message:
configure: don't choke on deprecation messages
Apple "deprecated" OpenSSL since Lion, don't complain about that.
diffs (15 lines):
diff --git a/configure.ag b/configure.ag --- a/configure.ag +++ b/configure.ag @@ -598,8 +598,11 @@ yes-*-*) dnl not all) false positives, though, as well as in dnl YACC/BISON-generated code; thus, we do not use dnl "-Wunreachable-code" with clang and gcc < 4.5 . + dnl At the same time, Apple deprecated OpenSSL in favour of + dnl their own CommonCrypto API. We don't mind about that. case "$CC_ver" in clang-*|gcc-[[0-3]].*|gcc-4.[[0-4]].*) + MCHECK_ADD_FLAG([-Wno-deprecated-declarations]) ;; *) MCHECK_ADD_FLAG([-Wunreachable-code]) _______________________________________________ checkin-list mailing list checkin-list@monetdb.org https://www.monetdb.org/mailman/listinfo/checkin-list
-- | Stefan.Manegold@CWI.nl | DB Architectures (DA) | | www.CWI.nl/~manegold/ | Science Park 123 (L321) | | +31 (0)20 592-4212 | 1098 XG Amsterdam (NL) |