Closed rxseger closed 8 years ago
Can you take a look at why the travis OSX build didn't complain about this? I rely on travis to test on OSX as I don't have an OSX environment myself.
Looks like the Travis build is using an old version:
https://travis-ci.org/mutability/dump1090/jobs/135817544
$ gcc --version
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 6.0 (clang-600.0.54) (based on LLVM 3.5svn)
Target: x86_64-apple-darwin13.4.0
Thread model: posix
https://en.wikipedia.org/wiki/Darwin_(operating_system)#Release_history Darwin 13.4.0 = September 17, 2014 OS X v10.9.5
versus the latest:
~ $ xcodebuild -version
Xcode 7.3.1
Build version 7D1014
~ $ clang -v
Apple LLVM version 7.3.0 (clang-703.0.31)
Target: x86_64-apple-darwin15.5.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
~ $ sw_vers
ProductName: Mac OS X
ProductVersion: 10.11.5
BuildVersion: 15F34
https://docs.travis-ci.com/user/osx-ci-environment/#OS-X-Version
Travis CI uses OS X 10.9.5 (and Xcode 6.1) by default . You can use another version of OS X (and Xcode) by specifying the corresponding osx_image key
will investigate. We may want to continue testing on older versions to ensure they don't break; multiple OS X images: http://stackoverflow.com/questions/36710744/how-to-include-multiple-os-x-images-in-travis-yml
Attempting to compile on OS X 10.11.5 (with librtlsdr installed via Homebrew) fails due to unused functions:
Not sure if you want to keep these functions around? But if I remove them (as in this PR), the compilation succeeds.