aboutsummaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-06-23 16:29:29 +0200
committerDavid Robillard <d@drobilla.net>2020-10-27 13:13:58 +0100
commit992c8bce3e1938609193561028d67b86753e6e5b (patch)
tree7743e3ae4260eb37ec02202e6bd578d412126c8e /wscript
parent6f2d3942dff7e176f4771ea6134ffcc88e33ef42 (diff)
downloadserd-992c8bce3e1938609193561028d67b86753e6e5b.tar.gz
serd-992c8bce3e1938609193561028d67b86753e6e5b.tar.bz2
serd-992c8bce3e1938609193561028d67b86753e6e5b.zip
Add faster decimal digit counting function
Diffstat (limited to 'wscript')
-rw-r--r--wscript4
1 files changed, 4 insertions, 0 deletions
diff --git a/wscript b/wscript
index 585789d6..b43626d0 100644
--- a/wscript
+++ b/wscript
@@ -73,6 +73,7 @@ def configure(conf):
'msvc': [
'/wd4061', # enumerator in switch is not explicitly handled
'/wd4200', # nonstandard: zero-sized array in struct/union
+ '/wd4464', # relative include path contains '..'
'/wd4514', # unreferenced inline function has been removed
'/wd4710', # function not inlined
'/wd4711', # function selected for automatic inline expansion
@@ -168,6 +169,7 @@ lib_source = ['src/base64.c',
'src/byte_sink.c',
'src/byte_source.c',
'src/cursor.c',
+ 'src/decimal.c',
'src/env.c',
'src/inserter.c',
'src/int_math.c',
@@ -255,6 +257,7 @@ def build(bld):
for prog in [('serdi_static', 'src/serdi.c'),
('base64_test', 'tests/base64_test.c'),
('cursor_test', 'tests/cursor_test.c'),
+ ('decimal_test', 'tests/decimal_test.c'),
('env_test', 'tests/env_test.c'),
('free_null_test', 'tests/free_null_test.c'),
('int_math_test', 'tests/int_math_test.c'),
@@ -686,6 +689,7 @@ def test(tst):
with tst.group('Unit') as check:
check(['./base64_test'])
check(['./cursor_test'])
+ check(['./decimal_test'])
check(['./env_test'])
check(['./free_null_test'])
check(['./int_math_test'])