summaryrefslogtreecommitdiff
path: root/toxcore/BUILD.bazel
diff options
context:
space:
mode:
authoriphydf <iphydf@users.noreply.github.com>2018-02-23 02:22:38 +0000
committeriphydf <iphydf@users.noreply.github.com>2018-02-24 22:20:22 +0000
commitd3b286cb434ed228e7b62cc70cb293e7a5554bfa (patch)
tree9ab3dd66f9dba2ca861ba8c6e098fb96754aa80b /toxcore/BUILD.bazel
parentafc80922e720f5d2a93bdfb3745da058e5ddf81b (diff)
Fix a bunch of compiler warnings and remove suppressions.
Diffstat (limited to 'toxcore/BUILD.bazel')
-rw-r--r--toxcore/BUILD.bazel10
1 files changed, 1 insertions, 9 deletions
diff --git a/toxcore/BUILD.bazel b/toxcore/BUILD.bazel
index d6c3693e..3dfa1648 100644
--- a/toxcore/BUILD.bazel
+++ b/toxcore/BUILD.bazel
@@ -48,6 +48,7 @@ cc_library(
48 name = "logger", 48 name = "logger",
49 srcs = ["logger.c"], 49 srcs = ["logger.c"],
50 hdrs = ["logger.h"], 50 hdrs = ["logger.h"],
51 deps = [":ccompat"],
51) 52)
52 53
53cc_library( 54cc_library(
@@ -100,9 +101,6 @@ cc_library(
100 "LAN_discovery.h", 101 "LAN_discovery.h",
101 "ping.h", 102 "ping.h",
102 ], 103 ],
103 copts = [
104 "-Wno-parentheses",
105 ],
106 visibility = ["//c-toxcore/other/bootstrap_daemon:__pkg__"], 104 visibility = ["//c-toxcore/other/bootstrap_daemon:__pkg__"],
107 deps = [ 105 deps = [
108 ":crypto_core", 106 ":crypto_core",
@@ -205,9 +203,6 @@ cc_library(
205 "tox.h", 203 "tox.h",
206 "tox_api.c", 204 "tox_api.c",
207 ], 205 ],
208 copts = [
209 "-Wno-parentheses",
210 ],
211 visibility = ["//c-toxcore:__subpackages__"], 206 visibility = ["//c-toxcore:__subpackages__"],
212 deps = [ 207 deps = [
213 ":group", 208 ":group",
@@ -221,9 +216,6 @@ cc_library(
221 "*.c", 216 "*.c",
222 "*.h", 217 "*.h",
223 ]), 218 ]),
224 copts = [
225 "-Wno-parentheses",
226 ],
227 linkopts = ["-lpthread"], 219 linkopts = ["-lpthread"],
228 visibility = ["//c-toxcore/other:__pkg__"], 220 visibility = ["//c-toxcore/other:__pkg__"],
229 deps = [ 221 deps = [