You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2018/06/06 15:26:00 UTC
[jira] [Commented] (QPID-8200) [linearstore] Compile error when
compiling on Fedora 28
[ https://issues.apache.org/jira/browse/QPID-8200?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16503447#comment-16503447 ]
ASF subversion and git services commented on QPID-8200:
-------------------------------------------------------
Commit fcfd6759f13419f1e74a5e7efd0c81fbd0c25e48 in qpid-cpp's branch refs/heads/master from [~kpvdr]
[ https://git-wip-us.apache.org/repos/asf?p=qpid-cpp.git;h=fcfd675 ]
QPID-8200: Fix for legacystore compiling under Fedora 28. Similar to that on linearstore, plus some additional cleanup. Also fixed a linker issue on F28 through adding the rec_hdr.cpp file.
> [linearstore] Compile error when compiling on Fedora 28
> -------------------------------------------------------
>
> Key: QPID-8200
> URL: https://issues.apache.org/jira/browse/QPID-8200
> Project: Qpid
> Issue Type: Bug
> Components: C++ Broker
> Reporter: Kim van der Riet
> Assignee: Kim van der Riet
> Priority: Major
>
> When compiling on Fedora 28, a compile warning {{-Werror=class-memaccess}} is seen when compiling {{qpid::linearstore::journal::pmgr}} , and which was not seen on Fedora 27:
> {noformat}
> qpid::linearstore::journal::pmgr::initialize(qpid::linearstore::journal::aio_callback*, uint32_t, uint16_t)':
> /foo/cpp/src/qpid/linearstore/journal/pmgr.cpp:115:68: error: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct qpid::linearstore::journal::pmgr::page_cb'; use assignment instead [-Werror=class-memaccess]
> std::memset(_page_cb_arr, 0, _cache_num_pages * sizeof(page_cb));
> ^
> In file included from /foo/cpp/src/qpid/linearstore/journal/pmgr.cpp:22:
> /foo/cpp/src/qpid/linearstore/journal/pmgr.h:63:12: note: 'struct qpid::linearstore::journal::pmgr::page_cb' declared here
> struct page_cb
> ^~~~~~~
> cc1plus: all warnings being treated as errors{noformat}
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org