Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot build 4.0.3 with clang #123

Open
drook opened this issue Aug 7, 2020 · 0 comments
Open

Cannot build 4.0.3 with clang #123

drook opened this issue Aug 7, 2020 · 0 comments

Comments

@drook
Copy link

drook commented Aug 7, 2020

Cannot build swiften with clang 8.x:

Build invoked as:

./scons V=1 swiften_dll=1 boost_bundled_enable=false boost_libdir=/usr/local/lib Swiften SWIFTEN_INSTALLDIR=/usr/local/swiften /usr/local/swiften

Boost: 1.72.0_2
Clang:

FreeBSD clang version 8.0.1 (tags/RELEASE_801/final 366581) (based on LLVM 8.0.1)
Target: x86_64-unknown-freebsd12.1
Thread model: posix
InstalledDir: /usr/bin

Crash:

Swiften/Network/PlatformNATTraversalWorker.cpp:160:58: error: invalid operands to binary expression
      ('basic_ostream<char, std::__1::char_traits<char> >' and 'boost::logic::tribool')
    SWIFT_LOG(debug) << "UPnP NAT traversal supported: " << miniUPnPSupported << std::endl;
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^  ~~~~~~~~~~~~~~~~~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant