mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
e49a477a84
This is the "server-side" part of the new friend finding system, allowing DHT nodes to store small amounts of data and permit searching for it. A forwarding (proxying) mechanism allows this to be used by TCP clients, and deals with non-transitivity in the network.
38 lines
865 B
Bash
Executable File
38 lines
865 B
Bash
Executable File
#!/bin/bash
|
|
|
|
. other/analysis/gen-file.sh
|
|
|
|
set -e
|
|
|
|
run() {
|
|
echo "Running Clang compiler in variant '$*'"
|
|
clang++ -o /dev/null amalgamation.cc \
|
|
"${CPPFLAGS[@]}" \
|
|
"${LDFLAGS[@]}" \
|
|
"$@" \
|
|
-std=c++11 \
|
|
-Werror \
|
|
-Weverything \
|
|
-Wno-alloca \
|
|
-Wno-c++98-compat-pedantic \
|
|
-Wno-c99-extensions \
|
|
-Wno-conversion \
|
|
-Wno-covered-switch-default \
|
|
-Wno-disabled-macro-expansion \
|
|
-Wno-documentation-deprecated-sync \
|
|
-Wno-documentation-unknown-command \
|
|
-Wno-global-constructors \
|
|
-Wno-missing-braces \
|
|
-Wno-missing-field-initializers \
|
|
-Wno-old-style-cast \
|
|
-Wno-padded \
|
|
-Wno-sign-compare \
|
|
-Wno-tautological-pointer-compare \
|
|
-Wno-unreachable-code-return \
|
|
-Wno-unused-parameter \
|
|
-Wno-used-but-marked-unused \
|
|
-Wno-source-uses-openmp
|
|
}
|
|
|
|
. other/analysis/variants.sh
|