CalculiX is using libstdc++ (this installation is configured to use libc++)
Chris Jones
jonesc at hep.phy.cam.ac.uk
Thu Jul 28 16:21:39 UTC 2022
> On 28 Jul 2022, at 5:17 pm, Mark Brethen <mark.brethen at gmail.com> wrote:
>
>
> ~ $ cd /opt/local/var/macports/build/_Users_marbre_ports_cad_CalculiX/CalculiX/work/CalculiX/cgx_2.18/src
> src $ sudo ack DrawCommandLine
> Password:
> cgx.c
> 5009: DrawCommandLine(keystroke, strlen(keystroke)+curshft);
> 5071: DrawCommandLine(keystroke, strlen(keystroke)+curshft);
> 5799: DrawCommandLine(0,0);
> 5803:void DrawCommandLine(char *string, int curpos)
> 5807: printf(" in DrawCommandLine\n");
> 5874: DrawCommandLine(0,0);
>
> cgx.h
> 588:void DrawCommandLine(char *string, int curpos);
>
> parser.c
> 85: DrawCommandLine(keystroke, strlen(keystroke)+*curshft);
>
>
> cgx.h has 'void DrawCommandLine(char *string, int curpos);’
>
> cgx.c has '#include <cgx.h>’
>
> parser.c has '#include <extUtil.h>’ only
>
> should I add '#include <cgx.h>’ to parser.c or add 'void DrawCommandLine(char *string, int curpos);’ to extUtil.h?
Based on the above, no, but instead add it to parser.c
>
> Mark Brethen
> mark.brethen at gmail.com
>
>
>
>> On Jul 27, 2022, at 8:41 PM, Joshua Root <jmr at macports.org> wrote:
>>
>> 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. :)
>>
>> - Josh
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-dev/attachments/20220728/4d240a99/attachment-0001.htm>
More information about the macports-dev
mailing list