[jira] [Updated] (PROTON-1815) [C++ binding] Complex types: List containing array of std::nullptr_t fails compilation

2018-03-29 Thread Kim van der Riet (JIRA)

 [ 
https://issues.apache.org/jira/browse/PROTON-1815?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kim van der Riet updated PROTON-1815:
-
Issue Type: Bug  (was: Task)

> [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
>Priority: Major
>
> 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’ used in nested name specifier
> {noformat}
> Code snippet that produces this error:
> {noformat}
> std::vector _arr_27 = {nullptr, nullptr, };
> std::vector _arr_28 = {int8_t(1), int8_t(2), };
> std::vector _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: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Updated] (PROTON-1815) [C++ binding] Complex types: List containing array of std::nullptr_t fails compilation

2018-03-28 Thread Kim van der Riet (JIRA)

 [ 
https://issues.apache.org/jira/browse/PROTON-1815?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kim van der Riet updated PROTON-1815:
-
Description: 
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’ used in nested name specifier
{noformat}
Code snippet that produces this error:
{noformat}
std::vector _arr_27 = {nullptr, nullptr, };
std::vector _arr_28 = {int8_t(1), int8_t(2), };
std::vector _lst_7 = {_arr_27, _arr_28, };
{noformat}
which fails on the third line.

  was:
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’ used in nested name specifier
{noformat}
Code snippet that produces this error:
{noformat}
std::vector _arr_27 = {nullptr, nullptr, };
std::vector _arr_28 = {int8_t(1), int8_t(2), };
std::vector _lst_7 = {_arr_27, _arr_28, };
{noformat}


> [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: Task
>  Components: cpp-binding
>Reporter: Kim van der Riet
>Priority: Major
>
> 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’ used in nested name specifier
> {noformat}
> Code snippet that produces this error:
> {noformat}
> std::vector _arr_27 = {nullptr, nullptr, };
> std::vector _arr_28 = {int8_t(1), int8_t(2), };
> std::vector _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: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org