#67511 closed defect (fixed)

gmsh @4.11.1: error: call to undeclared library function

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: Cc:
Port: gmsh

Description

https://build.macports.org/builders/ports-13_x86_64-builder/builds/34690/steps/install-port/logs/stdio

/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_science_gmsh/gmsh/work/gmsh-4.11.1-source/contrib/blossom/concorde97/EDGEGEN/edgegen.c:1680:18: error: call to undeclared library function 'strlen' with type 'unsigned long (const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
            p += strlen (area);
                 ^
/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_science_gmsh/gmsh/work/gmsh-4.11.1-source/contrib/blossom/concorde97/EDGEGEN/edgegen.c:1680:18: note: include the header <string.h> or explicitly provide a declaration for 'strlen'
/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_science_gmsh/gmsh/work/gmsh-4.11.1-source/contrib/blossom/concorde97/EDGEGEN/edgegen.c:1683:18: error: call to undeclared library function 'strcmp' with type 'int (const char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
            if (!strcmp (area, "EDGEGEN")) {
                 ^
/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_science_gmsh/gmsh/work/gmsh-4.11.1-source/contrib/blossom/concorde97/EDGEGEN/edgegen.c:1683:18: note: include the header <string.h> or explicitly provide a declaration for 'strcmp'
2 errors generated.

See WimplicitFunctionDeclaration.

Change History (1)

comment:1 Changed 11 months ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.