[Asterisk-code-review] app.h: Restore C++ compatibility for macro AST_DECLARE_APP_ARGS (asterisk[master])
Kevin Harwell
asteriskteam at digium.com
Wed Feb 10 11:54:07 CST 2021
Kevin Harwell has posted comments on this change. ( https://gerrit.asterisk.org/c/asterisk/+/15399 )
Change subject: app.h: Restore C++ compatibility for macro AST_DECLARE_APP_ARGS
......................................................................
Patch Set 1:
I thought this part of the code changed due to a problem building with gcc 10. However after reverting the offending section of code it still builds fine using gcc 9 and 10. It could have been that newer versions of gcc had problems with other zero length arrays and I went on a mission to fix all potential causing spots since a zero length array in the middle of a struct is discouraged.
Anyhow, I agree with Jaco. Changing back to a zero length array here should be fine since it seemingly did not cause a problem before.
--
To view, visit https://gerrit.asterisk.org/c/asterisk/+/15399
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings
Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Change-Id: Ibb299334d527fcd2af2b023fe64925ecece77d6d
Gerrit-Change-Number: 15399
Gerrit-PatchSet: 1
Gerrit-Owner: Jean Aunis - Prescom <jean.aunis at prescom.fr>
Gerrit-Reviewer: Friendly Automation
Gerrit-Reviewer: Jaco Kroon <jaco at uls.co.za>
Gerrit-CC: Kevin Harwell <kharwell at digium.com>
Gerrit-Comment-Date: Wed, 10 Feb 2021 17:54:07 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20210210/f8d3492d/attachment.html>
More information about the asterisk-code-review
mailing list