diff options
author | iphydf <iphydf@users.noreply.github.com> | 2016-08-17 17:36:05 +0100 |
---|---|---|
committer | iphydf <iphydf@users.noreply.github.com> | 2016-08-17 22:12:39 +0100 |
commit | db22522741cccdeba657776844538c71cf8e8e7a (patch) | |
tree | 581a9da7867c6887577a1e6800a07009a6a92581 /testing/misc_tools.c | |
parent | 2fc54498709f7721fc749383389f3d274e26058a (diff) |
Add missing DHT_bootstrap to CMakeLists.txt.
- This PR also adds a DEBUG cmake option that enables -DTOX_DEBUG.
- We also remove `-Wall`, because there are too many warnings, and nobody really
looks at them at the moment. We'll see about fixing them soon. We'll also want
to enable `-Werror` at some point.
- Finally, this PR enables `-O3` to make sure toxcore still works correctly
under heavy compiler optimisations.
Diffstat (limited to 'testing/misc_tools.c')
-rw-r--r-- | testing/misc_tools.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testing/misc_tools.c b/testing/misc_tools.c index ad6b2bff..52b739dc 100644 --- a/testing/misc_tools.c +++ b/testing/misc_tools.c | |||
@@ -30,9 +30,9 @@ | |||
30 | #include <stdio.h> | 30 | #include <stdio.h> |
31 | #include <stdint.h> | 31 | #include <stdint.h> |
32 | 32 | ||
33 | #ifdef DEBUG | 33 | #ifdef TOX_DEBUG |
34 | #include <assert.h> | 34 | #include <assert.h> |
35 | #endif // DEBUG | 35 | #endif // TOX_DEBUG |
36 | 36 | ||
37 | // You are responsible for freeing the return value! | 37 | // You are responsible for freeing the return value! |
38 | uint8_t *hex_string_to_bin(char *hex_string) | 38 | uint8_t *hex_string_to_bin(char *hex_string) |