Iwyu relies on clang, hence we need to install it. In ubuntu 14.04 the latest version is 3.5: let's go with it.
sudo apt-get install clang-3.5 llvm-3.5-dev
| class Balloon | |
| EXPECTED = { | |
| 'b' => 1, | |
| 'a' => 1, | |
| 'l' => 2, | |
| 'o' => 2, | |
| 'n' => 1 | |
| } | |
| def initialize |
| dario@hardcore:~/projects/wireshark/build-ninja (oss-fuzz)$ git diff | |
| diff --git a/tools/debian-setup.sh b/tools/debian-setup.sh | |
| index c57662ba26..28d7fb2723 100755 | |
| --- a/tools/debian-setup.sh | |
| +++ b/tools/debian-setup.sh | |
| @@ -172,6 +172,7 @@ ACTUAL_LIST=$BASIC_LIST | |
| # Now arrange for optional support libraries | |
| if [ $ADDITIONAL ] | |
| then | |
| + echo "Adding additional" |
| $ make packet-aeron.o -k | |
| CC packet-aeron.o | |
| warning: optimization flag '-fno-delete-null-pointer-checks' is not supported | |
| warning: optimization flag '-fexcess-precision=fast' is not supported | |
| warning: argument unused during compilation: '-fno-strict-overflow' | |
| warning: argument unused during compilation: '-fno-delete-null-pointer-checks' | |
| warning: argument unused during compilation: '-fexcess-precision=fast' | |
| warning: unknown warning option '-Wlogical-op'; did you mean '-Wlong-long'? [-Wunknown-warning-option] | |
| warning: unknown warning option '-Wjump-misses-init'; did you mean '-Wimplicit-int'? [-Wunknown-warning-option] |
| #include <stdio.h> | |
| #include <pcap.h> | |
| #include <unistd.h> | |
| int main(int argc, char* argv[]) | |
| { | |
| struct pcap_stat stat; | |
| pcap_t* pcaph; | |
| char errbuf[PCAP_ERRBUF_SIZE]; |