Changeset: 006ad9dafbfe for MonetDB URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=006ad9dafbfe Modified Files: gdk/gdk_utils.c Branch: linear-hashing Log Message:
Add a check for a fundamental relationship. int must be 32 bits. diffs (12 lines): diff --git a/gdk/gdk_utils.c b/gdk/gdk_utils.c --- a/gdk/gdk_utils.c +++ b/gdk/gdk_utils.c @@ -626,6 +626,8 @@ GDKinit(opt *set, int setlen) char buf[16]; /* some sanity checks (should also find if symbols are not defined) */ + static_assert(sizeof(int) == sizeof(int32_t), + "int is not equal in size to int32_t"); static_assert(sizeof(char) == SIZEOF_CHAR, "error in configure: bad value for SIZEOF_CHAR"); static_assert(sizeof(short) == SIZEOF_SHORT, _______________________________________________ checkin-list mailing list checkin-list@monetdb.org https://www.monetdb.org/mailman/listinfo/checkin-list