CalculiX is using libstdc++ (this installation is configured to use libc++)

Mark Brethen mark.brethen at gmail.com
Thu Jul 28 16:17:14 UTC 2022


~ $ 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?

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/f6065a45/attachment.htm>


More information about the macports-dev mailing list