[
https://issues.apache.org/jira/browse/DISPATCH-1715?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17160661#comment-17160661
]
ASF GitHub Bot commented on DISPATCH-1715:
------------------------------------------
jiridanek commented on pull request #776:
URL: https://github.com/apache/qpid-dispatch/pull/776#issuecomment-660635075
This patch takes the `enum` option. CI passed at
https://travis-ci.com/github/jiridanek/qpid-dispatch/builds/176207089, so I'll
just merge this and move on.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> [clang-10] error: variable length array folded to constant array as an
> extension
> --------------------------------------------------------------------------------
>
> Key: DISPATCH-1715
> URL: https://issues.apache.org/jira/browse/DISPATCH-1715
> Project: Qpid Dispatch
> Issue Type: Bug
> Components: Tests
> Affects Versions: 1.13.0
> Reporter: Jiri Daněk
> Priority: Major
>
> https://travis-ci.com/github/jiridanek/qpid-dispatch/jobs/362430085
> {noformat}
> [ 95%] Building C object tests/CMakeFiles/unit_tests.dir/hash_test.c.o
> /home/travis/build/jiridanek/qpid-dispatch/tests/hash_test.c:44:31: error:
> variable length array folded to constant array as an extension
> [-Werror,-Wgnu-folding-constant]
> qd_hash_handle_t *handles[key_count];
> ^~~~~~~~~
> /home/travis/build/jiridanek/qpid-dispatch/tests/hash_test.c:114:31: error:
> variable length array folded to constant array as an extension
> [-Werror,-Wgnu-folding-constant]
> qd_hash_handle_t *handles[key_count];
> ^~~~~~~~~
> /home/travis/build/jiridanek/qpid-dispatch/tests/hash_test.c:179:31: error:
> variable length array folded to constant array as an extension
> [-Werror,-Wgnu-folding-constant]
> qd_hash_handle_t *handles[key_count];
> ^~~~~~~~~
> /home/travis/build/jiridanek/qpid-dispatch/tests/hash_test.c:249:31: error:
> variable length array folded to constant array as an extension
> [-Werror,-Wgnu-folding-constant]
> qd_hash_handle_t *handles[key_count];
> ^~~~~~~~~
> 4 errors generated.
> {noformat}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]