<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">cgx.h already had a call to extUtil.h, so I replaced it in parser.c. Build completed without further errors.<div class=""><br class=""></div><div class="">Thanks,<div class=""><div class="">
<div class="">Mark</div><div class=""><br class=""></div><br class="Apple-interchange-newline">

</div>
<div><br class=""><blockquote type="cite" class=""><div class="">On Jul 28, 2022, at 11:22 AM, Chris Jones <<a href="mailto:jonesc@hep.phy.cam.ac.uk" class="">jonesc@hep.phy.cam.ac.uk</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta charset="UTF-8" class=""><div dir="ltr" style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><br class="Apple-interchange-newline"><br class=""><blockquote type="cite" class="">On 28 Jul 2022, at 5:21 pm, Chris Jones <<a href="mailto:jonesc@hep.phy.cam.ac.uk" class="">jonesc@hep.phy.cam.ac.uk</a>> wrote:<br class=""><br class=""></blockquote></div><blockquote type="cite" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><div dir="ltr" class=""><div dir="ltr" class=""></div><div dir="ltr" class=""><br class=""></div><div dir="ltr" class=""><br class=""><blockquote type="cite" class="">On 28 Jul 2022, at 5:17 pm, Mark Brethen <<a href="mailto:mark.brethen@gmail.com" class="">mark.brethen@gmail.com</a>> wrote:<br class=""><br class=""></blockquote></div><blockquote type="cite" class=""><div dir="ltr" class=""><div class=""><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">~ $ cd /opt/local/var/macports/build/_Users_marbre_ports_cad_CalculiX/CalculiX/work/CalculiX/cgx_2.18/src</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">src $ sudo ack DrawCommandLine</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">Password:</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(47, 180, 29);"><span class="" style="font-variant-ligatures: no-common-ligatures;"><b class="">cgx.c</b></span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures; color: rgb(159, 160, 28);"><b class="">5009</b></span><span class="" style="font-variant-ligatures: no-common-ligatures;">: <span class="Apple-converted-space"> </span></span><span class="" style="font-variant-ligatures: no-common-ligatures; background-color: rgb(135, 138, 4);">DrawCommandLine</span><span class="" style="font-variant-ligatures: no-common-ligatures;">(keystroke, strlen(keystroke)+curshft);</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures; color: rgb(159, 160, 28);"><b class="">5071</b></span><span class="" style="font-variant-ligatures: no-common-ligatures;">:   <span class="Apple-converted-space"> </span></span><span class="" style="font-variant-ligatures: no-common-ligatures; background-color: rgb(135, 138, 4);">DrawCommandLine</span><span class="" style="font-variant-ligatures: no-common-ligatures;">(keystroke, strlen(keystroke)+curshft);</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures; color: rgb(159, 160, 28);"><b class="">5799</b></span><span class="" style="font-variant-ligatures: no-common-ligatures;">: <span class="Apple-converted-space"> </span></span><span class="" style="font-variant-ligatures: no-common-ligatures; background-color: rgb(135, 138, 4);">DrawCommandLine</span><span class="" style="font-variant-ligatures: no-common-ligatures;">(0,0);</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures; color: rgb(159, 160, 28);"><b class="">5803</b></span><span class="" style="font-variant-ligatures: no-common-ligatures;">:void<span class="Apple-converted-space"> </span></span><span class="" style="font-variant-ligatures: no-common-ligatures; background-color: rgb(135, 138, 4);">DrawCommandLine</span><span class="" style="font-variant-ligatures: no-common-ligatures;">(char *string, int curpos)</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures; color: rgb(159, 160, 28);"><b class="">5807</b></span><span class="" style="font-variant-ligatures: no-common-ligatures;">:  printf(" in<span class="Apple-converted-space"> </span></span><span class="" style="font-variant-ligatures: no-common-ligatures; background-color: rgb(135, 138, 4);">DrawCommandLine</span><span class="" style="font-variant-ligatures: no-common-ligatures;">\n");</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures; color: rgb(159, 160, 28);"><b class="">5874</b></span><span class="" style="font-variant-ligatures: no-common-ligatures;">:   <span class="Apple-converted-space"> </span></span><span class="" style="font-variant-ligatures: no-common-ligatures; background-color: rgb(135, 138, 4);">DrawCommandLine</span><span class="" style="font-variant-ligatures: no-common-ligatures;">(0,0);</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; min-height: 13px;"><span class="" style="font-variant-ligatures: no-common-ligatures;"></span><br class=""></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(47, 180, 29);"><span class="" style="font-variant-ligatures: no-common-ligatures;"><b class="">cgx.h</b></span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures; color: rgb(159, 160, 28);"><b class="">588</b></span><span class="" style="font-variant-ligatures: no-common-ligatures;">:void<span class="Apple-converted-space"> </span></span><span class="" style="font-variant-ligatures: no-common-ligatures; background-color: rgb(135, 138, 4);">DrawCommandLine</span><span class="" style="font-variant-ligatures: no-common-ligatures;">(char *string, int curpos);</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; min-height: 13px;"><span class="" style="font-variant-ligatures: no-common-ligatures;"></span><br class=""></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(47, 180, 29);"><span class="" style="font-variant-ligatures: no-common-ligatures;"><b class="">parser.c</b></span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures; color: rgb(159, 160, 28);"><b class="">85</b></span><span class="" style="font-variant-ligatures: no-common-ligatures;">:   <span class="Apple-converted-space"> </span></span><span class="" style="font-variant-ligatures: no-common-ligatures; background-color: rgb(135, 138, 4);">DrawCommandLine</span><span class="" style="font-variant-ligatures: no-common-ligatures;">(keystroke, strlen(keystroke)+*curshft);</span></div></div><div class=""><span class="" style="font-variant-ligatures: no-common-ligatures;"><br class=""></span></div><div class=""><br class=""></div><div class="">cgx.h has 'void DrawCommandLine(char *string, int curpos);’ </div><div class=""><br class=""></div><div class="">cgx.c has '#include <cgx.h>’</div><div class=""><br class=""></div><div class="">parser.c has '#include <extUtil.h>’ only</div><div class=""><br class=""></div><div class="">should I add '#include <cgx.h>’ to parser.c or add 'void DrawCommandLine(char *string, int curpos);’  to extUtil.h?</div></div></blockquote><div class=""><br class=""></div>Based on the above, no, but instead add it to parser.c<br class=""></div></blockquote><div style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><br class=""></div><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">Apologies, misread your reply. I would say yes to the first part.</span><div style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><br class=""><blockquote type="cite" class=""><div dir="ltr" class=""><blockquote type="cite" class=""><div dir="ltr" class=""><br class=""><div class=""><div class="">Mark Brethen</div><div class=""><a href="mailto:mark.brethen@gmail.com" class="">mark.brethen@gmail.com</a></div><div class=""><br class=""></div><br class="Apple-interchange-newline"></div><div class=""><br class=""><blockquote type="cite" class=""><div class="">On Jul 27, 2022, at 8:41 PM, Joshua Root <<a href="mailto:jmr@macports.org" class="">jmr@macports.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><span class="" style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;">There's only one -Wimplicit-function-declaration warning in the log, so it doesn't look like there's a lot that needs fixing. Just say yes to function prototypes. :)</span><br class="" style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;"><br class="" style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;"><span class="" style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;">- Josh</span></div></blockquote></div></div></blockquote></div></blockquote></div></div></blockquote></div><br class=""></div></div></body></html>