1
0
Fork 0
mirror of https://github.com/KingDuckZ/dindexer.git synced 2025-08-05 13:09:47 +00:00

Import Sprout. This is to fix the build on clang.

Sprout is needed because pow, log2 and log10 are constexpr on gcc,
but that's nonstandard. Sprout provides the constexpr version of
those functions.

Also fix warnings. I still get plenty of warnings about some suggested
paretheses, but it seems to be a bug from clang. See
https://llvm.org/bugs/show_bug.cgi?id=21629 for the bug report.
This commit is contained in:
King_DuckZ 2016-07-11 19:30:21 +01:00
parent d46cb322b9
commit 417e7105d3
5 changed files with 20 additions and 8 deletions

3
.gitmodules vendored
View file

@ -7,3 +7,6 @@
[submodule "lib/better-enums"]
path = lib/better-enums
url = https://github.com/aantron/better-enums
[submodule "lib/sprout"]
path = lib/sprout
url = https://github.com/bolero-MURAKAMI/Sprout.git