We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
I'm trying to build boson on Arch Linux using the latest version of GCC (8.2.1).
-- Build files have been written to: /home/alexander/archpackages/boson/src/boson/build [34/87] Building CXX object src/boson/test/CMakeFiles/unit_tests.dir/select.o FAILED: src/boson/test/CMakeFiles/unit_tests.dir/select.o /usr/lib/ccache/bin/c++ -I../src/boson/boson -I../src/boson/src/linux -I../src/boson -Isrc/boson -I../3rdparty/fmt -I../3rdparty/wfqueue/SYSTEM -I../3rdparty/wfqueue -I../3rdparty/catch -w -Wfatal-errors -std=c++14 -Wno-pragmas -MD -MT src/boson/test/CMakeFiles/unit_tests.dir/select.o -MF src/boson/test/CMakeFiles/unit_tests.dir/select.o.d -o src/boson/test/CMakeFiles/unit_tests.dir/select.o -c ../src/boson/test/select.cc ../src/boson/test/select.cc: In lambda function: ../src/boson/test/select.cc:376:14: error: using typedef-name ‘using sockaddr_in = struct sockaddr_in’ after ‘struct’ struct sockaddr_in cli_addr; ^~~~~~~~~~~ compilation terminated due to -Wfatal-errors.
Here is the PKGBUILD I'm working on, with the commands I use to build:
# Maintainer: Alexander F. Rødseth <[email protected]> pkgname=boson pkgver=1.0 pkgrel=1 pkgdesc='Coroutine library for C++14' arch=('x86_64') url='https://github.com/duckie/boson' license=('MIT') makedepends=('cmake' 'doxygen' 'git' 'ninja') source=("git://github.com/duckie/boson#commit=f3eb787f") md5sums=('SKIP') prepare() { sed -i 's/std=c++1y/std=c++14/g' "$pkgname/cmake/ProjectGlobalMacros.cmake" } build() { cd "$pkgname" mkdir -p build cd build cmake .. \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_CXX_FLAGS="-w -Wfatal-errors" \ -G Ninja ninja } package() { DESTDIR="$pkgdir" ninja -C "$pkgname/build" install } # vim: ts=2 sw=2 et:
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
I'm trying to build boson on Arch Linux using the latest version of GCC (8.2.1).
Here is the PKGBUILD I'm working on, with the commands I use to build:
The text was updated successfully, but these errors were encountered: