Keepassxc: Werror CMakeLists flag blocks compilation

Created on 28 Feb 2018  路  1Comment  路  Source: keepassxreboot/keepassxc

GCC 8 is not able to finish compilation when -Werror flag is present in CMakeLists.txt
build log of Fedora 28 compilation
Full logs list

Note: compilation has been runned with flags

    -DWITH_TESTS=OFF \
    -DWITH_XC_HTTP=ON \
    -DWITH_XC_AUTOTYPE=ON \
    -DWITH_XC_YUBIKEY=ON \
    -DCMAKE_BUILD_TYPE=Release
bug build system

Most helpful comment

Note: If you are planning to enable all the XC feature please use -DWITH_XC_ALL=ON instead of single switch.

WITH_XC_ALL includes:

  • Auto-Type WITH_XC_AUTOTYPE "Automatic password typing"
  • Networking WITH_XC_NETWORKING "Compile KeePassXC with network access code (e.g. for downloading website icons)"
  • KeePassXC-Browser WITH_XC_BROWSER "Browser integration with KeePassXC-Browser"
  • KeePassHTTP WITH_XC_HTTP "Browser integration compatible with ChromeIPass and PassIFox (deprecated, implies Networking)"
  • SSHAgent WITH_XC_SSHAGENT "SSH agent integration compatible with KeeAgent"
  • YubiKey WITH_XC_YUBIKEY "YubiKey HMAC-SHA1 challenge-response"

>All comments

Note: If you are planning to enable all the XC feature please use -DWITH_XC_ALL=ON instead of single switch.

WITH_XC_ALL includes:

  • Auto-Type WITH_XC_AUTOTYPE "Automatic password typing"
  • Networking WITH_XC_NETWORKING "Compile KeePassXC with network access code (e.g. for downloading website icons)"
  • KeePassXC-Browser WITH_XC_BROWSER "Browser integration with KeePassXC-Browser"
  • KeePassHTTP WITH_XC_HTTP "Browser integration compatible with ChromeIPass and PassIFox (deprecated, implies Networking)"
  • SSHAgent WITH_XC_SSHAGENT "SSH agent integration compatible with KeeAgent"
  • YubiKey WITH_XC_YUBIKEY "YubiKey HMAC-SHA1 challenge-response"
Was this page helpful?
0 / 5 - 0 ratings