Trying to compile this with LLVM/Clang 12 with -Werror,-Wall and the symbol stderr couldn't be found because it lives in stdio.h that wasn't #include'd. Also the data structure NetworkTrackeris originally defined as a class, but then in networkTracker.cpp it is referred to as a struct. The course of action for that issue is to remove the struct keyword so it is treated as a class.
Trying to compile this with LLVM/Clang 12 with
-Werror,-Wall
and the symbolstderr
couldn't be found because it lives instdio.h
that wasn't#include
'd. Also the data structureNetworkTracker
is originally defined as aclass
, but then innetworkTracker.cpp
it is referred to as astruct
. The course of action for that issue is to remove thestruct
keyword so it is treated as aclass
.This PR fixes these two issues.