<p style="white-space: pre-wrap; word-wrap: break-word;">res_agi as well,</p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">res_agi.c: In function ‘agi_exec_full’:<br>res_agi.c:4513:11: error: array subscript ‘<unknown>’ is outside the bounds of an interior zero-length array ‘char *[0]’ [-Werror=zero-length-bounds]<br> 4513 | args.argv[args.argc] = NULL;<br> | ~~~~~~~~~^~~~~~~~~~~<br>res_agi.c:4499:36: note: while referencing ‘argv’<br> 4499 | AST_DECLARE_APP_ARGS(args,<br> | ^ <br>res_agi.c:4499:64: note: defined here ‘args’<br> 4499 | AST_DECLARE_APP_ARGS(args,<br> | ^ <br>res_agi.c:4521:8: error: array subscript 0 is outside the bounds of an interior zero-length array ‘char *[0]’ [-Werror=zero-length-bounds]<br> 4521 | res = launch_script(chan, args.argv[0], args.argc, args.argv, fds, enhanced ? &efd : NULL, &pid);</pre><p style="white-space: pre-wrap; word-wrap: break-word;">But after disabling those two I can build.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/15441">View Change</a></p><ul style="list-style: none; padding: 0;"></ul><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/15441">change 15441</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.asterisk.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.asterisk.org/c/asterisk/+/15441"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I5b9f02a9b290675682a1d13f1788fdda597c9fca </div>
<div style="display:none"> Gerrit-Change-Number: 15441 </div>
<div style="display:none"> Gerrit-PatchSet: 3 </div>
<div style="display:none"> Gerrit-Owner: Jaco Kroon <jaco@uls.co.za> </div>
<div style="display:none"> Gerrit-Reviewer: Friendly Automation </div>
<div style="display:none"> Gerrit-Reviewer: George Joseph <gjoseph@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Joshua Colp <jcolp@sangoma.com> </div>
<div style="display:none"> Gerrit-Reviewer: Kevin Harwell <kharwell@digium.com> </div>
<div style="display:none"> Gerrit-Comment-Date: Wed, 24 Feb 2021 12:55:17 +0000 </div>
<div style="display:none"> Gerrit-HasComments: No </div>
<div style="display:none"> Gerrit-Has-Labels: No </div>
<div style="display:none"> Gerrit-MessageType: comment </div>