Yann Collet
589e517c5a
Merge pull request #166 from LambdAurora/dev
...
Added export of public symbols on Windows.
graphs
2019-02-12 18:16:35 -08:00
LambdAurora
c56b856e58
Fixed undefined reference when building with MinGW.
2019-02-12 22:59:45 +01:00
LambdAurora
3c28448546
Added missing condition to export symbols on Windows with CMake.
2019-02-12 22:29:57 +01:00
LambdAurora
1b0f7b371d
Added export of public symbols on Windows.
2019-02-12 22:15:58 +01:00
Yann Collet
d6f83c47f9
renamed FORCE_INLINE into XXH_FORCE_INLINE
...
to reduce risks of symbol duplication when XXH_INLINE_ALL is used
2019-02-04 14:05:34 -08:00
Yann Collet
c99e0c1c70
ensure rotl macro arguments are in parenthesis
...
to support non-singleton arguments
2019-02-04 13:57:55 -08:00
Yann Collet
0f2dd4a1cb
fixed minor cast warning
...
fix #139
2018-10-16 21:47:53 -07:00
Yann Collet
eec5700f4d
added some notes of constant selection
...
as suggested in #151 .
2018-10-11 17:09:14 -07:00
Yann Collet
74c2c63348
Merge pull request #150 from Cyan4973/msys2
...
Fix compilation under msys2
2018-10-11 12:19:30 -07:00
Yann Collet
2ec7fddf1c
minor optimization : shared xxhash.o compilation
2018-09-29 23:58:07 -07:00
Yann Collet
7a407f64f9
show script lines during lib compilation
2018-09-29 23:13:01 -07:00
Yann Collet
542430e0ec
fixed compilation issues under msys2/mingw64
2018-09-29 23:09:23 -07:00
Yann Collet
ae5a8c8bb6
Merge pull request #149 from Cyan4973/cppcheck
...
Added Cppcheck static analyzer tests
2018-09-17 16:31:50 -07:00
Yann Collet
79b52d94ba
added cppcheck test
...
to Makefile and transitively to .travis.yml
2018-09-17 13:48:10 -07:00
Yann Collet
b39d9be348
minor unused last pointer change style warning
2018-09-17 12:51:12 -07:00
Yann Collet
00cc5e5b94
Merge pull request #148 from Cyan4973/Makefile
...
minor Makefile improvements
2018-09-17 12:42:17 -07:00
Yann Collet
3eb9d18ddb
explicitly states when not checking a return value
...
although, cppcheck seems to overdo this warning,
as it also warns for function with `void` return type (??)
2018-09-17 12:39:18 -07:00
Yann Collet
68652df700
fixed ptr arithmetic on NULL
2018-09-17 12:28:59 -07:00
Yann Collet
df35d637c4
fixed minor printf formatting
2018-09-17 12:12:44 -07:00
Yann Collet
bce5f457b0
fixed pointer arithmetic on NULL
2018-09-17 12:10:03 -07:00
Yann Collet
fbd68c5f09
updated C++ test
2018-09-17 11:45:49 -07:00
Yann Collet
52a97a1a08
minor Makefile improvements
...
- more warnings enabled (inspired by zstd list)
- -fPIC is a CFLAGS rather than an LDFLAGS flag
(though it doesn't change the outcome, since everything is compiler in a single command line)
2018-09-17 11:26:39 -07:00
Yann Collet
5a46d72c85
Merge pull request #146 from ArnaudBienner/dev
...
Add syntax coloring to README.md examples
2018-08-21 14:42:42 -07:00
ArnaudBienner
aa76d203ca
Add syntax coloring to README.md examples
2018-08-20 17:19:16 +02:00
Yann Collet
3064d42e7d
minor code comment editing
2018-04-18 14:27:00 -07:00
Yann Collet
d4eea23960
removed valgrind
...
and removed code coverage,
which can only work correctly when compiling only once
(here, we have multiple binaries created)
2018-04-01 19:43:36 -07:00
Yann Collet
63c8575d09
hash lib* instead of xxhsum*
...
to avoid hashing xxhsum.gcda,
which content change while running xxhsum
2018-04-01 15:57:02 -07:00
Yann Collet
1a4376afa8
attempt to add code coverage
2018-04-01 15:15:19 -07:00
Yann Collet
f50f0e7e8d
Merge pull request #132 from Cyan4973/stdint
...
fix #130
2018-03-26 18:47:34 -07:00
Yann Collet
76f7ea3782
use stdint.h inside xxhash.h
...
to avoid type mismatch in some specific circumstances
2018-03-21 18:24:19 -07:00
Yann Collet
0bb41ed04f
Merge pull request #131 from Cyan4973/windowsTests
...
Add Windows tests using Appveyor
2018-03-21 16:04:32 -07:00
Yann Collet
d4f3fffd4a
appveyor: removed clang test
...
clang on Windows apparently defines _MSC_VER_ (?),
introducing Windows keyword
which are not compatible with `-std=c90` test.
2018-03-21 09:56:25 -07:00
Yann Collet
47128513a9
enlarge initial allocation
...
to be able to move start forward to an aligned position.
2018-03-21 06:18:58 -07:00
Yann Collet
8762a1d5f4
synthetic benchmark : ensure buffer alignment by 8
...
since `malloc()` only provides alignment by 4 when compiling with mingw32.
2018-03-21 06:16:16 -07:00
Yann Collet
dd43ae2100
usan tests can accept externally defined compiler
...
using CC=
2018-03-20 12:53:25 -07:00
Yann Collet
c7d815c2ad
fixed usan warning
2018-03-20 12:51:36 -07:00
Yann Collet
d0f432ca7b
usan tests warnings will now fail
2018-03-20 12:50:23 -07:00
Yann Collet
fd7ea04f49
make clean : added removal of Mac OS-X specific bin directories
2018-03-20 12:49:13 -07:00
Yann Collet
6c6ffbb27f
fixed Windows test
2018-03-20 11:16:26 -07:00
Yann Collet
03be2d3347
libxxhash : -fPIC flag conditional (!Windows)
2018-03-20 11:13:30 -07:00
Yann Collet
6cbce878e0
fixed appveyor test script
2018-03-20 11:07:42 -07:00
Yann Collet
b574a1561d
fix appveyor script
...
moved scan-build test to `test-all`
2018-03-20 11:04:30 -07:00
Yann Collet
1fc0c6e3eb
moved usan tests to test-all
2018-03-20 11:00:48 -07:00
Yann Collet
376ffba6ff
changed xxhsum multi-file test
...
so that it doesn't grab directories
2018-03-20 10:58:09 -07:00
Yann Collet
7d6a996d5d
changed multi-file test
...
so that it doesn't grab directories
2018-03-20 10:55:28 -07:00
Yann Collet
343a471516
removed test32 from all
...
platform-specific
2018-03-20 10:52:31 -07:00
Yann Collet
c3557bcbfd
added target make check
...
`make test` does not contain platform-specific tests (32-bit, arm, etc.)
`make test-all` still includes them.
2018-03-20 10:50:45 -07:00
Yann Collet
4af72306da
removed mingw32 specific declaration
2018-03-20 10:34:08 -07:00
Yann Collet
0af67e6061
moved compilation variables after make
...
since Windows is not compatible with unix' environment variables
2018-03-20 10:24:40 -07:00
Yann Collet
2d967356a3
appveyor Windows tests : added -Werror flag
...
so that compilation warnings trigger an error
2018-03-20 10:23:09 -07:00