<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div dir="ltr"></div><div dir="ltr"><br></div><div dir="ltr"><br><blockquote type="cite">On 28 Jul 2022, at 5:21 pm, Chris Jones <jonesc@hep.phy.cam.ac.uk> wrote:<br><br></blockquote></div><blockquote type="cite"><div dir="ltr"><meta http-equiv="content-type" content="text/html; charset=utf-8"><div dir="ltr"></div><div dir="ltr"><br></div><div dir="ltr"><br><blockquote type="cite">On 28 Jul 2022, at 5:17 pm, Mark Brethen <mark.brethen@gmail.com> wrote:<br><br></blockquote></div><blockquote type="cite"><div dir="ltr"><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><div class=""><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">~ $ cd /opt/local/var/macports/build/_Users_marbre_ports_cad_CalculiX/CalculiX/work/CalculiX/cgx_2.18/src</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">src $ sudo ack DrawCommandLine</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Password:</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(47, 180, 29);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><b class="">cgx.c</b></span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #9fa01c" class=""><b class="">5009</b></span><span style="font-variant-ligatures: no-common-ligatures" class="">: </span><span style="font-variant-ligatures: no-common-ligatures; background-color: rgb(135, 138, 4);" class="">DrawCommandLine</span><span style="font-variant-ligatures: no-common-ligatures" class="">(keystroke, strlen(keystroke)+curshft);</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #9fa01c" class=""><b class="">5071</b></span><span style="font-variant-ligatures: no-common-ligatures" class="">: </span><span style="font-variant-ligatures: no-common-ligatures; background-color: rgb(135, 138, 4);" class="">DrawCommandLine</span><span style="font-variant-ligatures: no-common-ligatures" class="">(keystroke, strlen(keystroke)+curshft);</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #9fa01c" class=""><b class="">5799</b></span><span style="font-variant-ligatures: no-common-ligatures;" class="">: </span><span style="font-variant-ligatures: no-common-ligatures; background-color: #878a04" class="">DrawCommandLine</span><span style="font-variant-ligatures: no-common-ligatures;" class="">(0,0);</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #9fa01c" class=""><b class="">5803</b></span><span style="font-variant-ligatures: no-common-ligatures" class="">:void </span><span style="font-variant-ligatures: no-common-ligatures; background-color: rgb(135, 138, 4);" class="">DrawCommandLine</span><span style="font-variant-ligatures: no-common-ligatures" class="">(char *string, int curpos)</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #9fa01c" class=""><b class="">5807</b></span><span style="font-variant-ligatures: no-common-ligatures" class="">: printf(" in </span><span style="font-variant-ligatures: no-common-ligatures; background-color: rgb(135, 138, 4);" class="">DrawCommandLine</span><span style="font-variant-ligatures: no-common-ligatures" class="">\n");</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #9fa01c" class=""><b class="">5874</b></span><span style="font-variant-ligatures: no-common-ligatures;" class="">: </span><span style="font-variant-ligatures: no-common-ligatures; background-color: #878a04" class="">DrawCommandLine</span><span style="font-variant-ligatures: no-common-ligatures;" class="">(0,0);</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; min-height: 13px;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""></span><br class=""></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(47, 180, 29);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><b class="">cgx.h</b></span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #9fa01c" class=""><b class="">588</b></span><span style="font-variant-ligatures: no-common-ligatures" class="">:void </span><span style="font-variant-ligatures: no-common-ligatures; background-color: rgb(135, 138, 4);" class="">DrawCommandLine</span><span style="font-variant-ligatures: no-common-ligatures" class="">(char *string, int curpos);</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; min-height: 13px;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""></span><br class=""></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(47, 180, 29);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><b class="">parser.c</b></span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #9fa01c" class=""><b class="">85</b></span><span style="font-variant-ligatures: no-common-ligatures" class="">: </span><span style="font-variant-ligatures: no-common-ligatures; background-color: rgb(135, 138, 4);" class="">DrawCommandLine</span><span style="font-variant-ligatures: no-common-ligatures" class="">(keystroke, strlen(keystroke)+*curshft);</span></div></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><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><br></div>Based on the above, no, but instead add it to parser.c<br></div></blockquote><div><br></div>Apologies, misread your reply. I would say yes to the first part.<div><br><blockquote type="cite"><div dir="ltr"><blockquote type="cite"><div dir="ltr"><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><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 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="">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 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 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=""><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="">- Josh</span></div></blockquote></div><br class=""></div></blockquote></div></blockquote></div></body></html>