[
https://issues.apache.org/jira/browse/PROTON-1815?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrew Stitcher resolved PROTON-1815.
-------------------------------------
Resolution: Fixed
Fix Version/s: proton-c-0.23.0
> [C++ binding] Complex types: List containing array of std::nullptr_t fails
> compilation
> ---------------------------------------------------------------------------------------
>
> Key: PROTON-1815
> URL: https://issues.apache.org/jira/browse/PROTON-1815
> Project: Qpid Proton
> Issue Type: Bug
> Components: cpp-binding
> Reporter: Kim van der Riet
> Assignee: Andrew Stitcher
> Priority: Major
> Fix For: proton-c-0.23.0
>
>
> If an array of AMQP nulls is contained in a list, the compiler fails with:
> {noformat}
> include/proton/./codec/vector.hpp:39:31: error: incomplete type
> ‘proton::internal::type_id_of<std::nullptr_t>’ used in nested name specifier
> {noformat}
> Code snippet that produces this error:
> {noformat}
> std::vector<std::nullptr_t> _arr_27 = {nullptr, nullptr, };
> std::vector<int8_t> _arr_28 = {int8_t(1), int8_t(2), };
> std::vector<proton::value> _lst_7 = {_arr_27, _arr_28, };
> {noformat}
> which fails on the third line.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]