18 Commits

Author SHA1 Message Date
leitner
ddfdd4d077 add compiler.h to abstract gcc attributes 2020-11-08 00:29:35 +00:00
leitner
3aef1c2faa half-hearted Windows compilability improvements 2019-04-23 13:22:07 +00:00
leitner
6cfc16fc40 add gcc 5 integer overflow intrinsics support to rangecheck.h
in the process, identify a gnarly problem that was not only not found by
  the test suite, there was a test testing for the wrong behavior!
2015-09-29 14:10:03 +00:00
leitner
4f1e1d300c make headers work in C++
add two more variable length integer encoding functions
2012-02-07 17:02:40 +00:00
leitner
de36bc05f7 add __likely branch prediction hints
make inlining work in the face of gcc in non-gnu c99 mode
2010-11-05 03:07:47 +00:00
leitner
928bfe5c09 for installed header files, add comment saying where they came from 2010-06-03 22:46:59 +00:00
leitner
6941446a7c clang support 2009-10-27 16:33:00 +00:00
leitner
a8a5e9a3d5 some valgrind de-noising
fix subtle typo in sub_of (David Sirovsky)
2008-02-27 12:10:05 +00:00
leitner
1b17f47def escape more in fmt_ldapescape 2007-06-28 20:01:05 +00:00
leitner
d3d6c828a9 Turns out that shifting a negative signed int is undefined behavior in
C, too.  Use other mechanism in case gcc decides to abuse that, too.
2007-01-28 23:36:24 +00:00
leitner
3e559e8d89 remove a bogus gcc warning 2007-01-26 19:59:31 +00:00
leitner
47d2e25ba3 simplify some expressions 2007-01-26 19:56:41 +00:00
leitner
689de0e8e4 more brackets in macros (paranoia) 2007-01-26 01:29:00 +00:00
leitner
d22de55cee add some int overflow check macros to rangecheck.h 2007-01-26 01:12:15 +00:00
leitner
a85d569caa gcc 4.1 version of the code also works with other compilers, so make it
default and get rid of #ifdef hell
2006-04-17 17:35:33 +00:00
leitner
a1215d9f0a use uintptr_t instead of size_t 2006-04-17 05:49:38 +00:00
leitner
3c291ea2a8 document adding io_block
add rangecheck install target to GNUmakefile
cosmetics in rangecheck.h
2006-04-17 05:09:39 +00:00
leitner
dbd9fe1ea5 add rangecheck.h 2006-04-17 04:33:40 +00:00