=>> Building cad/calculix build started at Tue May 6 08:07:58 BST 2025 port directory: /usr/ports/cad/calculix package name: calculix-2.22 building for: FreeBSD pkg-builder.dan.net.uk 14.2-RELEASE FreeBSD 14.2-RELEASE amd64 maintained by: rsmith@xs4all.nl Makefile datestamp: -rw-r--r-- 1 root wheel 2528 Dec 29 14:16 /usr/ports/cad/calculix/Makefile Ports top last git commit: 5529c5919b Ports top unclean checkout: yes Port dir last git commit: 1a35b19e6d Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.2 Host OSVERSION: 1402000 Jail OSVERSION: 1402000 Job Id: 05 ---Begin Environment--- SHELL=/bin/sh OSVERSION=1402000 UNAME_v=FreeBSD 14.2-RELEASE UNAME_r=14.2-RELEASE BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.2 MASTERMNT=/usr/local/poudriere/data/.m/14-amd64-default-dan/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=screen OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/14-amd64-default-dan/05/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=14-amd64-default-dan SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/14-amd64-default-dan/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.2 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ===> The following configuration options are available for calculix-2.22: DOCS=on: Build and/or install documentation EXAMPLES=on: Build and/or install examples ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- rsmith@xs4all.nl --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- MAKE=/usr/local/bin/gmake XDG_DATA_HOME=/wrkdirs/usr/ports/cad/calculix/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/cad/calculix/work XDG_CACHE_HOME=/wrkdirs/usr/ports/cad/calculix/work/.cache HOME=/wrkdirs/usr/ports/cad/calculix/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/cad/calculix/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/cad/calculix/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/cad/calculix/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/cad/calculix/work XDG_CACHE_HOME=/wrkdirs/usr/ports/cad/calculix/work/.cache HOME=/wrkdirs/usr/ports/cad/calculix/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/cad/calculix/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/cad/calculix/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="/usr/local/llvm15/bin/clang" CFLAGS="-O2 -pipe -fpic -fstack-protector-strong -fno-strict-aliasing " CPP="/usr/local/llvm15/bin/clang-cpp" CPPFLAGS="-Wno-error=int-conversion" LDFLAGS=" -fstack-protector-strong " LIBS="" CXX="/usr/local/llvm15/bin/clang++" CXXFLAGS="-O2 -pipe -fpic -fstack-protector-strong -fno-strict-aliasing -std=c++98 " BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- PORTDOCS="" PORTEXAMPLES="" OSREL=14.2 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/CalculiX" EXAMPLESDIR="share/examples/calculix" DATADIR="share/calculix" WWWDIR="www/calculix" ETCDIR="etc/calculix" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/calculix DOCSDIR=/usr/local/share/doc/CalculiX EXAMPLESDIR=/usr/local/share/examples/calculix WWWDIR=/usr/local/www/calculix ETCDIR=/usr/local/etc/calculix --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles FORCE_PACKAGE=yes PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### #### CCACHE_CPP2=1 WITH_SSP_PORTS=yes WITH_SSP=yes #WITH_LTO=yes DISABLE_LICENSES=yes LICENSES_ACCEPTED=AGPLv3 APACHE10 APACHE11 APACHE20 ART10 ARTPERL10 ART20 BSD BSD2CLAUSE BSD3CLAUSE BSD4CLAUSE BSL CC0-1.0 CDDL ClArtistic EPL GFDL GMGPL GPLv1 GPLv2 GPLv3 GPLv3RLE ISCL LGPL20 LGPL21 LGPL3 LPPL10 LPPL11 LPPL12 LPPL13 LPPL13a LPPL13b LPPL13c MIT MPL OpenSSL OFL10 OFL11 OWL PostgreSQL PHP202 PHP30 PHP301 PSFL RUBY ZLIB ZPL21 SVM-Light EULA ALASIR Microsoft-exFAT SIMIAN UDEVGAME unknown MTA COMMERCIAL teamspeak NO_LICENSES_DIALOGS=yes #### #### NO_IGNORE=yes DEFAULT_VERSIONS+=ssl=openssl apache=2.4 imagemagick=7 java=21 linux=c7 mysql=8.0 php=8.3 samba=4.19 varnish=7 WITH_SETID_MODE=force PHP_ZTS=enabled OPTIONS_UNSET+=OPENJPEG OPTIONS_UNSET+=GSSAPI_BASE OPTIONS_SET+=ZTS OPTIONS_SET+=GSSAPI_NONE ALLOW_UNSUPPORTED_SYSTEM=yes WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 DISABLE_MAKE_JOBS=poudriere ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 8192 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited pipebuf (-y) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> calculix-2.22 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-2.1.2.pkg [pkg-builder.dan.net.uk] Installing pkg-2.1.2... [pkg-builder.dan.net.uk] Extracting pkg-2.1.2: .......... done ===> calculix-2.22 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of calculix-2.22 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by calculix-2.22 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by calculix-2.22 for building => SHA256 Checksum OK for calculix/cgx_2.22.all.tar.bz2. => SHA256 Checksum OK for calculix/cgx_2.22.htm.tar.bz2. => SHA256 Checksum OK for calculix/cgx_2.22.pdf. => SHA256 Checksum OK for calculix/cgx_2.22.exa.tar.bz2. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by calculix-2.22 for building ===> Extracting for calculix-2.22 => SHA256 Checksum OK for calculix/cgx_2.22.all.tar.bz2. => SHA256 Checksum OK for calculix/cgx_2.22.htm.tar.bz2. => SHA256 Checksum OK for calculix/cgx_2.22.pdf. => SHA256 Checksum OK for calculix/cgx_2.22.exa.tar.bz2. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for calculix-2.22 ===> Applying FreeBSD patches for calculix-2.22 from /usr/ports/cad/calculix/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> calculix-2.22 depends on package: gmake>=4.4.1 - not found ===> Installing existing package /packages/All/gmake-4.4.1.pkg [pkg-builder.dan.net.uk] Installing gmake-4.4.1... [pkg-builder.dan.net.uk] `-- Installing gettext-runtime-0.23.1... [pkg-builder.dan.net.uk] | `-- Installing indexinfo-0.3.1_1... [pkg-builder.dan.net.uk] | `-- Extracting indexinfo-0.3.1_1: . done [pkg-builder.dan.net.uk] `-- Extracting gettext-runtime-0.23.1: .......... done [pkg-builder.dan.net.uk] Extracting gmake-4.4.1: .......... done ===> calculix-2.22 depends on package: gmake>=4.4.1 - found ===> Returning to build of calculix-2.22 ===> calculix-2.22 depends on executable: llvm-config15 - not found ===> Installing existing package /packages/All/llvm15-15.0.7_10.pkg [pkg-builder.dan.net.uk] Installing llvm15-15.0.7_10... [pkg-builder.dan.net.uk] `-- Installing libedit-3.1.20250104,1... [pkg-builder.dan.net.uk] `-- Extracting libedit-3.1.20250104,1: .......... done [pkg-builder.dan.net.uk] `-- Installing lua53-5.3.6_1... [pkg-builder.dan.net.uk] `-- Extracting lua53-5.3.6_1: .......... done [pkg-builder.dan.net.uk] `-- Installing perl5-5.36.3_3... [pkg-builder.dan.net.uk] `-- Extracting perl5-5.36.3_3: .......... done [pkg-builder.dan.net.uk] `-- Installing python311-3.11.12... [pkg-builder.dan.net.uk] | `-- Installing libffi-3.4.8... [pkg-builder.dan.net.uk] | `-- Extracting libffi-3.4.8: .......... done [pkg-builder.dan.net.uk] | `-- Installing mpdecimal-4.0.0... [pkg-builder.dan.net.uk] | `-- Extracting mpdecimal-4.0.0: .......... done [pkg-builder.dan.net.uk] | `-- Installing openssl-3.0.16,1... [pkg-builder.dan.net.uk] | `-- Extracting openssl-3.0.16,1: .......... done [pkg-builder.dan.net.uk] | `-- Installing readline-8.2.13_2... [pkg-builder.dan.net.uk] | `-- Extracting readline-8.2.13_2: .......... done [pkg-builder.dan.net.uk] `-- Extracting python311-3.11.12: .......... done [pkg-builder.dan.net.uk] `-- Installing zstd-1.5.7... [pkg-builder.dan.net.uk] | `-- Installing liblz4-1.10.0,1... [pkg-builder.dan.net.uk] | `-- Extracting liblz4-1.10.0,1: .......... done [pkg-builder.dan.net.uk] `-- Extracting zstd-1.5.7: .......... done [pkg-builder.dan.net.uk] Extracting llvm15-15.0.7_10: .......... done ===== Message from python311-3.11.12: -- Note that some standard Python modules are provided as separate ports as they require additional dependencies. They are available as: py311-gdbm databases/py-gdbm@py311 py311-sqlite3 databases/py-sqlite3@py311 py311-tkinter x11-toolkits/py-tkinter@py311 ===> calculix-2.22 depends on executable: llvm-config15 - found ===> Returning to build of calculix-2.22 ===> calculix-2.22 depends on package: xorgproto>=0 - not found ===> Installing existing package /packages/All/xorgproto-2024.1.pkg [pkg-builder.dan.net.uk] Installing xorgproto-2024.1... [pkg-builder.dan.net.uk] Extracting xorgproto-2024.1: .......... done ===> calculix-2.22 depends on package: xorgproto>=0 - found ===> Returning to build of calculix-2.22 ===> calculix-2.22 depends on package: xorgproto>=0 - found ===> calculix-2.22 depends on file: /usr/local/libdata/pkgconfig/ice.pc - not found ===> Installing existing package /packages/All/libICE-1.1.1,1.pkg [pkg-builder.dan.net.uk] Installing libICE-1.1.1,1... [pkg-builder.dan.net.uk] Extracting libICE-1.1.1,1: .......... done ===> calculix-2.22 depends on file: /usr/local/libdata/pkgconfig/ice.pc - found ===> Returning to build of calculix-2.22 ===> calculix-2.22 depends on file: /usr/local/libdata/pkgconfig/sm.pc - not found ===> Installing existing package /packages/All/libSM-1.2.6,1.pkg [pkg-builder.dan.net.uk] Installing libSM-1.2.6,1... [pkg-builder.dan.net.uk] Extracting libSM-1.2.6,1: ........ done ===> calculix-2.22 depends on file: /usr/local/libdata/pkgconfig/sm.pc - found ===> Returning to build of calculix-2.22 ===> calculix-2.22 depends on file: /usr/local/libdata/pkgconfig/x11.pc - not found ===> Installing existing package /packages/All/libX11-1.8.12,1.pkg [pkg-builder.dan.net.uk] Installing libX11-1.8.12,1... [pkg-builder.dan.net.uk] `-- Installing libxcb-1.17.0... [pkg-builder.dan.net.uk] | `-- Installing libXau-1.0.11... [pkg-builder.dan.net.uk] | `-- Extracting libXau-1.0.11: .......... done [pkg-builder.dan.net.uk] | `-- Installing libXdmcp-1.1.5... [pkg-builder.dan.net.uk] | `-- Extracting libXdmcp-1.1.5: ...... done [pkg-builder.dan.net.uk] `-- Extracting libxcb-1.17.0: .......... done [pkg-builder.dan.net.uk] Extracting libX11-1.8.12,1: .......... done ===> calculix-2.22 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> Returning to build of calculix-2.22 ===> calculix-2.22 depends on file: /usr/local/libdata/pkgconfig/xext.pc - not found ===> Installing existing package /packages/All/libXext-1.3.6,1.pkg [pkg-builder.dan.net.uk] Installing libXext-1.3.6,1... [pkg-builder.dan.net.uk] Extracting libXext-1.3.6,1: .......... done ===> calculix-2.22 depends on file: /usr/local/libdata/pkgconfig/xext.pc - found ===> Returning to build of calculix-2.22 ===> calculix-2.22 depends on file: /usr/local/libdata/pkgconfig/xi.pc - not found ===> Installing existing package /packages/All/libXi-1.8.1,1.pkg [pkg-builder.dan.net.uk] Installing libXi-1.8.1,1... [pkg-builder.dan.net.uk] `-- Installing libXfixes-6.0.1... [pkg-builder.dan.net.uk] `-- Extracting libXfixes-6.0.1: ....... done [pkg-builder.dan.net.uk] Extracting libXi-1.8.1,1: .......... done ===> calculix-2.22 depends on file: /usr/local/libdata/pkgconfig/xi.pc - found ===> Returning to build of calculix-2.22 ===> calculix-2.22 depends on file: /usr/local/libdata/pkgconfig/xmu.pc - not found ===> Installing existing package /packages/All/libXmu-1.1.4,1.pkg [pkg-builder.dan.net.uk] Installing libXmu-1.1.4,1... [pkg-builder.dan.net.uk] `-- Installing libXt-1.3.0,1... [pkg-builder.dan.net.uk] `-- Extracting libXt-1.3.0,1: .......... done [pkg-builder.dan.net.uk] Extracting libXmu-1.1.4,1: .......... done ===> calculix-2.22 depends on file: /usr/local/libdata/pkgconfig/xmu.pc - found ===> Returning to build of calculix-2.22 ===> calculix-2.22 depends on file: /usr/local/libdata/pkgconfig/xt.pc - found ===> calculix-2.22 depends on file: /usr/local/bin/ccache - not found ===> Installing existing package /packages/All/ccache-3.7.12_8.pkg [pkg-builder.dan.net.uk] Installing ccache-3.7.12_8... [pkg-builder.dan.net.uk] Extracting ccache-3.7.12_8: ......... done Create compiler links... create symlink for cc create symlink for cc (world) create symlink for c++ create symlink for c++ (world) create symlink for CC create symlink for CC (world) create symlink for clang create symlink for clang (world) create symlink for clang++ create symlink for clang++ (world) create symlink for clang15 create symlink for clang15 (world) create symlink for clang++15 create symlink for clang++15 (world) ===== Message from ccache-3.7.12_8: -- NOTE: Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for information on using ccache with FreeBSD ports and src. ===> calculix-2.22 depends on file: /usr/local/bin/ccache - found ===> Returning to build of calculix-2.22 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> calculix-2.22 depends on shared library: libGL.so - not found ===> Installing existing package /packages/All/libglvnd-1.7.0.pkg [pkg-builder.dan.net.uk] Installing libglvnd-1.7.0... [pkg-builder.dan.net.uk] Extracting libglvnd-1.7.0: .......... done ===> calculix-2.22 depends on shared library: libGL.so - found (/usr/local/lib/libGL.so) ===> Returning to build of calculix-2.22 ===> calculix-2.22 depends on shared library: libGLU.so - not found ===> Installing existing package /packages/All/libGLU-9.0.3.pkg [pkg-builder.dan.net.uk] Installing libGLU-9.0.3... [pkg-builder.dan.net.uk] Extracting libGLU-9.0.3: ..... done ===> calculix-2.22 depends on shared library: libGLU.so - found (/usr/local/lib/libGLU.so) ===> Returning to build of calculix-2.22 ===> calculix-2.22 depends on shared library: libglut.so - not found ===> Installing existing package /packages/All/freeglut-3.2.1.pkg [pkg-builder.dan.net.uk] Installing freeglut-3.2.1... [pkg-builder.dan.net.uk] `-- Installing libXrandr-1.5.4... [pkg-builder.dan.net.uk] | `-- Installing libXrender-0.9.12... [pkg-builder.dan.net.uk] | `-- Extracting libXrender-0.9.12: ....... done [pkg-builder.dan.net.uk] `-- Extracting libXrandr-1.5.4: .......... done [pkg-builder.dan.net.uk] `-- Installing libXxf86vm-1.1.5... [pkg-builder.dan.net.uk] `-- Extracting libXxf86vm-1.1.5: .......... done [pkg-builder.dan.net.uk] Extracting freeglut-3.2.1: .......... done ===== Message from freeglut-3.2.1: -- Joystick support is untested and it is unknown if it works. Do not hesitate to contact x11@FreeBSD.org if this causes issues. ===> calculix-2.22 depends on shared library: libglut.so - found (/usr/local/lib/libglut.so) ===> Returning to build of calculix-2.22 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for calculix-2.22 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for calculix-2.22 gmake[1]: Entering directory '/wrkdirs/usr/ports/cad/calculix/work/CalculiX/libSNL/src' *** Building Dependencies *** /usr/local/llvm15/bin/clang++ -MM snlCircularOffsetCurve.cpp snlCtrlPoint.cpp snlCtrlPointNet.cpp snlCtrlPointNetCurve.cpp snlCtrlPointNetSurface.cpp snlCurve.cpp snlKnotVector.cpp snlMatrix_4x4.cpp snlMeshable.cpp snlNurbsCommon.cpp snlPoint.cpp snlSquareLinear.cpp snlSurface.cpp snlSurface_pointLoop.cpp snlSurface_projection.cpp snlSurfaceOfRevolution.cpp snlTransform.cpp snlTriangleMesh.cpp snlUtil.cpp snlVector.cpp snlVertex.cpp snlVertexNet.cpp > make.dep *** Dependencies Built Okay *** /usr/local/llvm15/bin/clang++ -O2 -pipe -fpic -fstack-protector-strong -fno-strict-aliasing -std=c++98 -Wno-error=int-conversion -c -o snlCircularOffsetCurve.o snlCircularOffsetCurve.cpp /usr/local/llvm15/bin/clang++ -O2 -pipe -fpic -fstack-protector-strong -fno-strict-aliasing -std=c++98 -Wno-error=int-conversion -c -o snlCtrlPoint.o snlCtrlPoint.cpp /usr/local/llvm15/bin/clang++ -O2 -pipe -fpic -fstack-protector-strong -fno-strict-aliasing -std=c++98 -Wno-error=int-conversion -c -o snlCtrlPointNet.o snlCtrlPointNet.cpp /usr/local/llvm15/bin/clang++ -O2 -pipe -fpic -fstack-protector-strong -fno-strict-aliasing -std=c++98 -Wno-error=int-conversion -c -o snlCtrlPointNetCurve.o snlCtrlPointNetCurve.cpp /usr/local/llvm15/bin/clang++ -O2 -pipe -fpic -fstack-protector-strong -fno-strict-aliasing -std=c++98 -Wno-error=int-conversion -c -o snlCtrlPointNetSurface.o snlCtrlPointNetSurface.cpp /usr/local/llvm15/bin/clang++ -O2 -pipe -fpic -fstack-protector-strong -fno-strict-aliasing -std=c++98 -Wno-error=int-conversion -c -o snlCurve.o snlCurve.cpp /usr/local/llvm15/bin/clang++ -O2 -pipe -fpic -fstack-protector-strong -fno-strict-aliasing -std=c++98 -Wno-error=int-conversion -c -o snlKnotVector.o snlKnotVector.cpp /usr/local/llvm15/bin/clang++ -O2 -pipe -fpic -fstack-protector-strong -fno-strict-aliasing -std=c++98 -Wno-error=int-conversion -c -o snlMatrix_4x4.o snlMatrix_4x4.cpp /usr/local/llvm15/bin/clang++ -O2 -pipe -fpic -fstack-protector-strong -fno-strict-aliasing -std=c++98 -Wno-error=int-conversion -c -o snlMeshable.o snlMeshable.cpp /usr/local/llvm15/bin/clang++ -O2 -pipe -fpic -fstack-protector-strong -fno-strict-aliasing -std=c++98 -Wno-error=int-conversion -c -o snlNurbsCommon.o snlNurbsCommon.cpp In file included from snlNurbsCommon.cpp:24: In file included from ./snlNurbsCommon.h:25: In file included from ./snlSurface.h:27: ./ptrList.h:744:9: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ 1 warning generated. /usr/local/llvm15/bin/clang++ -O2 -pipe -fpic -fstack-protector-strong -fno-strict-aliasing -std=c++98 -Wno-error=int-conversion -c -o snlPoint.o snlPoint.cpp /usr/local/llvm15/bin/clang++ -O2 -pipe -fpic -fstack-protector-strong -fno-strict-aliasing -std=c++98 -Wno-error=int-conversion -c -o snlSquareLinear.o snlSquareLinear.cpp /usr/local/llvm15/bin/clang++ -O2 -pipe -fpic -fstack-protector-strong -fno-strict-aliasing -std=c++98 -Wno-error=int-conversion -c -o snlSurface.o snlSurface.cpp In file included from snlSurface.cpp:16: In file included from ./snlSurface.h:27: ./ptrList.h:744:9: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ 1 warning generated. /usr/local/llvm15/bin/clang++ -O2 -pipe -fpic -fstack-protector-strong -fno-strict-aliasing -std=c++98 -Wno-error=int-conversion -c -o snlSurface_pointLoop.o snlSurface_pointLoop.cpp In file included from snlSurface_pointLoop.cpp:16: In file included from ./snlSurface_pointLoop.h:18: In file included from ./snlSurface.h:27: ./ptrList.h:744:9: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ 1 warning generated. /usr/local/llvm15/bin/clang++ -O2 -pipe -fpic -fstack-protector-strong -fno-strict-aliasing -std=c++98 -Wno-error=int-conversion -c -o snlSurface_projection.o snlSurface_projection.cpp In file included from snlSurface_projection.cpp:16: In file included from ./snlSurface_projection.h:17: In file included from ./snlSurface.h:27: ./ptrList.h:744:9: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ 1 warning generated. /usr/local/llvm15/bin/clang++ -O2 -pipe -fpic -fstack-protector-strong -fno-strict-aliasing -std=c++98 -Wno-error=int-conversion -c -o snlSurfaceOfRevolution.o snlSurfaceOfRevolution.cpp /usr/local/llvm15/bin/clang++ -O2 -pipe -fpic -fstack-protector-strong -fno-strict-aliasing -std=c++98 -Wno-error=int-conversion -c -o snlTransform.o snlTransform.cpp /usr/local/llvm15/bin/clang++ -O2 -pipe -fpic -fstack-protector-strong -fno-strict-aliasing -std=c++98 -Wno-error=int-conversion -c -o snlTriangleMesh.o snlTriangleMesh.cpp /usr/local/llvm15/bin/clang++ -O2 -pipe -fpic -fstack-protector-strong -fno-strict-aliasing -std=c++98 -Wno-error=int-conversion -c -o snlUtil.o snlUtil.cpp /usr/local/llvm15/bin/clang++ -O2 -pipe -fpic -fstack-protector-strong -fno-strict-aliasing -std=c++98 -Wno-error=int-conversion -c -o snlVector.o snlVector.cpp /usr/local/llvm15/bin/clang++ -O2 -pipe -fpic -fstack-protector-strong -fno-strict-aliasing -std=c++98 -Wno-error=int-conversion -c -o snlVertex.o snlVertex.cpp /usr/local/llvm15/bin/clang++ -O2 -pipe -fpic -fstack-protector-strong -fno-strict-aliasing -std=c++98 -Wno-error=int-conversion -c -o snlVertexNet.o snlVertexNet.cpp *** Building Shared Library *** /usr/local/llvm15/bin/clang++ -fPIC -Wall -O3 -shared -o libSNL.so.0.2 snlCircularOffsetCurve.o snlCtrlPoint.o snlCtrlPointNet.o snlCtrlPointNetCurve.o snlCtrlPointNetSurface.o snlCurve.o snlKnotVector.o snlMatrix_4x4.o snlMeshable.o snlNurbsCommon.o snlPoint.o snlSquareLinear.o snlSurface.o snlSurface_pointLoop.o snlSurface_projection.o snlSurfaceOfRevolution.o snlTransform.o snlTriangleMesh.o snlUtil.o snlVector.o snlVertex.o snlVertexNet.o gmake[1]: Leaving directory '/wrkdirs/usr/ports/cad/calculix/work/CalculiX/libSNL/src' gmake[1]: Entering directory '/wrkdirs/usr/ports/cad/calculix/work/CalculiX/cgx_2.22/src' /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o AsplitA.o AsplitA.c /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o AsplitL.o AsplitL.c /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o adjustMidsideNode.o adjustMidsideNode.c /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o compareStrings.o compareStrings.c /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o XFunktions.o XFunktions.c /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o badelems.o badelems.c /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o bodyMesh2.o bodyMesh2.c /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o bsort.o bsort.c /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o bsortf.o bsortf.c /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o bsorti.o bsorti.c /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o calcNormalen.o calcNormalen.c /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o calcPrinc.o calcPrinc.c /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o calcPvector.o calcPvector.c /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o calcWeight.o calcWeight.c /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o checkIfNumber.o checkIfNumber.c /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o cgx.o cgx.c cgx.c:416:21: warning: argument 'buffer' of type 'char[256]' with mismatched bound [-Warray-parameter] int askGLError(char buffer[MAX_LINE_LENGTH]) ^ ./cgx.h:519:21: note: previously declared as 'char[134]' here int askGLError(char buffer[134]); ^ cgx.c:503:41: warning: implicit conversion from 'long' to 'float' changes value from 9999999999 to 1.0E+10 [-Wimplicit-const-int-float-conversion] lcase[lc].dat[entity][node[i].nr] = 9999999999; ~ ^~~~~~~~~~ cgx.c:2624:61: warning: format string is not a string literal (potentially insecure) [-Wformat-security] if(v_dim==4) sprintf(lcase[lcase_animList].compName[n], lcase[i].compName[cur_entity]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cgx.c:2624:61: note: treat the string as an argument to avoid this if(v_dim==4) sprintf(lcase[lcase_animList].compName[n], lcase[i].compName[cur_entity]); ^ "%s", cgx.c:4744:29: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(lcase[lc].name, lcase[lc1].name); ^~~~~~~~~~~~~~~ cgx.c:4744:29: note: treat the string as an argument to avoid this sprintf(lcase[lc].name, lcase[lc1].name); ^ "%s", 4 warnings generated. /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o compare.o compare.c /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o copyEntity.o copyEntity.c /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o corrad.o corrad.c /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o dataGeo.o dataGeo.c /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o dataMesh.o dataMesh.c dataMesh.c:275:24: warning: implicit conversion from 'int' to 'float' changes value from -2147483647 to -2147483648 [-Wimplicit-const-int-float-conversion] lcase[lc].max[i]=-MAX_INTEGER; ~^~~~~~~~~~~~ dataMesh.c:276:24: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion] lcase[lc].min[i]=MAX_INTEGER; ~^~~~~~~~~~~ ./extUtil.h:44:25: note: expanded from macro 'MAX_INTEGER' #define MAX_INTEGER 2147483647 ^~~~~~~~~~ dataMesh.c:770:24: warning: implicit conversion from 'int' to 'float' changes value from -2147483647 to -2147483648 [-Wimplicit-const-int-float-conversion] lcase[lc].max[i]=-MAX_INTEGER; ~^~~~~~~~~~~~ dataMesh.c:771:24: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion] lcase[lc].min[i]=MAX_INTEGER; ~^~~~~~~~~~~ ./extUtil.h:44:25: note: expanded from macro 'MAX_INTEGER' #define MAX_INTEGER 2147483647 ^~~~~~~~~~ dataMesh.c:891:24: warning: implicit conversion from 'int' to 'float' changes value from -2147483647 to -2147483648 [-Wimplicit-const-int-float-conversion] lcase[lc].max[i]=-MAX_INTEGER; ~^~~~~~~~~~~~ dataMesh.c:892:24: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion] lcase[lc].min[i]=MAX_INTEGER; ~^~~~~~~~~~~ ./extUtil.h:44:25: note: expanded from macro 'MAX_INTEGER' #define MAX_INTEGER 2147483647 ^~~~~~~~~~ dataMesh.c:1097:26: warning: implicit conversion from 'int' to 'float' changes value from -2147483647 to -2147483648 [-Wimplicit-const-int-float-conversion] lcase[lc].max[j]=-MAX_INTEGER; ~^~~~~~~~~~~~ dataMesh.c:1098:26: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion] lcase[lc].min[j]=MAX_INTEGER; ~^~~~~~~~~~~ ./extUtil.h:44:25: note: expanded from macro 'MAX_INTEGER' #define MAX_INTEGER 2147483647 ^~~~~~~~~~ dataMesh.c:1162:26: warning: implicit conversion from 'int' to 'float' changes value from -2147483647 to -2147483648 [-Wimplicit-const-int-float-conversion] lcase[lc].max[j]=-MAX_INTEGER; ~^~~~~~~~~~~~ dataMesh.c:1163:26: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion] lcase[lc].min[j]=MAX_INTEGER; ~^~~~~~~~~~~ ./extUtil.h:44:25: note: expanded from macro 'MAX_INTEGER' #define MAX_INTEGER 2147483647 ^~~~~~~~~~ dataMesh.c:1318:26: warning: implicit conversion from 'int' to 'float' changes value from -2147483647 to -2147483648 [-Wimplicit-const-int-float-conversion] lcase[lc].max[j]=-MAX_INTEGER; ~^~~~~~~~~~~~ dataMesh.c:1319:26: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion] lcase[lc].min[j]=MAX_INTEGER; ~^~~~~~~~~~~ ./extUtil.h:44:25: note: expanded from macro 'MAX_INTEGER' #define MAX_INTEGER 2147483647 ^~~~~~~~~~ dataMesh.c:1393:26: warning: implicit conversion from 'int' to 'float' changes value from -2147483647 to -2147483648 [-Wimplicit-const-int-float-conversion] lcase[lc].max[j]=-MAX_INTEGER; ~^~~~~~~~~~~~ dataMesh.c:1394:26: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion] lcase[lc].min[j]=MAX_INTEGER; ~^~~~~~~~~~~ ./extUtil.h:44:25: note: expanded from macro 'MAX_INTEGER' #define MAX_INTEGER 2147483647 ^~~~~~~~~~ dataMesh.c:1432:28: warning: variable 'colour_offset' set but not used [-Wunused-but-set-variable] double *colNr_anim=NULL, colour_offset=0.; ^ dataMesh.c:2059:48: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(lcase[lcase_animList].compName[s], lcase[lcv].compName[cur_entity]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dataMesh.c:2059:48: note: treat the string as an argument to avoid this sprintf(lcase[lcase_animList].compName[s], lcase[lcv].compName[cur_entity]); ^ "%s", dataMesh.c:2357:42: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf( lcase[cur_lc].compName[ncomp],name); ^~~~ dataMesh.c:2357:42: note: treat the string as an argument to avoid this sprintf( lcase[cur_lc].compName[ncomp],name); ^ "%s", 17 warnings generated. /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o defineEntity.o defineEntity.c defineEntity.c:937:38: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] if(vnr1<0) sprintf(string,"%d",strlen(arg1)); ~~ ^~~~~~~~~~~~ %lu defineEntity.c:938:32: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] else sprintf(string,"%d",strlen(value[vnr1].string)); ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~ %lu 2 warnings generated. /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o dispLists.o dispLists.c /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o elemChecker.o elemChecker.c /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o extFunktions.o extFunktions.c /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o extGL.o extGL.c /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o fillBody2.o fillBody2.c fillBody2.c:727:7: warning: variable 'n_abc' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] if( (z_ba=(double *)malloc( (div_a+1)*(div_b+1)*sizeof(double) ) )==NULL) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fillBody2.c:1428:8: note: uninitialized use occurs here free(n_abc); ^~~~~ fillBody2.c:727:3: note: remove the 'if' if its condition is always false if( (z_ba=(double *)malloc( (div_a+1)*(div_b+1)*sizeof(double) ) )==NULL) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fillBody2.c:724:7: warning: variable 'n_abc' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] if( (y_ba=(double *)malloc( (div_a+1)*(div_b+1)*sizeof(double) ) )==NULL) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fillBody2.c:1428:8: note: uninitialized use occurs here free(n_abc); ^~~~~ fillBody2.c:724:3: note: remove the 'if' if its condition is always false if( (y_ba=(double *)malloc( (div_a+1)*(div_b+1)*sizeof(double) ) )==NULL) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fillBody2.c:721:7: warning: variable 'n_abc' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] if( (x_ba=(double *)malloc( (div_a+1)*(div_b+1)*sizeof(double) ) )==NULL) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fillBody2.c:1428:8: note: uninitialized use occurs here free(n_abc); ^~~~~ fillBody2.c:721:3: note: remove the 'if' if its condition is always false if( (x_ba=(double *)malloc( (div_a+1)*(div_b+1)*sizeof(double) ) )==NULL) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fillBody2.c:718:7: warning: variable 'n_abc' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] if( (z=(double *)malloc( (div_a+1)*(div_b+1)*sizeof(double) ) )==NULL) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fillBody2.c:1428:8: note: uninitialized use occurs here free(n_abc); ^~~~~ fillBody2.c:718:3: note: remove the 'if' if its condition is always false if( (z=(double *)malloc( (div_a+1)*(div_b+1)*sizeof(double) ) )==NULL) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fillBody2.c:715:7: warning: variable 'n_abc' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] if( (y=(double *)malloc( (div_a+1)*(div_b+1)*sizeof(double) ) )==NULL) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fillBody2.c:1428:8: note: uninitialized use occurs here free(n_abc); ^~~~~ fillBody2.c:715:3: note: remove the 'if' if its condition is always false if( (y=(double *)malloc( (div_a+1)*(div_b+1)*sizeof(double) ) )==NULL) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fillBody2.c:712:7: warning: variable 'n_abc' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] if( (x=(double *)malloc( (div_a+1)*(div_b+1)*sizeof(double) ) )==NULL) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fillBody2.c:1428:8: note: uninitialized use occurs here free(n_abc); ^~~~~ fillBody2.c:712:3: note: remove the 'if' if its condition is always false if( (x=(double *)malloc( (div_a+1)*(div_b+1)*sizeof(double) ) )==NULL) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fillBody2.c:709:7: warning: variable 'n_abc' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] if( (n_ba=(int *)malloc( (div_a+1)*(div_b+1)*sizeof(int) ) )==NULL) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fillBody2.c:1428:8: note: uninitialized use occurs here free(n_abc); ^~~~~ fillBody2.c:709:3: note: remove the 'if' if its condition is always false if( (n_ba=(int *)malloc( (div_a+1)*(div_b+1)*sizeof(int) ) )==NULL) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fillBody2.c:706:7: warning: variable 'n_abc' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] if( (n_uv=(int *)malloc( (div_a+1)*(div_b+1)*sizeof(int) ) )==NULL) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fillBody2.c:1428:8: note: uninitialized use occurs here free(n_abc); ^~~~~ fillBody2.c:706:3: note: remove the 'if' if its condition is always false if( (n_uv=(int *)malloc( (div_a+1)*(div_b+1)*sizeof(int) ) )==NULL) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fillBody2.c:676:13: note: initialize the variable 'n_abc' to silence this warning int *n_abc; ^ = NULL 8 warnings generated. /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o frecord.o frecord.c /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o foamFaces.o foamFaces.c /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o gl3grades.o gl3grades.c gl3grades.c:21:19: warning: absolute value function 'fabs' given an argument of type 'long double' but has parameter of type 'double' which may cause truncation of value [-Wabsolute-value] if(q>0) p= sqrt(fabs(p)); ^ gl3grades.c:21:19: note: use function 'fabsl' instead if(q>0) p= sqrt(fabs(p)); ^~~~ fabsl gl3grades.c:22:20: warning: absolute value function 'fabs' given an argument of type 'long double' but has parameter of type 'double' which may cause truncation of value [-Wabsolute-value] else p= -sqrt(fabs(p)); ^ gl3grades.c:22:20: note: use function 'fabsl' instead else p= -sqrt(fabs(p)); ^~~~ fabsl 2 warnings generated. /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o getGeoDataTria.o getGeoDataTria.c /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o graph.o graph.c /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o ifind.o ifind.c /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o iinsert.o iinsert.c /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o improveBadTr3.o improveBadTr3.c /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o improveMesh.o improveMesh.c improveMesh.c:36:22: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] /* Subroutine */ int clasnodes_(co, nk, kon, ne, iptr1, iptr2, nside, ineino, ^ improveMesh.c:177:22: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] /* Subroutine */ int distattach_(xi, et, pneigh, ndiv, pnode, dist, p) ^ improveMesh.c:258:22: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] /* Subroutine */ int attach_(co, nk, neigh, pneigh, ndiv, node) ^ improveMesh.c:674:22: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] /* Subroutine */ int smooth_length(co, nk, kon, ne, iptr1, iptr2, nside, ineino, ^ improveMesh.c:911:22: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] /* Subroutine */ int smooth_angle(co, nk, kon, ne, iptr1, iptr2, nside, ineino, ^ improveMesh.c:1201:22: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] /* Subroutine */ int smooth_midnodes(co, nk, kon, ne, iptr1, iptr2, nside, ineino, ^ 6 warnings generated. /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o iniMeshData.o iniMeshData.c /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o intpol.o intpol.c /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o intpol2.o intpol2.c /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o intpol3.o intpol3.c intpol3.c:45:22: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] /* Subroutine */ int splev_(t, n, c__, k, x, y, m, ier) ^ intpol3.c:197:22: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] /* Subroutine */ int curfit_(iopt, m, x, y, w, xb, xe, k, s, nest, n, t, c__, ^ intpol3.c:511:22: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] /* Subroutine */ int fpback_(a, z__, n, k, c__, nest) ^ intpol3.c:569:22: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] /* Subroutine */ int fpbspl_(t, n, k, x, l, h__) ^ intpol3.c:623:22: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] /* Subroutine */ int fpchec_(x, m, t, n, k, ier) ^ intpol3.c:729:22: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] /* Subroutine */ int fpcurf_(iopt, x, y, w, m, xb, xe, k, s, nest, tol, maxit, ^ intpol3.c:1305:22: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] /* Subroutine */ int fpdisc_(t, n, k2, b, nest) ^ intpol3.c:1375:22: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] /* Subroutine */ int fpgivs_(piv, ww, cos__, sin__) ^ intpol3.c:1409:22: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] /* Subroutine */ int fpknot_(x, m, t, n, fpint, nrdata, nrint, nest, istart) ^ intpol3.c:1502:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] double fprati_(p1, f1, p2, f2, p3, f3) ^ intpol3.c:1548:22: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] /* Subroutine */ int fprota_(cos__, sin__, a, b) ^ 11 warnings generated. /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o iremove.o iremove.c /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o linelength.o linelength.c /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o m_copy.o m_copy.c /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o m_sub.o m_sub.c /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o mergEntity.o mergEntity.c /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o mesh2d.o mesh2d.c /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o meshSet.o meshSet.c /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o meshSurf.o meshSurf.c meshSurf.c:193:19: warning: variable 'p' set but not used [-Wunused-but-set-variable] int i,j,k,l,m,n,p, oprod, ini_anzn,loop; ^ 1 warning generated. /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o messages.o messages.c /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o near3d.o near3d.c near3d.c:17:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int ident(x,px,n) ^ near3d.c:63:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void near3d(xo,yo,zo,x,y,z,nx,ny,nz,xp,yp,zp,n,node,k) ^ 2 warnings generated. /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o normdist.o normdist.c /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o nurbl2seq.o nurbl2seq.c /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o orient.o orient.c /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o p_angle.o p_angle.c /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o parser.o parser.c /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o pickFunktions.o pickFunktions.c pickFunktions.c:2674:16: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((type[0]=='s')) ~~~~~~~^~~~~ pickFunktions.c:2674:16: note: remove extraneous parentheses around the comparison to silence this warning if((type[0]=='s')) ~ ^ ~ pickFunktions.c:2674:16: note: use '=' to turn this equality comparison into an assignment if((type[0]=='s')) ^~ = pickFunktions.c:3583:19: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if (( type[0] == 'e')) /* flip only elem */ ~~~~~~~~^~~~~~ pickFunktions.c:3583:19: note: remove extraneous parentheses around the comparison to silence this warning if (( type[0] == 'e')) /* flip only elem */ ~ ^ ~ pickFunktions.c:3583:19: note: use '=' to turn this equality comparison into an assignment if (( type[0] == 'e')) /* flip only elem */ ^~ = pickFunktions.c:6090:10: warning: variable 'Stmp' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] if(shape[surf[smaster].sh].type>=0) Stmp= surfToNurs(smaster); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pickFunktions.c:6091:10: note: uninitialized use occurs here if(Stmp>-1) ^~~~ pickFunktions.c:6090:7: note: remove the 'if' if its condition is always true if(shape[surf[smaster].sh].type>=0) Stmp= surfToNurs(smaster); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pickFunktions.c:5497:26: note: initialize the variable 'Stmp' to silence this warning int snew=-1, sbuf, Stmp, sh_buf, nurbsnr, patch; ^ = 0 pickFunktions.c:7758:20: warning: unused variable 'ps_lbez' [-Wunused-variable] double pk[2][3], ps_lbez=0; ^ pickFunktions.c:8767:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern int compareRsort(); ^ ./cgx.h:641:5: note: conflicting prototype is here int compareRsort(Rsort *a, Rsort *b); ^ pickFunktions.c:8826:12: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((flag=='n')) ~~~~^~~~~ pickFunktions.c:8826:12: note: remove extraneous parentheses around the comparison to silence this warning if ((flag=='n')) ~ ^ ~ pickFunktions.c:8826:12: note: use '=' to turn this equality comparison into an assignment if ((flag=='n')) ^~ = pickFunktions.c:9641:7: warning: unused variable 'i' [-Wunused-variable] int i,j,s=0; ^ pickFunktions.c:9641:9: warning: unused variable 'j' [-Wunused-variable] int i,j,s=0; ^ 8 warnings generated. /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o plotFunktions.o plotFunktions.c /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o readAnsysList.o readAnsysList.c /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o readDynaList.o readDynaList.c /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o readEdges.o readEdges.c /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o readfrd.o readfrd.c readfrd.c:93:31: warning: variable 'nod_1st_block' set but not used [-Wunused-but-set-variable] int elem_data=0,nod_data=0, nod_1st_block=0; /* nodes in resultblock, nodes in 1st block (if no "nr of nodes" are given in frd file, 100C-line) */ ^ 1 warning generated. /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o readFoam.o readFoam.c /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o readStdCmap.o readStdCmap.c /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o readStl.o readStl.c /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o readVtk.o readVtk.c /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o readccx.o readccx.c readccx.c:40:13: warning: 'DEP' macro redefined [-Wmacro-redefined] #define DEP "+dep" ^ ./cgx.h:227:13: note: previous definition is here #define DEP "-DEP" /* used for proj */ ^ readccx.c:41:13: warning: 'IND' macro redefined [-Wmacro-redefined] #define IND "+ind" ^ ./cgx.h:228:13: note: previous definition is here #define IND "-IND" /* used for proj */ ^ readccx.c:3488:5: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] for (i=0; i<80; i++) ^ readccx.c:3486:3: note: previous statement is here if((dat = (char **)realloc((char **)dat, (80)*sizeof(char*)))==NULL) ^ 3 warnings generated. /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o readDuns.o readDuns.c readDuns.c:11:9: warning: 'MAXFLOAT' macro redefined [-Wmacro-redefined] #define MAXFLOAT 1.e32 ^ /usr/include/math.h:146:9: note: previous definition is here #define MAXFLOAT ((float)3.40282346638528860e+38) ^ 1 warning generated. /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o readNastran.o readNastran.c readNastran.c:290:34: warning: implicit conversion from 'int' to 'float' changes value from -2147483647 to -2147483648 [-Wimplicit-const-int-float-conversion] lcase[anz->l].max[i]=-MAX_INTEGER; ~^~~~~~~~~~~~ readNastran.c:291:34: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion] lcase[anz->l].min[i]=MAX_INTEGER; ~^~~~~~~~~~~ ./extUtil.h:44:25: note: expanded from macro 'MAX_INTEGER' #define MAX_INTEGER 2147483647 ^~~~~~~~~~ readNastran.c:415:34: warning: implicit conversion from 'int' to 'float' changes value from -2147483647 to -2147483648 [-Wimplicit-const-int-float-conversion] lcase[anz->l].max[i]=-MAX_INTEGER; ~^~~~~~~~~~~~ readNastran.c:416:34: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion] lcase[anz->l].min[i]=MAX_INTEGER; ~^~~~~~~~~~~ ./extUtil.h:44:25: note: expanded from macro 'MAX_INTEGER' #define MAX_INTEGER 2147483647 ^~~~~~~~~~ 4 warnings generated. /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o readNG.o readNG.c /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o readTG.o readTG.c /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o readIsaac.o readIsaac.c readIsaac.c:22:9: warning: 'MAXFLOAT' macro redefined [-Wmacro-redefined] #define MAXFLOAT 1.e32 ^ /usr/include/math.h:146:9: note: previous definition is here #define MAXFLOAT ((float)3.40282346638528860e+38) ^ 1 warning generated. /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o readstep.o readstep.c /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o readWf.o readWf.c /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o rectcyl.o rectcyl.c /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o renumberfrd.o renumberfrd.c /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o selectDisplayFaces.o selectDisplayFaces.c selectDisplayFaces.c:804:11: warning: unused variable 't1' [-Wunused-variable] clock_t t1, t2 ; ^ selectDisplayFaces.c:805:10: warning: unused variable 'deltaT' [-Wunused-variable] double deltaT ; ^ selectDisplayFaces.c:804:15: warning: unused variable 't2' [-Wunused-variable] clock_t t1, t2 ; ^ 3 warnings generated. /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o sendMpc.o sendMpc.c /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o sendSet.o sendSet.c sendSet.c:198:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern int compareInt(); ^ ./cgx.h:517:5: note: conflicting prototype is here int compareInt(int *a, int *b); ^ sendSet.c:276:24: warning: implicit conversion from 'int' to 'float' changes value from -2147483647 to -2147483648 [-Wimplicit-const-int-float-conversion] lcase2[0].max[i]=-MAX_INTEGER; ~^~~~~~~~~~~~ sendSet.c:277:24: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion] lcase2[0].min[i]=MAX_INTEGER; ~^~~~~~~~~~~ ./extUtil.h:44:25: note: expanded from macro 'MAX_INTEGER' #define MAX_INTEGER 2147483647 ^~~~~~~~~~ sendSet.c:978:7: warning: variable 'norm' is uninitialized when used here [-Wuninitialized] norm[n].nx=N[0]; ^~~~ sendSet.c:831:14: note: initialize the variable 'norm' to silence this warning Nodes *norm; ^ = NULL 4 warnings generated. /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o setFunktions.o setFunktions.c setFunktions.c:1093:5: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] free(set[setNr].name); ^ setFunktions.c:1090:3: note: previous statement is here if(set[setNr].anz_elf) ^ setFunktions.c:3438:31: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((stack[stack_ptr].flag == 0)) ~~~~~~~~~~~~~~~~~~~~~~^~~~ setFunktions.c:3438:31: note: remove extraneous parentheses around the comparison to silence this warning if((stack[stack_ptr].flag == 0)) ~ ^ ~ setFunktions.c:3438:31: note: use '=' to turn this equality comparison into an assignment if((stack[stack_ptr].flag == 0)) ^~ = setFunktions.c:7825:125: warning: variable 'lps' set but not used [-Wunused-but-set-variable] double pl[2][3],ps[3][3], pc[3], psplt[10][3], vproj[3], dist=0., dist1=0., dist2=0., distn=0., distbuf=MAX_FLOAT, lp0p1, lps; ^ setFunktions.c:8361:17: warning: variable 'lps' is uninitialized when used here [-Wuninitialized] lps+=lp0p1; ^~~ setFunktions.c:7825:128: note: initialize the variable 'lps' to silence this warning double pl[2][3],ps[3][3], pc[3], psplt[10][3], vproj[3], dist=0., dist1=0., dist2=0., distn=0., distbuf=MAX_FLOAT, lp0p1, lps; ^ = 0.0 setFunktions.c:15418:26: warning: implicit conversion from 'int' to 'float' changes value from -2147483647 to -2147483648 [-Wimplicit-const-int-float-conversion] lcase[anz->l].max[i]=-MAX_INTEGER; ~^~~~~~~~~~~~ setFunktions.c:15419:26: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion] lcase[anz->l].min[i]=MAX_INTEGER; ~^~~~~~~~~~~ ./extUtil.h:44:25: note: expanded from macro 'MAX_INTEGER' #define MAX_INTEGER 2147483647 ^~~~~~~~~~ setFunktions.c:19699:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern int compareInt(); ^ ./cgx.h:517:5: note: conflicting prototype is here int compareInt(int *a, int *b); ^ setFunktions.c:24303:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern int compareInt(); ^ ./cgx.h:517:5: note: conflicting prototype is here int compareInt(int *a, int *b); ^ 8 warnings generated. /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o shapeFunctions.o shapeFunctions.c shapeFunctions.c:526:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int shape10tet_(xi, et, ze, xl, xsj) ^ shapeFunctions.c:613:22: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] /* Subroutine */ int shape15h_(xi, et, ze, xl, xsj) ^ shapeFunctions.c:787:22: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] /* Subroutine */ int shape6h_(xi, et, ze, xl, xsj) ^ shapeFunctions.c:1461:24: warning: variable 'sum_jacobi' set but not used [-Wunused-but-set-variable] double jacobi[27], sum_jacobi, max,min; ^ shapeFunctions.c:1603:22: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] /* Subroutine */ int attach_new(pneigh, pnode, nterms, ratio, dist, elemcoords) ^ shapeFunctions.c:2040:22: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] /* Subroutine */ int distattach_new(xig, etg, pneigh, pnode, a, p, ratio, nterms) ^ 6 warnings generated. /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o spline.o spline.c /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o splitElementsToTets.o splitElementsToTets.c /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o stof.o stof.c /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o stoi.o stoi.c /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o stopClock.o stopClock.c /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o stos.o stos.c /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o strfind.o strfind.c /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o strsplt.o strsplt.c /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o sins.o sins.c /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o surfMesh2.o surfMesh2.c /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o sword.o sword.c /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o trackball.o trackball.c /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o v_distA.o v_distA.c /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o v_rec2cyl.o v_rec2cyl.c /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o v_add.o v_add.c /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o v_angle.o v_angle.c /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o v_angle_ref.o v_angle_ref.c /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o v_betrag.o v_betrag.c /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o v_matmult.o v_matmult.c /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o v_norm.o v_norm.c /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o v_prod.o v_prod.c /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o v_result.o v_result.c /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o v_scal.o v_scal.c /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o v_rot.o v_rot.c /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o v_sprod.o v_sprod.c /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o m_prod.o m_prod.c m_prod.c:2:22: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] /* Subroutine */ int m_prod(n, a, b, c) ^ 1 warning generated. /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o m_prodtr.o m_prodtr.c m_prodtr.c:3:22: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] /* Subroutine */ int m_prodtr(n, a, b, c) ^ 1 warning generated. /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o write2aba.o write2aba.c /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o write2ansys.o write2ansys.c /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o write2aster.o write2aster.c /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o write2darwin.o write2darwin.c /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o write2dolfyn.o write2dolfyn.c /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o write2dyna.o write2dyna.c /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o write2isaac.o write2isaac.c write2isaac.c:180:8: warning: variable 'vu' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] if(getValuNr(buffer)>-1) ^~~~~~~~~~~~~~~~~~~~ write2isaac.c:202:12: note: uninitialized use occurs here v=sqrt(vu*vu+vv*vv); ^~ write2isaac.c:180:5: note: remove the 'if' if its condition is always true if(getValuNr(buffer)>-1) ^~~~~~~~~~~~~~~~~~~~~~~~ write2isaac.c:21:39: note: initialize the variable 'vu' to silence this warning double p1=-1,p2=-1,pt=-1,tt=-1, v,vu,vv; ^ = 0.0 write2isaac.c:185:8: warning: variable 'vv' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] if(getValuNr(buffer)>-1) ^~~~~~~~~~~~~~~~~~~~ write2isaac.c:202:18: note: uninitialized use occurs here v=sqrt(vu*vu+vv*vv); ^~ write2isaac.c:185:5: note: remove the 'if' if its condition is always true if(getValuNr(buffer)>-1) ^~~~~~~~~~~~~~~~~~~~~~~~ write2isaac.c:21:42: note: initialize the variable 'vv' to silence this warning double p1=-1,p2=-1,pt=-1,tt=-1, v,vu,vv; ^ = 0.0 2 warnings generated. /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o write2duns.o write2duns.c write2duns.c:124:8: warning: variable 'vu' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] if(getValuNr(buffer)>-1) ^~~~~~~~~~~~~~~~~~~~ write2duns.c:140:12: note: uninitialized use occurs here vel=sqrt(vu*vu+vv*vv); ^~ write2duns.c:124:5: note: remove the 'if' if its condition is always true if(getValuNr(buffer)>-1) ^~~~~~~~~~~~~~~~~~~~~~~~ write2duns.c:77:6: warning: variable 'vu' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] if(getValuNr(buffer)>-1) ^~~~~~~~~~~~~~~~~~~~ write2duns.c:140:12: note: uninitialized use occurs here vel=sqrt(vu*vu+vv*vv); ^~ write2duns.c:77:3: note: remove the 'if' if its condition is always true if(getValuNr(buffer)>-1) ^~~~~~~~~~~~~~~~~~~~~~~~ write2duns.c:11:34: note: initialize the variable 'vu' to silence this warning double p1=-1, pt1=-1,p2=-1, vu,vv,vel,flowangle; ^ = 0.0 write2duns.c:130:8: warning: variable 'vv' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] if(getValuNr(buffer)>-1) ^~~~~~~~~~~~~~~~~~~~ write2duns.c:140:18: note: uninitialized use occurs here vel=sqrt(vu*vu+vv*vv); ^~ write2duns.c:130:5: note: remove the 'if' if its condition is always true if(getValuNr(buffer)>-1) ^~~~~~~~~~~~~~~~~~~~~~~~ write2duns.c:77:6: warning: variable 'vv' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] if(getValuNr(buffer)>-1) ^~~~~~~~~~~~~~~~~~~~ write2duns.c:140:18: note: uninitialized use occurs here vel=sqrt(vu*vu+vv*vv); ^~ write2duns.c:77:3: note: remove the 'if' if its condition is always true if(getValuNr(buffer)>-1) ^~~~~~~~~~~~~~~~~~~~~~~~ write2duns.c:11:37: note: initialize the variable 'vv' to silence this warning double p1=-1, pt1=-1,p2=-1, vu,vv,vel,flowangle; ^ = 0.0 4 warnings generated. /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o write2frd.o write2frd.c /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o write2foam.o write2foam.c /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o write2nas.o write2nas.c /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o write2samcef.o write2samcef.c /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o write2tochnog.o write2tochnog.c /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o writefbd.o writefbd.c /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o writebp.o writebp.c writebp.c:112:87: warning: unknown escape sequence '\)' [-Wunknown-escape-sequence] fprintf (handle2, "#%d=CARTESIAN_POINT\(\'%s\',\(%10.4lf,%10.4lf,%10.4lf\)\);\n", i+1,set[n].name,pnt[i].px,pnt[i].py,pnt[i].pz); ^~ writebp.c:112:89: warning: unknown escape sequence '\)' [-Wunknown-escape-sequence] fprintf (handle2, "#%d=CARTESIAN_POINT\(\'%s\',\(%10.4lf,%10.4lf,%10.4lf\)\);\n", i+1,set[n].name,pnt[i].px,pnt[i].py,pnt[i].pz); ^~ 2 warnings generated. /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o contact.o contact.c /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o makeTriFromElems.o makeTriFromElems.c /usr/local/llvm15/bin/clang -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -Wno-error=int-conversion -c -o userFunction.o userFunction.c userFunction.c:119:10: warning: unused variable 'P1' [-Wunused-variable] double P1,P2,T1,T2,T2_is,Tm; ^ userFunction.c:119:13: warning: unused variable 'P2' [-Wunused-variable] double P1,P2,T1,T2,T2_is,Tm; ^ userFunction.c:119:16: warning: unused variable 'T1' [-Wunused-variable] double P1,P2,T1,T2,T2_is,Tm; ^ userFunction.c:119:19: warning: unused variable 'T2' [-Wunused-variable] double P1,P2,T1,T2,T2_is,Tm; ^ userFunction.c:118:10: warning: unused variable 'etais' [-Wunused-variable] double etais,etapol,dentropy; ^ userFunction.c:120:33: warning: unused variable 'TTm' [-Wunused-variable] double PT1,PT2,TT1,TT2,TT2_is,TTm; ^ userFunction.c:118:16: warning: unused variable 'etapol' [-Wunused-variable] double etais,etapol,dentropy; ^ userFunction.c:118:23: warning: unused variable 'dentropy' [-Wunused-variable] double etais,etapol,dentropy; ^ userFunction.c:120:14: warning: unused variable 'PT2' [-Wunused-variable] double PT1,PT2,TT1,TT2,TT2_is,TTm; ^ userFunction.c:120:18: warning: unused variable 'TT1' [-Wunused-variable] double PT1,PT2,TT1,TT2,TT2_is,TTm; ^ userFunction.c:120:22: warning: unused variable 'TT2' [-Wunused-variable] double PT1,PT2,TT1,TT2,TT2_is,TTm; ^ userFunction.c:114:8: warning: unused variable 'entityvalue' [-Wunused-variable] char entityvalue[40]; ^ userFunction.c:119:22: warning: unused variable 'T2_is' [-Wunused-variable] double P1,P2,T1,T2,T2_is,Tm; ^ userFunction.c:120:26: warning: unused variable 'TT2_is' [-Wunused-variable] double PT1,PT2,TT1,TT2,TT2_is,TTm; ^ userFunction.c:119:28: warning: unused variable 'Tm' [-Wunused-variable] double P1,P2,T1,T2,T2_is,Tm; ^ userFunction.c:116:47: warning: unused variable 'dynVisc' [-Wunused-variable] double pt,tt,ps,ts,vel,cz,cr,cu,cpGas,kappa,dynVisc; ^ userFunction.c:120:10: warning: unused variable 'PT1' [-Wunused-variable] double PT1,PT2,TT1,TT2,TT2_is,TTm; ^ userFunction.c:574:43: warning: format specifies type 'char *' but the argument has type 'int *' [-Wformat] sscanf(string, "%*s %s %c %lf", buf1, &e, &val); ~~ ^~ %d userFunction.c:386:25: warning: implicit conversion from 'int' to 'float' changes value from -2147483647 to -2147483648 [-Wimplicit-const-int-float-conversion] lcase[l].max[e]=-MAX_INTEGER; ~^~~~~~~~~~~~ userFunction.c:387:25: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion] lcase[l].min[e]=MAX_INTEGER; ~^~~~~~~~~~~ ./extUtil.h:44:25: note: expanded from macro 'MAX_INTEGER' #define MAX_INTEGER 2147483647 ^~~~~~~~~~ 20 warnings generated. /usr/local/llvm15/bin/clang++ userFunction.o AsplitA.o AsplitL.o adjustMidsideNode.o compareStrings.o XFunktions.o badelems.o bodyMesh2.o bsort.o bsortf.o bsorti.o calcNormalen.o calcPrinc.o calcPvector.o calcWeight.o checkIfNumber.o cgx.o compare.o copyEntity.o corrad.o dataGeo.o dataMesh.o defineEntity.o dispLists.o elemChecker.o extFunktions.o extGL.o fillBody2.o frecord.o foamFaces.o gl3grades.o getGeoDataTria.o graph.o ifind.o iinsert.o improveBadTr3.o improveMesh.o iniMeshData.o intpol.o intpol2.o intpol3.o iremove.o linelength.o m_copy.o m_sub.o mergEntity.o mesh2d.o meshSet.o meshSurf.o messages.o near3d.o normdist.o nurbl2seq.o orient.o p_angle.o parser.o pickFunktions.o plotFunktions.o readAnsysList.o readDynaList.o readEdges.o readfrd.o readFoam.o readStdCmap.o readStl.o readVtk.o readccx.o readDuns.o readNastran.o readNG.o readTG.o readIsaac.o readstep.o readWf.o rectcyl.o renumberfrd.o selectDisplayFaces.o sendMpc.o sendSet.o setFunktions.o shapeFunctions.o spline.o splitElementsToTets.o stof.o stoi.o stopClock.o stos.o strfind.o strsplt.o sins.o surfMesh2.o sword.o trackball.o v_distA.o v_rec2cyl.o v_add.o v_angle.o v_angle_ref.o v_betrag.o v_matmult.o v_norm.o v_prod.o v_result.o v_scal.o v_rot.o v_sprod.o m_prod.o m_prodtr.o write2aba.o write2ansys.o write2aster.o write2darwin.o write2dolfyn.o write2dyna.o write2isaac.o write2duns.o write2frd.o write2foam.o write2nas.o write2samcef.o write2tochnog.o writefbd.o writebp.o contact.o makeTriFromElems.o uselibSNL.cpp generateTet.cpp ../../libSNL/src/*.cpp -O2 -Wall -Wno-narrowing -DSEMINIT -I./ -I/usr/include -I/usr/include/GL -I../../libSNL/src -I/usr/local/include -I/usr/local/include/GL -L/usr/local/lib -lGL -lGLU -lglut -lX11 -lXi -lXmu -lXext -lXt -lSM -lICE -lm -lpthread -lrt -o cgx In file included from uselibSNL.cpp:35: In file included from ../../libSNL/src/snlSurface.h:27: ../../libSNL/src/ptrList.h:744:9: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ uselibSNL.cpp:84:1: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int i; ^~~~~~~~~ uselibSNL.cpp:128:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int i; ^~~~~~~~~ uselibSNL.cpp:144:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int i; ^~~~~~~~~ uselibSNL.cpp:155:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int i; ^~~~~~~~~ uselibSNL.cpp:187:11: warning: unused variable 'resWeight' [-Wunused-variable] double *resWeight = NULL; ^ uselibSNL.cpp:186:11: warning: unused variable 'resKnot' [-Wunused-variable] double *resKnot = NULL; ^ uselibSNL.cpp:1958:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] delSet("-tmp"); ^ uselibSNL.cpp:1959:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] pntset=pre_seta("-tmp1","i",0); ^ uselibSNL.cpp:1959:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] pntset=pre_seta("-tmp1","i",0); ^ uselibSNL.cpp:1965:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] getNewName( buffer, "p" ); ^ uselibSNL.cpp:1969:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] seta(pntset,"p",p); ^ uselibSNL.cpp:1979:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ipax1=pnt( "+pax11",cg_sphere[0],cg_sphere[1],cg_sphere[2], 0 ); ^ uselibSNL.cpp:1980:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ipax2=pnt( "+pax12",pax1[0],pax1[1],pax1[2], 0 ); ^ uselibSNL.cpp:1993:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ipax1=pnt( "+pax21",cg_sphere[0],cg_sphere[1],cg_sphere[2], 0 ); ^ uselibSNL.cpp:1994:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ipax2=pnt( "+pax22",pax2[0],pax2[1],pax2[2], 0 ); ^ uselibSNL.cpp:2018:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] delSet("-tmp1"); ^ uselibSNL.cpp:2346:40: warning: data argument not used by format string [-Wformat-extra-args] printf(" ERROR: nurbs not valid\n",nurbs[nr].name); ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ uselibSNL.cpp:2314:7: warning: unused variable 'orig_np' [-Wunused-variable] int orig_np=0, pcollapsed, collapsedFlag=0, moveFlag=1 ; ^ 19 warnings generated. generateTet.cpp:106:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] delSet("+snodSet"); ^ generateTet.cpp:107:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] delSet("+velemSet"); ^ generateTet.cpp:108:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] snodSet=pre_seta("+snodSet","i",0); ^ generateTet.cpp:108:31: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] snodSet=pre_seta("+snodSet","i",0); ^ generateTet.cpp:118:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] for(k=0; k<3; k++) seta(snodSet,"n",e_enqire[set[setNr].elem[i]].nod[k]); ^ generateTet.cpp:133:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { errMsg("ERROR: realloc failure in generateTet\n"); return(0); } ^ generateTet.cpp:176:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if ( ( readNG( "test.vol", anz_ng, &setx, &node_ng, &elem_ng, NULL)) == -1) ^ generateTet.cpp:243:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { errMsg("ERROR: realloc failure in generateTet\n"); return(0); } ^ generateTet.cpp:314:51: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] for (j=0; jenext++, 3, cgxtet, 1, eattr ); seta( setNr, "e", anz->emax ); } ^ generateTet.cpp:347:39: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] fixMidsideNodes( set[setNr].name, "gen" ); ^ generateTet.cpp:350:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] snodSet=pre_seta("+snodSet","i",0); ^ generateTet.cpp:350:33: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] snodSet=pre_seta("+snodSet","i",0); ^ generateTet.cpp:367:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] seta(snodSet,"n",e_enqire[set[setNr].elem[k]].nod[nodseq_te10[n*3+1]]); ^ generateTet.cpp:373:39: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] fixMidsideNodes( set[setNr].name, "" ); ^ generateTet.cpp:429:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] delSet("+snodSet"); ^ generateTet.cpp:430:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] delSet("+mnodSet"); ^ generateTet.cpp:431:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] delSet("+velemSet"); ^ generateTet.cpp:432:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] snodSet=pre_seta("+snodSet","i",0); ^ generateTet.cpp:432:31: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] snodSet=pre_seta("+snodSet","i",0); ^ generateTet.cpp:433:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] mnodSet=pre_seta("+mnodSet","i",0); ^ generateTet.cpp:433:31: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] mnodSet=pre_seta("+mnodSet","i",0); ^ generateTet.cpp:434:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] setNr=pre_seta("+velemSet","i",0); ^ generateTet.cpp:434:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] setNr=pre_seta("+velemSet","i",0); ^ generateTet.cpp:445:41: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] for(k=0; k<3; k++) seta(mnodSet,"n",e_enqire[surf[s].elem[i]].nod[k+3]); ^ generateTet.cpp:452:39: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] for(k=0; k<3; k++) seta(snodSet,"n",e_enqire[surf[s].elem[i]].nod[k]); ^ generateTet.cpp:468:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { errMsg("ERROR: realloc failure in generateTet\n"); return(0); } ^ generateTet.cpp:538:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if ( ( readNG( "test.vol", anz_ng, &setx, &node_ng, &elem_ng, NULL)) == -1) ^ generateTet.cpp:613:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { errMsg("ERROR: realloc failure in generateTet\n"); return(0); } ^ generateTet.cpp:686:82: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] elem_define(anz,&e_enqire, anz->enext++, 3, cgxtet, 1, eattr ); seta( setNr, "e", anz->emax ); ^ generateTet.cpp:697:39: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] fixMidsideNodes( set[setNr].name, "gen" ); ^ generateTet.cpp:699:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] snodSet2=pre_seta("+snodSet2","i",0); ^ generateTet.cpp:699:35: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] snodSet2=pre_seta("+snodSet2","i",0); ^ generateTet.cpp:717:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] seta(snodSet2,"n",e_enqire[set[setNr].elem[k]].nod[nodseq_te10[n*3+1]]); ^ generateTet.cpp:725:41: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] for (n=0; n<10; n++) seta( setNr, "n", e_enqire[set[setNr].elem[k]].nod[n] ); ^ generateTet.cpp:728:39: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] fixMidsideNodes( set[setNr].name, "" ); ^ generateTet.cpp:734:40: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] for (n=0; n<4; n++) seta( setNr, "n", e_enqire[set[setNr].elem[k]].nod[n] ); ^ generateTet.cpp:738:55: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] for (k = 0; k < set[snodSet].anz_n; k++) setr(setNr,"n",set[snodSet].node[k]); ^ generateTet.cpp:739:55: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] for (k = 0; k < set[mnodSet].anz_n; k++) setr(setNr,"n",set[mnodSet].node[k]); ^ generateTet.cpp:747:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] delSet("+snodSet"); ^ generateTet.cpp:748:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] delSet("+mnodSet"); ^ generateTet.cpp:749:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] delSet("+velemSet"); ^ 42 warnings generated. ../../libSNL/src/snlCircularOffsetCurve.cpp:420:10: warning: variable 'size' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] if ( tolerance <= 0.0 ) ^~~~~~~~~~~~~~~~ ../../libSNL/src/snlCircularOffsetCurve.cpp:442:30: note: uninitialized use occurs here vNet -> vertexNet ( pts, size ); ^~~~ ../../libSNL/src/snlCircularOffsetCurve.cpp:420:5: note: remove the 'if' if its condition is always true if ( tolerance <= 0.0 ) ^~~~~~~~~~~~~~~~~~~~~~~ ../../libSNL/src/snlCircularOffsetCurve.cpp:416:26: note: initialize the variable 'size' to silence this warning int size; ^ = 0 1 warning generated. In file included from ../../libSNL/src/snlNurbsCommon.cpp:24: In file included from ../../libSNL/src/snlNurbsCommon.h:25: In file included from ../../libSNL/src/snlSurface.h:27: ../../libSNL/src/ptrList.h:744:9: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ 1 warning generated. In file included from ../../libSNL/src/snlSurface.cpp:16: In file included from ../../libSNL/src/snlSurface.h:27: ../../libSNL/src/ptrList.h:744:9: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ ../../libSNL/src/snlSurface.cpp:1866:21: warning: variable 'cSize' set but not used [-Wunused-but-set-variable] unsigned cSize, oSize; // Number of control points in current and other direction. ^ ../../libSNL/src/snlSurface.cpp:2238:21: warning: variable 'oKnts' set but not used [-Wunused-but-set-variable] snlKnotVector* oKnts; // Other knots. ^ ../../libSNL/src/snlSurface.cpp:2235:27: warning: variable 'oDeg' set but not used [-Wunused-but-set-variable] unsigned cDeg, oDeg; // Degree to be processed. Current degree, other degree. ^ 4 warnings generated. In file included from ../../libSNL/src/snlSurfaceOfRevolution.cpp:20: ../../libSNL/src/snlSurfaceOfRevolution.h:56:22: warning: 'snlSurfaceOfRevolution::triangleMesh' hides overloaded virtual function [-Woverloaded-virtual] virtual void triangleMesh ( snlTriangleMesh* triMesh, double tolerance ); ^ ../../libSNL/src/snlSurfaceBase.h:50:22: note: hidden overloaded virtual function 'snlSurfaceBase::triangleMesh' declared here: different number of parameters (3 vs 2) virtual void triangleMesh ( snlTriangleMesh* triMesh, int toleranceType, double tolerance ) = 0; ^ 1 warning generated. In file included from ../../libSNL/src/snlSurface_pointLoop.cpp:16: In file included from ../../libSNL/src/snlSurface_pointLoop.h:18: In file included from ../../libSNL/src/snlSurface.h:27: ../../libSNL/src/ptrList.h:744:9: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ ../../libSNL/src/snlSurface_pointLoop.cpp:599:13: warning: variable 'curGap' set but not used [-Wunused-but-set-variable] int curGap = -1; // Current maximum gap start index. ^ 2 warnings generated. In file included from ../../libSNL/src/snlSurface_projection.cpp:16: In file included from ../../libSNL/src/snlSurface_projection.h:17: In file included from ../../libSNL/src/snlSurface.h:27: ../../libSNL/src/ptrList.h:744:9: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ ../../libSNL/src/snlSurface_projection.cpp:1007:9: warning: variable 'numToReturn' set but not used [-Wunused-but-set-variable] int numToReturn = 0; ^ 2 warnings generated. gmake[1]: Leaving directory '/wrkdirs/usr/ports/cad/calculix/work/CalculiX/cgx_2.22/src' =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> calculix-2.22 depends on executable: ccx - not found ===> Installing existing package /packages/All/CalculiX-ccx-2.22_1.pkg [pkg-builder.dan.net.uk] Installing CalculiX-ccx-2.22_1... [pkg-builder.dan.net.uk] `-- Installing arpack-ng-3.9.1_4... [pkg-builder.dan.net.uk] | `-- Installing blas-3.12.1... [pkg-builder.dan.net.uk] | | `-- Installing gcc13-13.3.0_2... [pkg-builder.dan.net.uk] | | `-- Installing binutils-2.44,1... [pkg-builder.dan.net.uk] | | `-- Extracting binutils-2.44,1: .......... done [pkg-builder.dan.net.uk] | | `-- Installing gmp-6.3.0... [pkg-builder.dan.net.uk] | | `-- Extracting gmp-6.3.0: .......... done [pkg-builder.dan.net.uk] | | `-- Installing mpc-1.3.1_1... [pkg-builder.dan.net.uk] | | | `-- Installing mpfr-4.2.2,1... [pkg-builder.dan.net.uk] | | | `-- Extracting mpfr-4.2.2,1: .......... done [pkg-builder.dan.net.uk] | | `-- Extracting mpc-1.3.1_1: ...... done [pkg-builder.dan.net.uk] | | `-- Extracting gcc13-13.3.0_2: .......... done create symlink for gcc13 create symlink for gcc13 (world) create symlink for g++13 create symlink for g++13 (world) create symlink for cpp13 create symlink for cpp13 (world) [pkg-builder.dan.net.uk] | `-- Extracting blas-3.12.1: ..... done [pkg-builder.dan.net.uk] | `-- Installing lapack-3.12.1... [pkg-builder.dan.net.uk] | `-- Extracting lapack-3.12.1: .......... done [pkg-builder.dan.net.uk] | `-- Installing mpich-4.3.0... [pkg-builder.dan.net.uk] | | `-- Installing hwloc2-2.11.2... [pkg-builder.dan.net.uk] | | `-- Installing level-zero-1.21.9... [pkg-builder.dan.net.uk] | | | `-- Installing libfmt-10.2.1... [pkg-builder.dan.net.uk] | | | `-- Extracting libfmt-10.2.1: .......... done [pkg-builder.dan.net.uk] | | | `-- Installing spdlog-1.15.2... [pkg-builder.dan.net.uk] | | | `-- Extracting spdlog-1.15.2: .......... done [pkg-builder.dan.net.uk] | | `-- Extracting level-zero-1.21.9: .......... done [pkg-builder.dan.net.uk] | | `-- Installing libpciaccess-0.18.1_1... [pkg-builder.dan.net.uk] | | | `-- Installing hwdata-0.394,1... [pkg-builder.dan.net.uk] | | | `-- Extracting hwdata-0.394,1: ...... done [pkg-builder.dan.net.uk] | | `-- Extracting libpciaccess-0.18.1_1: ..... done [pkg-builder.dan.net.uk] | | `-- Installing libxml2-2.11.9... [pkg-builder.dan.net.uk] | | `-- Extracting libxml2-2.11.9: .......... done [pkg-builder.dan.net.uk] | | `-- Extracting hwloc2-2.11.2: .......... done [pkg-builder.dan.net.uk] | | `-- Installing json-c-0.18... [pkg-builder.dan.net.uk] | | `-- Extracting json-c-0.18: .......... done [pkg-builder.dan.net.uk] | | `-- Installing libepoll-shim-0.0.20240608... [pkg-builder.dan.net.uk] | | `-- Extracting libepoll-shim-0.0.20240608: .......... done [pkg-builder.dan.net.uk] | | `-- Installing libfabric-1.15.1_4... [pkg-builder.dan.net.uk] | | `-- Extracting libfabric-1.15.1_4: .......... done [pkg-builder.dan.net.uk] | `-- Extracting mpich-4.3.0: .......... done [pkg-builder.dan.net.uk] `-- Extracting arpack-ng-3.9.1_4: .......... done [pkg-builder.dan.net.uk] `-- Installing spooles-2.2_16... [pkg-builder.dan.net.uk] `-- Extracting spooles-2.2_16: .......... done [pkg-builder.dan.net.uk] Extracting CalculiX-ccx-2.22_1: .......... done ===== Message from gcc13-13.3.0_2: -- To ensure binaries built with this toolchain find appropriate versions of the necessary run-time libraries, you may want to link using -Wl,-rpath=/usr/local/lib/gcc13 For ports leveraging USE_GCC, USES=compiler, or USES=fortran this happens transparently. ===== Message from CalculiX-ccx-2.22_1: -- Spooles: by default the single-threaded solver is used unless you set the CCX_NPROC_EQUATION_SOLVER or the OMP_NUM_THREADS environment variables with the number of cores you want to use. ===> calculix-2.22 depends on executable: ccx - found ===> Returning to build of calculix-2.22 ===> calculix-2.22 depends on file: /usr/local/libdata/pkgconfig/ice.pc - found ===> calculix-2.22 depends on file: /usr/local/libdata/pkgconfig/sm.pc - found ===> calculix-2.22 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> calculix-2.22 depends on file: /usr/local/libdata/pkgconfig/xext.pc - found ===> calculix-2.22 depends on file: /usr/local/libdata/pkgconfig/xi.pc - found ===> calculix-2.22 depends on file: /usr/local/libdata/pkgconfig/xmu.pc - found ===> calculix-2.22 depends on file: /usr/local/libdata/pkgconfig/xt.pc - found =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for calculix-2.22 ===> Generating temporary packing list install -s -m 555 /wrkdirs/usr/ports/cad/calculix/work/CalculiX/cgx_2.22/src/cgx /wrkdirs/usr/ports/cad/calculix/work/stage/usr/local/bin/cgx install -m 0644 /portdistfiles/calculix/cgx_2.22.pdf /wrkdirs/usr/ports/cad/calculix/work/stage/usr/local/share/doc/CalculiX ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2025-05-06T07:07:58+0000' 'PKG_NOTE_ports_top_git_hash=5529c5919b' 'PKG_NOTE_ports_top_checkout_unclean=yes' 'PKG_NOTE_port_git_hash=1a35b19e6d' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.2' NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building packages for calculix-2.22 ===> Building calculix-2.22 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for calculix-2.22 build of cad/calculix | calculix-2.22 ended at Tue May 6 08:17:22 BST 2025 build time: 00:09:32