Uploaded image for project: 'MariaDB ColumnStore'
  1. MariaDB ColumnStore
  2. MCOL-4839

clang compile error: swap<logging::Message>' is missing exception specification

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • None
    • 6.2.1, 6.2.2
    • None
    • clang version 12.0.1 (Fedora 12.0.1-1.fc34)
      Target: x86_64-unknown-linux-gnu
      Thread model: posix
      InstalledDir: /usr/bin

    Description

      FAILED: storage/columnstore/columnstore/utils/common/CMakeFiles/common.dir/utils_utf8.cpp.o 
      /usr/lib64/ccache/clang++ -DDBUG_TRACE -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -Dcommon_EXPORTS -I../wsrep-lib/include -I../wsrep-lib/wsrep-API/v26 -Iinclude -Istorage/columnstore/columnstore -I../storage/columnstore/columnstore/utils/common/. -I../storage/columnstore/columnstore/utils/common/.. -I../storage/columnstore/columnstore/utils/common/../.. -I../include -I../storage/columnstore/columnstore/utils/messageqcpp -I../storage/columnstore/columnstore/writeengine/shared -I../storage/columnstore/columnstore/utils/idbdatafile -I../storage/columnstore/columnstore/utils/loggingcpp -Istorage/columnstore/columnstore/utils/loggingcpp -I../storage/columnstore/columnstore/utils/configcpp -I../storage/columnstore/columnstore/utils/compress -I../storage/columnstore/columnstore/versioning/BRM -I../storage/columnstore/columnstore/utils/rowgroup -I../storage/columnstore/columnstore/utils/common -I../storage/columnstore/columnstore/utils/dataconvert -I../storage/columnstore/columnstore/utils/rwlock -I../storage/columnstore/columnstore/utils/funcexp -I../storage/columnstore/columnstore/utils -I../storage/columnstore/columnstore/oam/oamcpp -I../storage/columnstore/columnstore/dbcon/ddlpackageproc -I../storage/columnstore/columnstore/dbcon/ddlpackage -I../storage/columnstore/columnstore/dbcon/execplan -I../storage/columnstore/columnstore/utils/startup -I../storage/columnstore/columnstore/dbcon/joblist -I../storage/columnstore/columnstore/writeengine/wrapper -I../storage/columnstore/columnstore/writeengine/server -I../storage/columnstore/columnstore/dbcon/dmlpackage -I../storage/columnstore/columnstore/writeengine/client -I../storage/columnstore/columnstore/dbcon/dmlpackageproc -I../storage/columnstore/columnstore/utils/cacheutils -I../storage/columnstore/columnstore/utils/mysqlcl_idb -I../storage/columnstore/columnstore/utils/querytele -I../storage/columnstore/columnstore/utils/thrift -I../storage/columnstore/columnstore/utils/joiner -I../storage/columnstore/columnstore/utils/threadpool -I../storage/columnstore/columnstore/utils/batchloader -I../storage/columnstore/columnstore/utils/ddlcleanup -I../storage/columnstore/columnstore/utils/querystats -I../storage/columnstore/columnstore/writeengine/xml -I../sql -I../include/../pcre -I../storage/columnstore/columnstore/utils/udfsdk -I../storage/columnstore/columnstore/utils/libmysql_client -I../storage/columnstore/columnstore/datatypes -I/usr/include/libxml2 -fstack-protector --param=ssp-buffer-size=4 -O3 -g -fno-omit-frame-pointer -fno-strict-aliasing -Wno-parentheses-equality -Wno-string-plus-int -fno-omit-frame-pointer -D_FORTIFY_SOURCE=2 -DDBUG_OFF -Wall -Wdeclaration-after-statement -Wextra -Wformat-security -Wno-init-self -Wno-null-conversion -Wno-unused-parameter -Wno-unused-private-field -Woverloaded-virtual -Wnon-virtual-dtor -Wvla -Wwrite-strings -fPIC -std=c++11 -MD -MT storage/columnstore/columnstore/utils/common/CMakeFiles/common.dir/utils_utf8.cpp.o -MF storage/columnstore/columnstore/utils/common/CMakeFiles/common.dir/utils_utf8.cpp.o.d -o storage/columnstore/columnstore/utils/common/CMakeFiles/common.dir/utils_utf8.cpp.o -c ../storage/columnstore/columnstore/utils/common/utils_utf8.cpp
      In file included from ../storage/columnstore/columnstore/utils/common/utils_utf8.cpp:16:
      In file included from ../storage/columnstore/columnstore/utils/common/./utils_utf8.h:39:
      In file included from ../storage/columnstore/columnstore/oam/oamcpp/liboamcpp.h:44:
      In file included from ../storage/columnstore/columnstore/utils/messageqcpp/bytestream.h:36:
      In file included from ../storage/columnstore/columnstore/utils/loggingcpp/exceptclasses.h:35:
      In file included from ../storage/columnstore/columnstore/utils/loggingcpp/idberrorinfo.h:31:
      ../storage/columnstore/columnstore/utils/loggingcpp/messageobj.h:162:24: error: 'swap<logging::Message>' is missing exception specification 'noexcept(__and_<is_nothrow_move_constructible<Message>, is_nothrow_move_assignable<Message>>::value)'
      template<> inline void swap<logging::Message>(logging::Message& lhs, logging::Message& rhs)
                             ^
                                                                                                  noexcept(__and_<is_nothrow_move_constructible<Message>, is_nothrow_move_assignable<Message>>::value)
      ../storage/columnstore/columnstore/utils/loggingcpp/messageobj.h:162:24: note: previous declaration is here
      1 error generated.
      ninja: build stopped: subcommand failed.
      
      

      Attachments

        Activity

          People

            Richard Richard Stracke
            danblack Daniel Black
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.