Resolve "rocksdb compilation may need -Wno-error=maybe-uninitialized in the future"

Closes #236 (closed)

Edited by Ramon Nou

Merge request reports

Loading
+1 −1
Changes for scripts/profiles/0.9.1/install/rocksdb.install: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -48,7 +48,7 @@ pkg_install() {
    # gcc 9 and clang 8 need -Wno-error=deprecated-copy -Wno-error=pessimizing-move
    if [[ ("${COMPILER_NAME}" == "g++" && "${COMPILER_MAJOR_VERSION}" -ge 9) ||
          ("${COMPILER_NAME}" == "clang" && "${COMPILER_MAJOR_VERSION}" -ge 8) ]]; then
        CXXFLAGS='-Wno-error=deprecated-copy -Wno-error=pessimizing-move'
        CXXFLAGS='-Wno-error=deprecated-copy -Wno-error=pessimizing-move -Wno-error=maybe-uninitialized'
    fi

    # TODO use SSE?
Loading