Mock Version: 1.3.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/smoldyn.spec'], nspawn_args=[]shell=Falseuid=996env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}chrootPath='/var/lib/mock/epel-1-armhfp-f0dbc9553eac8235ed73ec4aaf737b59367c7355/root'gid=135user='mockbuild'timeout=0logger=printOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/smoldyn.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False Building target platforms: armv7hl Building for target armv7hl Wrote: /builddir/build/SRPMS/smoldyn-2.61-3.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/smoldyn.spec'], nspawn_args=[]shell=Falseuid=996env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}chrootPath='/var/lib/mock/epel-1-armhfp-f0dbc9553eac8235ed73ec4aaf737b59367c7355/root'gid=135user='mockbuild'timeout=0logger=printOutput=False) Executing command: ['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/smoldyn.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False Building target platforms: armv7hl Building for target armv7hl Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.9N78hO + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf smoldyn-2.61 + /usr/bin/unzip -qq /builddir/build/SOURCES/smoldyn-2.61.zip + STATUS=0 + '[' 0 -ne 0 ']' + cd smoldyn-2.61 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (smoldyn-fix_libpaths.patch): + echo 'Patch #0 (smoldyn-fix_libpaths.patch):' + /usr/bin/patch -p0 -b --suffix .fix_libpaths --fuzz=0 + /usr/bin/cat /builddir/build/SOURCES/smoldyn-fix_libpaths.patch patching file CMakeLists.txt Hunk #4 succeeded at 189 (offset -1 lines). Patch #2 (smoldyn-use_boost169.patch): + echo 'Patch #2 (smoldyn-use_boost169.patch):' + /usr/bin/cat /builddir/build/SOURCES/smoldyn-use_boost169.patch + /usr/bin/patch -p0 -b --suffix .use_boost169 --fuzz=0 patching file CMakeLists.txt + mv source/lib/SFMT/LICENSE.txt source/lib/SFMT/SFMT-LICENSE.txt + mv source/lib/SFMT/README.txt source/lib/SFMT/SFMT-README.txt + rm -rf Linux + rm -rf source/BioNetGen source/MinGWlibs Toolchain-mingw32.cmake + rm -rf source/vcell/SimpleMesh.cpp source/vcell/SimpleMesh.h source/vcell/SimpleValueProvider.cpp source/vcell/SimpleValueProvider.h source/vcell/zconf.h source/vcell/zlib.h source/vcell/zlib.lib source/NextSubVolume/Eigen + rm -rf source/NextSubVolume/boost_include + rm -f source/vtk/CMakeLists.txt source/vtk/vtkwrapper.cpp source/vtk/vtkwrapper.h + find . -type f -name '*.h' -exec chmod 0644 '{}' ';' + find . -type f -name '*.c' -exec chmod 0644 '{}' ';' + find . -type f -name '*.pdf' -exec chmod 0644 '{}' ';' + find . -type f -name '*.txt' -exec chmod 0644 '{}' ';' + find . -type f -name '*.txt' -exec sed -i 's/\r$//' '{}' ';' + sed -e 's|../../../source/BioNetGen/BNG2.pl|/usr/share/perl5/vendor_perl/BioNetGen/BNG2.pl|g' -i examples/S95_regression/lrmsim.txt examples/S12_bionetgen/lrm/lrmsim.txt examples/S12_bionetgen/abba/abbasim.txt examples/S94_archive/Andrews_2016/BioNetGen/lrm/lrmsim.txt examples/S94_archive/Andrews_2016/BioNetGen/abba/abbasim.txt + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.02APCh + umask 022 + cd /builddir/build/BUILD + cd smoldyn-2.61 + mkdir -p build ~/build/BUILD/smoldyn-2.61/build ~/build/BUILD/smoldyn-2.61 + pushd build + . /opt/rh/devtoolset-8/enable ++ export PATH=/opt/rh/devtoolset-8/root/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin ++ PATH=/opt/rh/devtoolset-8/root/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin ++ export MANPATH=/opt/rh/devtoolset-8/root/usr/share/man: ++ MANPATH=/opt/rh/devtoolset-8/root/usr/share/man: ++ export INFOPATH=/opt/rh/devtoolset-8/root/usr/share/info ++ INFOPATH=/opt/rh/devtoolset-8/root/usr/share/info ++ export PCP_DIR=/opt/rh/devtoolset-8/root ++ PCP_DIR=/opt/rh/devtoolset-8/root ++ export PERL5LIB=/opt/rh/devtoolset-8/root//usr/lib/perl5/vendor_perl:/opt/rh/devtoolset-8/root/usr/lib/perl5:/opt/rh/devtoolset-8/root//usr/share/perl5/vendor_perl ++ PERL5LIB=/opt/rh/devtoolset-8/root//usr/lib/perl5/vendor_perl:/opt/rh/devtoolset-8/root/usr/lib/perl5:/opt/rh/devtoolset-8/root//usr/share/perl5/vendor_perl +++ rpm --eval '%{_libdir}' ++ rpmlibdir=/usr/lib ++ '[' /usr/lib '!=' /usr/lib ']' ++ export LD_LIBRARY_PATH=/opt/rh/devtoolset-8/root/usr/lib ++ LD_LIBRARY_PATH=/opt/rh/devtoolset-8/root/usr/lib ++ export LD_LIBRARY_PATH=/opt/rh/devtoolset-8/root/usr/lib:/opt/rh/devtoolset-8/root/usr/lib/dyninst/dyninst:/opt/rh/devtoolset-8/root/usr/lib ++ LD_LIBRARY_PATH=/opt/rh/devtoolset-8/root/usr/lib:/opt/rh/devtoolset-8/root/usr/lib/dyninst/dyninst:/opt/rh/devtoolset-8/root/usr/lib ++ pythonvers= ++ export PYTHONPATH=/opt/rh/devtoolset-8/root/usr/lib64/python/site-packages:/opt/rh/devtoolset-8/root/usr/lib/python/site-packages ++ PYTHONPATH=/opt/rh/devtoolset-8/root/usr/lib64/python/site-packages:/opt/rh/devtoolset-8/root/usr/lib/python/site-packages ++ export PKG_CONFIG_PATH=/opt/rh/devtoolset-8/root/usr/lib/pkgconfig::/usr/lib/pkgconfig:/usr/share/pkgconfig ++ PKG_CONFIG_PATH=/opt/rh/devtoolset-8/root/usr/lib/pkgconfig::/usr/lib/pkgconfig:/usr/share/pkgconfig + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro ' + export LDFLAGS + /usr/bin/cmake3 -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DBUILD_SHARED_LIBS:BOOL=ON -Wno-dev -DCPACK_BINARY_STGZ:BOOL=OFF -DCPACK_BINARY_TGZ:BOOL=OFF -DCPACK_BINARY_TZ:BOOL=OFF -DCPACK_SOURCE_TBZ2:BOOL=OFF -DCPACK_SOURCE_TGZ:BOOL=OFF -DCPACK_SOURCE_TXZ:BOOL=OFF -DCPACK_SOURCE_TZ:BOOL=OFF -DOPTION_VCELL:BOOL=OFF -DOPTION_VTK:BOOL=OFF -DOPTION_TARGET_LIBSMOLDYN:BOOL=OFF -DOPTION_USE_ZLIB:BOOL=ON -DOPTION_PDE:BOOL=ON -DPERL_VENDORLIB:PATH=/usr/share/perl5/vendor_perl -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_VERBOSE_MAKEFILE:BOOL=TRUE -DCMAKE_COLOR_MAKEFILE:BOOL=ON -DCMAKE_SKIP_RPATH:BOOL=YES -DHAVE_GL_FREEGLUT_H=TRUE .. -- The C compiler identification is GNU 8.3.1 -- The CXX compiler identification is GNU 8.3.1 -- Check for working C compiler: /opt/rh/devtoolset-8/root/usr/bin/cc -- Check for working C compiler: /opt/rh/devtoolset-8/root/usr/bin/cc - works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /opt/rh/devtoolset-8/root/usr/bin/c++ -- Check for working CXX compiler: /opt/rh/devtoolset-8/root/usr/bin/c++ - works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Build type: Release -- Found OpenGL: /usr/lib/libOpenGL.so -- OpenGL found: '/usr/include', '/usr/lib/libGL.so;/usr/lib/libGLU.so' -- Found GLUT: /usr/lib/libglut.so -- Glut found: '/usr/include', '/usr/lib/libglut.so;/usr/lib/libXmu.so;/usr/lib/libXi.so' -- Found TIFF: /usr/lib/libtiff.so (found version "4.0.3") -- Found Libtiff: '/usr/include', '/usr/lib/libtiff.so' -- Found Zlib: '/usr/include', '/usr/lib/libz.so' -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_C_FLAGS_RELEASE CMAKE_Fortran_FLAGS_RELEASE LIB_INSTALL_DIR SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/smoldyn-2.61/build + /usr/bin/make -j4 V=1 /usr/bin/cmake3 -S/builddir/build/BUILD/smoldyn-2.61 -B/builddir/build/BUILD/smoldyn-2.61/build --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake3 -E cmake_progress_start /builddir/build/BUILD/smoldyn-2.61/build/CMakeFiles /builddir/build/BUILD/smoldyn-2.61/build/CMakeFiles/progress.marks /usr/bin/make -f CMakeFiles/Makefile2 all make[1]: Entering directory `/builddir/build/BUILD/smoldyn-2.61/build' /usr/bin/make -f CMakeFiles/smoldyn.dir/build.make CMakeFiles/smoldyn.dir/depend make[2]: Entering directory `/builddir/build/BUILD/smoldyn-2.61/build' cd /builddir/build/BUILD/smoldyn-2.61/build && /usr/bin/cmake3 -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/smoldyn-2.61 /builddir/build/BUILD/smoldyn-2.61 /builddir/build/BUILD/smoldyn-2.61/build /builddir/build/BUILD/smoldyn-2.61/build /builddir/build/BUILD/smoldyn-2.61/build/CMakeFiles/smoldyn.dir/DependInfo.cmake --color= Scanning dependencies of target smoldyn make[2]: Leaving directory `/builddir/build/BUILD/smoldyn-2.61/build' /usr/bin/make -f CMakeFiles/smoldyn.dir/build.make CMakeFiles/smoldyn.dir/build make[2]: Entering directory `/builddir/build/BUILD/smoldyn-2.61/build' [ 2%] Building CXX object CMakeFiles/smoldyn.dir/source/lib/Geometry.c.o [ 5%] Building CXX object CMakeFiles/smoldyn.dir/source/lib/List.c.o [ 7%] Building CXX object CMakeFiles/smoldyn.dir/source/lib/math2.c.o /opt/rh/devtoolset-8/root/usr/bin/c++ -I/builddir/build/BUILD/smoldyn-2.61/source/lib -I/builddir/build/BUILD/smoldyn-2.61/source/Smoldyn -I/builddir/build/BUILD/smoldyn-2.61/source/NextSubVolume -I/builddir/build/BUILD/smoldyn-2.61/source/vtk -I/builddir/build/BUILD/smoldyn-2.61/build -isystem /usr/include/boost169/boost -isystem /usr/include/boost169 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -O2 -Wall -DNDEBUG -I/usr/include -o CMakeFiles/smoldyn.dir/source/lib/List.c.o -c /builddir/build/BUILD/smoldyn-2.61/source/lib/List.c /opt/rh/devtoolset-8/root/usr/bin/c++ -I/builddir/build/BUILD/smoldyn-2.61/source/lib -I/builddir/build/BUILD/smoldyn-2.61/source/Smoldyn -I/builddir/build/BUILD/smoldyn-2.61/source/NextSubVolume -I/builddir/build/BUILD/smoldyn-2.61/source/vtk -I/builddir/build/BUILD/smoldyn-2.61/build -isystem /usr/include/boost169/boost -isystem /usr/include/boost169 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -O2 -Wall -DNDEBUG -I/usr/include -o CMakeFiles/smoldyn.dir/source/lib/math2.c.o -c /builddir/build/BUILD/smoldyn-2.61/source/lib/math2.c /opt/rh/devtoolset-8/root/usr/bin/c++ -I/builddir/build/BUILD/smoldyn-2.61/source/lib -I/builddir/build/BUILD/smoldyn-2.61/source/Smoldyn -I/builddir/build/BUILD/smoldyn-2.61/source/NextSubVolume -I/builddir/build/BUILD/smoldyn-2.61/source/vtk -I/builddir/build/BUILD/smoldyn-2.61/build -isystem /usr/include/boost169/boost -isystem /usr/include/boost169 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -O2 -Wall -DNDEBUG -I/usr/include -o CMakeFiles/smoldyn.dir/source/lib/Geometry.c.o -c /builddir/build/BUILD/smoldyn-2.61/source/lib/Geometry.c [ 10%] Building CXX object CMakeFiles/smoldyn.dir/source/lib/opengl2.c.o /opt/rh/devtoolset-8/root/usr/bin/c++ -I/builddir/build/BUILD/smoldyn-2.61/source/lib -I/builddir/build/BUILD/smoldyn-2.61/source/Smoldyn -I/builddir/build/BUILD/smoldyn-2.61/source/NextSubVolume -I/builddir/build/BUILD/smoldyn-2.61/source/vtk -I/builddir/build/BUILD/smoldyn-2.61/build -isystem /usr/include/boost169/boost -isystem /usr/include/boost169 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -O2 -Wall -DNDEBUG -I/usr/include -o CMakeFiles/smoldyn.dir/source/lib/opengl2.c.o -c /builddir/build/BUILD/smoldyn-2.61/source/lib/opengl2.c [ 12%] Building CXX object CMakeFiles/smoldyn.dir/source/lib/parse.c.o /opt/rh/devtoolset-8/root/usr/bin/c++ -I/builddir/build/BUILD/smoldyn-2.61/source/lib -I/builddir/build/BUILD/smoldyn-2.61/source/Smoldyn -I/builddir/build/BUILD/smoldyn-2.61/source/NextSubVolume -I/builddir/build/BUILD/smoldyn-2.61/source/vtk -I/builddir/build/BUILD/smoldyn-2.61/build -isystem /usr/include/boost169/boost -isystem /usr/include/boost169 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -O2 -Wall -DNDEBUG -I/usr/include -o CMakeFiles/smoldyn.dir/source/lib/parse.c.o -c /builddir/build/BUILD/smoldyn-2.61/source/lib/parse.c /builddir/build/BUILD/smoldyn-2.61/source/lib/opengl2.c: In function 'void KeyPush(unsigned char, int, int)': /builddir/build/BUILD/smoldyn-2.61/source/lib/opengl2.c:114:24: warning: '0' directive output may be truncated writing 1 byte into a region of size between 0 and 255 [-Wformat-truncation=] snprintf(str,STRCHAR,"%s%%0%ii.tif",TiffName,(int)log10((double)TiffNumMax)+1); ^~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/opengl2.c:114:24: note: directive argument in the range [-2147483647, 2147483647] In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/lib/opengl2.c:7: /usr/include/bits/stdio2.h:64:35: note: '__builtin___snprintf_chk' output between 9 and 274 bytes into a destination of size 256 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 15%] Building CXX object CMakeFiles/smoldyn.dir/source/lib/queue.c.o /opt/rh/devtoolset-8/root/usr/bin/c++ -I/builddir/build/BUILD/smoldyn-2.61/source/lib -I/builddir/build/BUILD/smoldyn-2.61/source/Smoldyn -I/builddir/build/BUILD/smoldyn-2.61/source/NextSubVolume -I/builddir/build/BUILD/smoldyn-2.61/source/vtk -I/builddir/build/BUILD/smoldyn-2.61/build -isystem /usr/include/boost169/boost -isystem /usr/include/boost169 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -O2 -Wall -DNDEBUG -I/usr/include -o CMakeFiles/smoldyn.dir/source/lib/queue.c.o -c /builddir/build/BUILD/smoldyn-2.61/source/lib/queue.c [ 17%] Building CXX object CMakeFiles/smoldyn.dir/source/lib/random2.c.o /opt/rh/devtoolset-8/root/usr/bin/c++ -I/builddir/build/BUILD/smoldyn-2.61/source/lib -I/builddir/build/BUILD/smoldyn-2.61/source/Smoldyn -I/builddir/build/BUILD/smoldyn-2.61/source/NextSubVolume -I/builddir/build/BUILD/smoldyn-2.61/source/vtk -I/builddir/build/BUILD/smoldyn-2.61/build -isystem /usr/include/boost169/boost -isystem /usr/include/boost169 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -O2 -Wall -DNDEBUG -I/usr/include -o CMakeFiles/smoldyn.dir/source/lib/random2.c.o -c /builddir/build/BUILD/smoldyn-2.61/source/lib/random2.c [ 20%] Building CXX object CMakeFiles/smoldyn.dir/source/lib/Rn.c.o /opt/rh/devtoolset-8/root/usr/bin/c++ -I/builddir/build/BUILD/smoldyn-2.61/source/lib -I/builddir/build/BUILD/smoldyn-2.61/source/Smoldyn -I/builddir/build/BUILD/smoldyn-2.61/source/NextSubVolume -I/builddir/build/BUILD/smoldyn-2.61/source/vtk -I/builddir/build/BUILD/smoldyn-2.61/build -isystem /usr/include/boost169/boost -isystem /usr/include/boost169 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -O2 -Wall -DNDEBUG -I/usr/include -o CMakeFiles/smoldyn.dir/source/lib/Rn.c.o -c /builddir/build/BUILD/smoldyn-2.61/source/lib/Rn.c [ 22%] Building CXX object CMakeFiles/smoldyn.dir/source/lib/RnSort.c.o /opt/rh/devtoolset-8/root/usr/bin/c++ -I/builddir/build/BUILD/smoldyn-2.61/source/lib -I/builddir/build/BUILD/smoldyn-2.61/source/Smoldyn -I/builddir/build/BUILD/smoldyn-2.61/source/NextSubVolume -I/builddir/build/BUILD/smoldyn-2.61/source/vtk -I/builddir/build/BUILD/smoldyn-2.61/build -isystem /usr/include/boost169/boost -isystem /usr/include/boost169 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -O2 -Wall -DNDEBUG -I/usr/include -o CMakeFiles/smoldyn.dir/source/lib/RnSort.c.o -c /builddir/build/BUILD/smoldyn-2.61/source/lib/RnSort.c [ 25%] Building CXX object CMakeFiles/smoldyn.dir/source/lib/rxnparam.c.o /opt/rh/devtoolset-8/root/usr/bin/c++ -I/builddir/build/BUILD/smoldyn-2.61/source/lib -I/builddir/build/BUILD/smoldyn-2.61/source/Smoldyn -I/builddir/build/BUILD/smoldyn-2.61/source/NextSubVolume -I/builddir/build/BUILD/smoldyn-2.61/source/vtk -I/builddir/build/BUILD/smoldyn-2.61/build -isystem /usr/include/boost169/boost -isystem /usr/include/boost169 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -O2 -Wall -DNDEBUG -I/usr/include -o CMakeFiles/smoldyn.dir/source/lib/rxnparam.c.o -c /builddir/build/BUILD/smoldyn-2.61/source/lib/rxnparam.c /builddir/build/BUILD/smoldyn-2.61/source/lib/rxnparam.c: In function 'void rdfmaketable()': /builddir/build/BUILD/smoldyn-2.61/source/lib/rxnparam.c:935:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%s",string); ~~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/rxnparam.c:938:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%i",&n); ~~~~~^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/rxnparam.c:942:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%lf",&eps); ~~~~~^~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/rxnparam.c:946:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%s",string); ~~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/rxnparam.c: In function 'void rdfmaketableprob()': /builddir/build/BUILD/smoldyn-2.61/source/lib/rxnparam.c:1024:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%s",string); ~~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/rxnparam.c:1027:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%i",&n); ~~~~~^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/rxnparam.c:1031:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%lf",&eps); ~~~~~^~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/rxnparam.c:1039:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%s",string); ~~~~~^~~~~~~~~~~~~ [ 27%] Building CXX object CMakeFiles/smoldyn.dir/source/lib/SimCommand.c.o /opt/rh/devtoolset-8/root/usr/bin/c++ -I/builddir/build/BUILD/smoldyn-2.61/source/lib -I/builddir/build/BUILD/smoldyn-2.61/source/Smoldyn -I/builddir/build/BUILD/smoldyn-2.61/source/NextSubVolume -I/builddir/build/BUILD/smoldyn-2.61/source/vtk -I/builddir/build/BUILD/smoldyn-2.61/build -isystem /usr/include/boost169/boost -isystem /usr/include/boost169 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -O2 -Wall -DNDEBUG -I/usr/include -o CMakeFiles/smoldyn.dir/source/lib/SimCommand.c.o -c /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.c [ 30%] Building CXX object CMakeFiles/smoldyn.dir/source/lib/Sphere.c.o /opt/rh/devtoolset-8/root/usr/bin/c++ -I/builddir/build/BUILD/smoldyn-2.61/source/lib -I/builddir/build/BUILD/smoldyn-2.61/source/Smoldyn -I/builddir/build/BUILD/smoldyn-2.61/source/NextSubVolume -I/builddir/build/BUILD/smoldyn-2.61/source/vtk -I/builddir/build/BUILD/smoldyn-2.61/build -isystem /usr/include/boost169/boost -isystem /usr/include/boost169 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -O2 -Wall -DNDEBUG -I/usr/include -o CMakeFiles/smoldyn.dir/source/lib/Sphere.c.o -c /builddir/build/BUILD/smoldyn-2.61/source/lib/Sphere.c /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.c: In function 'int scmdopenfiles(cmdssptr, int)': /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.c:681:11: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%s",str2); ~~~~~^~~~~~~~~~~ [ 32%] Building CXX object CMakeFiles/smoldyn.dir/source/lib/string2.c.o /opt/rh/devtoolset-8/root/usr/bin/c++ -I/builddir/build/BUILD/smoldyn-2.61/source/lib -I/builddir/build/BUILD/smoldyn-2.61/source/Smoldyn -I/builddir/build/BUILD/smoldyn-2.61/source/NextSubVolume -I/builddir/build/BUILD/smoldyn-2.61/source/vtk -I/builddir/build/BUILD/smoldyn-2.61/build -isystem /usr/include/boost169/boost -isystem /usr/include/boost169 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -O2 -Wall -DNDEBUG -I/usr/include -o CMakeFiles/smoldyn.dir/source/lib/string2.c.o -c /builddir/build/BUILD/smoldyn-2.61/source/lib/string2.c [ 35%] Building CXX object CMakeFiles/smoldyn.dir/source/lib/SurfaceParam.c.o /opt/rh/devtoolset-8/root/usr/bin/c++ -I/builddir/build/BUILD/smoldyn-2.61/source/lib -I/builddir/build/BUILD/smoldyn-2.61/source/Smoldyn -I/builddir/build/BUILD/smoldyn-2.61/source/NextSubVolume -I/builddir/build/BUILD/smoldyn-2.61/source/vtk -I/builddir/build/BUILD/smoldyn-2.61/build -isystem /usr/include/boost169/boost -isystem /usr/include/boost169 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -O2 -Wall -DNDEBUG -I/usr/include -o CMakeFiles/smoldyn.dir/source/lib/SurfaceParam.c.o -c /builddir/build/BUILD/smoldyn-2.61/source/lib/SurfaceParam.c [ 37%] Building CXX object CMakeFiles/smoldyn.dir/source/lib/Zn.c.o /opt/rh/devtoolset-8/root/usr/bin/c++ -I/builddir/build/BUILD/smoldyn-2.61/source/lib -I/builddir/build/BUILD/smoldyn-2.61/source/Smoldyn -I/builddir/build/BUILD/smoldyn-2.61/source/NextSubVolume -I/builddir/build/BUILD/smoldyn-2.61/source/vtk -I/builddir/build/BUILD/smoldyn-2.61/build -isystem /usr/include/boost169/boost -isystem /usr/include/boost169 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -O2 -Wall -DNDEBUG -I/usr/include -o CMakeFiles/smoldyn.dir/source/lib/Zn.c.o -c /builddir/build/BUILD/smoldyn-2.61/source/lib/Zn.c /builddir/build/BUILD/smoldyn-2.61/source/lib/SurfaceParam.c: In function 'void xdfmaketableirrev()': /builddir/build/BUILD/smoldyn-2.61/source/lib/SurfaceParam.c:613:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%i",&n); ~~~~~^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SurfaceParam.c:616:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%lf %lf",&xlo,&xhi); ~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SurfaceParam.c:618:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%lf %lf",&xfitlo,&xfithi); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SurfaceParam.c:620:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%lf",&eps); ~~~~~^~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SurfaceParam.c:622:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%s",ynmro); ~~~~~^~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SurfaceParam.c:625:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%s",ynxdf); } ~~~~~^~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SurfaceParam.c: In function 'void xdfmaketable()': /builddir/build/BUILD/smoldyn-2.61/source/lib/SurfaceParam.c:689:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%i",&n); ~~~~~^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SurfaceParam.c:693:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%lf",&eps); ~~~~~^~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SurfaceParam.c:696:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%s",yn); ~~~~~^~~~~~~~~ [ 40%] Building CXX object CMakeFiles/smoldyn.dir/source/lib/SFMT/SFMT.c.o /opt/rh/devtoolset-8/root/usr/bin/c++ -I/builddir/build/BUILD/smoldyn-2.61/source/lib -I/builddir/build/BUILD/smoldyn-2.61/source/Smoldyn -I/builddir/build/BUILD/smoldyn-2.61/source/NextSubVolume -I/builddir/build/BUILD/smoldyn-2.61/source/vtk -I/builddir/build/BUILD/smoldyn-2.61/build -isystem /usr/include/boost169/boost -isystem /usr/include/boost169 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -O2 -Wall -DNDEBUG -I/usr/include -o CMakeFiles/smoldyn.dir/source/lib/SFMT/SFMT.c.o -c /builddir/build/BUILD/smoldyn-2.61/source/lib/SFMT/SFMT.c /builddir/build/BUILD/smoldyn-2.61/source/lib/Zn.c: In function 'char* Zn_vect2csvstring(int*, int, char*)': /builddir/build/BUILD/smoldyn-2.61/source/lib/Zn.c:36:26: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] if(n>0) snprintf(string,sizeof(string),"%i",c[0]); ^~~~~~~~~~~~~~ [ 42%] Building CXX object CMakeFiles/smoldyn.dir/source/Smoldyn/smolbng.c.o /opt/rh/devtoolset-8/root/usr/bin/c++ -I/builddir/build/BUILD/smoldyn-2.61/source/lib -I/builddir/build/BUILD/smoldyn-2.61/source/Smoldyn -I/builddir/build/BUILD/smoldyn-2.61/source/NextSubVolume -I/builddir/build/BUILD/smoldyn-2.61/source/vtk -I/builddir/build/BUILD/smoldyn-2.61/build -isystem /usr/include/boost169/boost -isystem /usr/include/boost169 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -O2 -Wall -DNDEBUG -I/usr/include -o CMakeFiles/smoldyn.dir/source/Smoldyn/smolbng.c.o -c /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolbng.c [ 45%] Building CXX object CMakeFiles/smoldyn.dir/source/Smoldyn/smolboxes.c.o /opt/rh/devtoolset-8/root/usr/bin/c++ -I/builddir/build/BUILD/smoldyn-2.61/source/lib -I/builddir/build/BUILD/smoldyn-2.61/source/Smoldyn -I/builddir/build/BUILD/smoldyn-2.61/source/NextSubVolume -I/builddir/build/BUILD/smoldyn-2.61/source/vtk -I/builddir/build/BUILD/smoldyn-2.61/build -isystem /usr/include/boost169/boost -isystem /usr/include/boost169 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -O2 -Wall -DNDEBUG -I/usr/include -o CMakeFiles/smoldyn.dir/source/Smoldyn/smolboxes.c.o -c /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolboxes.c /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolbng.c: In function 'int bngrunBNGL2(bngptr, char*, char*)': /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolbng.c:1334:8: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result] system(string); // generate network ~~~~~~^~~~~~~~ [ 47%] Building CXX object CMakeFiles/smoldyn.dir/source/Smoldyn/smolcmd.c.o /opt/rh/devtoolset-8/root/usr/bin/c++ -I/builddir/build/BUILD/smoldyn-2.61/source/lib -I/builddir/build/BUILD/smoldyn-2.61/source/Smoldyn -I/builddir/build/BUILD/smoldyn-2.61/source/NextSubVolume -I/builddir/build/BUILD/smoldyn-2.61/source/vtk -I/builddir/build/BUILD/smoldyn-2.61/build -isystem /usr/include/boost169/boost -isystem /usr/include/boost169 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -O2 -Wall -DNDEBUG -I/usr/include -o CMakeFiles/smoldyn.dir/source/Smoldyn/smolcmd.c.o -c /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c [ 50%] Building CXX object CMakeFiles/smoldyn.dir/source/Smoldyn/smolcomparts.c.o /opt/rh/devtoolset-8/root/usr/bin/c++ -I/builddir/build/BUILD/smoldyn-2.61/source/lib -I/builddir/build/BUILD/smoldyn-2.61/source/Smoldyn -I/builddir/build/BUILD/smoldyn-2.61/source/NextSubVolume -I/builddir/build/BUILD/smoldyn-2.61/source/vtk -I/builddir/build/BUILD/smoldyn-2.61/build -isystem /usr/include/boost169/boost -isystem /usr/include/boost169 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -O2 -Wall -DNDEBUG -I/usr/include -o CMakeFiles/smoldyn.dir/source/Smoldyn/smolcomparts.c.o -c /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcomparts.c In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode docommand(void*, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:290:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(0,"command not recognized"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdpause(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:327:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(sim->graphss && sim->graphss->graphics!=0 && !tflag,"pause doesn't work without graphics"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdkeypress(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:345:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(line2,"missing argument"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:347:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(itct==1,"cannot read character"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:349:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(sim->graphss && sim->graphss->graphics!=0 && !tflag,"keypress doesn't work without graphics"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdsetflag(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:360:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(line2,"missing argument"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:362:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(itct==1,"cannot read flag value"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdsetrandseed(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:373:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(line2,"missing argument"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:375:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(itct==1,"cannot read seed"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdsetgraphics(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:388:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(line2,"missing argument"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:390:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(itct==1,"cannot read graphics type"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:393:7: note: in expansion of macro 'SCMDCHECK' else SCMDCHECK(0,"unrecognized graphics type"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdsetgraphic_iter(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:403:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(line2,"missing argument"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:405:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(itct==1,"cannot read graphics iterations"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:406:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(iter>0,"graphics iterations must be >0"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdoverwrite(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:427:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(line2,"missing argument"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:428:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(scmdoverwrite(sim->cmds,line2),"failed to open file"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdincrementfile(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:435:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(line2,"missing argument"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:436:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(scmdincfile(sim->cmds,line2),"failed to increment file"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdifflag(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:453:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(line2,"missing arguments"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:455:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(itct==2,"cannot read comparison symbol or flag value"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:456:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(ch=='<' || ch=='=' || ch=='>',"comparison symbol has to be <, =, or >"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdifprob(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:469:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(line2,"missing arguments"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:471:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(itct==1,"cannot read probability value"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:472:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(f1>=0 && f1<=1,"probability value needs to be between 0 and 1"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdifno(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:487:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-1,"species is missing or cannot be read"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:488:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-2,"mismatched or improper parentheses around molecule state"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:489:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-3,"cannot read molecule state value"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:490:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-4 || sim->ruless,"molecule name not recognized"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:491:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-7,"error allocating memory"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdifless(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:506:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-1,"species is missing or cannot be read"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:507:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-2,"mismatched or improper parentheses around molecule state"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:508:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-3,"cannot read molecule state value"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:509:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-4 || sim->ruless,"molecule name not recognized"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:510:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-7,"error allocating memory"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:511:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(line2=strnword(line2,2),"missing value argument"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:513:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(itct==1,"cannot read value argument"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdifmore(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:528:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-1,"species is missing or cannot be read"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:529:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-2,"mismatched or improper parentheses around molecule state"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:530:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-3,"cannot read molecule state value"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:531:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-4 || sim->ruless,"molecule name not recognized"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:532:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-7,"error allocating memory"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:533:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(line2=strnword(line2,2),"missing value argument"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:535:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(itct==1,"cannot read value argument"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdifincmpt(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:556:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(cmptss,"no compartments defined"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:557:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(sim->mols,"molecules are undefined"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:558:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(line2,"missing argument"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:560:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-1,"species is missing or cannot be read"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:561:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-2,"mismatched or improper parentheses around molecule state"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:562:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-3,"cannot read molecule state value"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:563:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-4 || sim->ruless,"molecule name not recognized"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:564:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-7,"error allocating memory"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:565:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(line2=strnword(line2,2),"missing value argument"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:567:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(itct==3,"cannot read symbol, value, and/or compartment arguments"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:568:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(ch=='<' || ch=='=' || ch=='>',"comparison symbol has to be <, =, or >"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:570:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(c>=0,"compartment name not recognized"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdifchange(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:600:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-1,"species is missing or cannot be read"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:601:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-2,"mismatched or improper parentheses around molecule state"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:602:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-3,"cannot read molecule state value"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:603:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-4 || sim->ruless,"molecule name not recognized"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:604:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-7,"error allocating memory"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:605:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(line2=strnword(line2,2),"missing value argument"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:607:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(itct==2,"cannot read change or number arguments"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:608:3: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(line2=strnword(line2,3),"missing conditional command"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdif(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:632:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(itct==3,"cannot read command arguments"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:633:3: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(line2=strnword(line2,4),"missing conditional command"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdwarnescapee(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:660:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-1,"species is missing or cannot be read"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:661:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-2,"mismatched or improper parentheses around molecule state"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:662:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-3,"cannot read molecule state value"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:663:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-4 || sim->ruless,"molecule name not recognized"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:664:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-7,"error allocating memory"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:667:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(fptr,"file name not recognized"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdecho(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:698:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(fptr,"file name not recognized"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:700:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(line2=strchr(line2,'"'),"no starting quote on string"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:703:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(termqt=strchr(str,'"'),"no terminal quote on string"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdevaluate(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:720:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(fptr,"file name not recognized"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:722:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(line2,"missing item to evaluate"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:726:3: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(!er,"%s",erstr); } ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdmolcountheader(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:739:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(fptr,"file name not recognized"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:740:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(sim->mols,"molecules are undefined"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdmolcount(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:760:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(cmd->i1!=-1,"error on setup"); // failed before, don't try again ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:762:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(fptr,"file name not recognized"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:763:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(sim->mols,"molecules are undefined"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'double fnmolcount(void*, char*, char*)': /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:13:60: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SFNCHECK(A,...) if(!(A)) {if(erstr) snprintf(erstr,sizeof(erstr),__VA_ARGS__);return dblnan();} else (void)0 ^~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:828:2: note: in expansion of macro 'SFNCHECK' SFNCHECK(line2,"missing arguments"); ^~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:13:60: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SFNCHECK(A,...) if(!(A)) {if(erstr) snprintf(erstr,sizeof(erstr),__VA_ARGS__);return dblnan();} else (void)0 ^~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:830:2: note: in expansion of macro 'SFNCHECK' SFNCHECK(i!=-1,"species is missing or cannot be read"); ^~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:13:60: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SFNCHECK(A,...) if(!(A)) {if(erstr) snprintf(erstr,sizeof(erstr),__VA_ARGS__);return dblnan();} else (void)0 ^~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:831:2: note: in expansion of macro 'SFNCHECK' SFNCHECK(i!=-2,"mismatched or improper parentheses around molecule state"); ^~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:13:60: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SFNCHECK(A,...) if(!(A)) {if(erstr) snprintf(erstr,sizeof(erstr),__VA_ARGS__);return dblnan();} else (void)0 ^~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:832:2: note: in expansion of macro 'SFNCHECK' SFNCHECK(i!=-3,"cannot read molecule state value"); ^~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:13:60: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SFNCHECK(A,...) if(!(A)) {if(erstr) snprintf(erstr,sizeof(erstr),__VA_ARGS__);return dblnan();} else (void)0 ^~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:833:2: note: in expansion of macro 'SFNCHECK' SFNCHECK(i!=-4 || sim->ruless,"molecule name not recognized"); ^~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:13:60: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SFNCHECK(A,...) if(!(A)) {if(erstr) snprintf(erstr,sizeof(erstr),__VA_ARGS__);return dblnan();} else (void)0 ^~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:834:2: note: in expansion of macro 'SFNCHECK' SFNCHECK(i!=-7,"error allocating memory"); ^~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'double fnmolcountonsurf(void*, char*, char*)': /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:13:60: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SFNCHECK(A,...) if(!(A)) {if(erstr) snprintf(erstr,sizeof(erstr),__VA_ARGS__);return dblnan();} else (void)0 ^~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:869:2: note: in expansion of macro 'SFNCHECK' SFNCHECK(srfss,"no surfaces defined"); ^~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:13:60: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SFNCHECK(A,...) if(!(A)) {if(erstr) snprintf(erstr,sizeof(erstr),__VA_ARGS__);return dblnan();} else (void)0 ^~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:870:2: note: in expansion of macro 'SFNCHECK' SFNCHECK(line2,"missing arguments"); ^~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:13:60: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SFNCHECK(A,...) if(!(A)) {if(erstr) snprintf(erstr,sizeof(erstr),__VA_ARGS__);return dblnan();} else (void)0 ^~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:871:2: note: in expansion of macro 'SFNCHECK' SFNCHECK((comma=strChrBrackets(line2,-1,',',"([{,\"'"))>0,"missing parameter"); ^~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:13:60: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SFNCHECK(A,...) if(!(A)) {if(erstr) snprintf(erstr,sizeof(erstr),__VA_ARGS__);return dblnan();} else (void)0 ^~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:874:2: note: in expansion of macro 'SFNCHECK' SFNCHECK(i!=-1,"species is missing or cannot be read"); ^~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:13:60: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SFNCHECK(A,...) if(!(A)) {if(erstr) snprintf(erstr,sizeof(erstr),__VA_ARGS__);return dblnan();} else (void)0 ^~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:875:2: note: in expansion of macro 'SFNCHECK' SFNCHECK(i!=-2,"mismatched or improper parentheses around molecule state"); ^~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:13:60: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SFNCHECK(A,...) if(!(A)) {if(erstr) snprintf(erstr,sizeof(erstr),__VA_ARGS__);return dblnan();} else (void)0 ^~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:876:2: note: in expansion of macro 'SFNCHECK' SFNCHECK(i!=-3,"cannot read molecule state value"); ^~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:13:60: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SFNCHECK(A,...) if(!(A)) {if(erstr) snprintf(erstr,sizeof(erstr),__VA_ARGS__);return dblnan();} else (void)0 ^~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:877:2: note: in expansion of macro 'SFNCHECK' SFNCHECK(i!=-4 || sim->ruless,"molecule name not recognized"); ^~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:13:60: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SFNCHECK(A,...) if(!(A)) {if(erstr) snprintf(erstr,sizeof(erstr),__VA_ARGS__);return dblnan();} else (void)0 ^~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:878:2: note: in expansion of macro 'SFNCHECK' SFNCHECK(i!=-7,"error allocating memory"); ^~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:13:60: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SFNCHECK(A,...) if(!(A)) {if(erstr) snprintf(erstr,sizeof(erstr),__VA_ARGS__);return dblnan();} else (void)0 ^~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:881:2: note: in expansion of macro 'SFNCHECK' SFNCHECK(itct==1,"cannot read surface name"); ^~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:13:60: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SFNCHECK(A,...) if(!(A)) {if(erstr) snprintf(erstr,sizeof(erstr),__VA_ARGS__);return dblnan();} else (void)0 ^~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:883:2: note: in expansion of macro 'SFNCHECK' SFNCHECK(s>=0,"surface name '%s' not recognized",nm); ^~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdmolcountinbox(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:909:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(cmd->i1!=-1,"error on setup"); // failed before, don't try again ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:910:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(sim->mols,"molecules are undefined"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:913:3: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(line2,"missing argument"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:915:3: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(itct==2,"read failure"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:918:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(fptr,"file name not recognized"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdmolcountincmpt(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:962:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(cmd->i1!=-1,"error on setup"); // failed before, don't try again ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:964:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(cmptss,"no compartments defined"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:965:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(sim->mols,"molecules are undefined"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:966:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(line2,"missing argument"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:968:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(itct==1,"cannot read argument"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:970:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(c>=0,"compartment name not recognized"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:974:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(fptr,"file name not recognized"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdmolcountincmpts(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1016:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(cmd->i1!=-1,"error on setup"); // failed before, don't try again ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1018:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(cmptss,"no compartments defined"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1019:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(sim->mols,"molecules are undefined"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1020:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(line2,"missing argument"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1022:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(ncmpt>=1,"no compartment or no output file listed"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1025:3: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(itct==1,"cannot read compartment name"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1027:3: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(c>=0,"compartment name not recognized"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1030:3: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(line2,"missing argument"); } ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1032:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(fptr,"file name not recognized"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdmolcountincmpt2(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1077:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(cmd->i1!=-1,"error on setup"); // failed before, don't try again ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1079:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(cmptss,"no compartments defined"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1080:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(sim->mols,"molecules are undefined"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1081:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(line2,"missing argument"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1083:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(itct==2,"cannot read arguments"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1085:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(c>=0,"compartment name not recognized"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1087:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(ms!=MSnone,"molecule state not recognized"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1088:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(ms!=MSbsoln,"bsoln molecule state not permitted"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1092:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(fptr,"file name not recognized"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdmolcountonsurf(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1134:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(cmd->i1!=-1,"error on setup"); // failed before, don't try again ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1136:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(srfss,"no surfaces defined"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1137:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(sim->mols,"molecules are undefined"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1138:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(line2,"missing argument"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1140:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(itct==1,"cannot read argument"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1142:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(s>=0,"surface name '%s' not recognized",nm); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1146:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(fptr,"file name not recognized"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdmolcountspace(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1188:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(cmd->i1!=-1,"error on setup"); // failed before, don't try again ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1191:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(line2,"missing arguments"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1193:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-1,"species is missing or cannot be read"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1194:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-2,"mismatched or improper parentheses around molecule state"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1195:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-3,"cannot read molecule state value"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1196:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-4 || sim->ruless,"molecule name not recognized"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1197:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-7,"error allocating memory"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1199:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(line2,"missing arguments"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1201:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(itct==1,"cannot read axis value"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1206:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(axis>=0 && axiserstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1208:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(line2,"missing arguments"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1210:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(itct==3,"cannot read arguments: low high bins"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1211:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(low[axis]erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1212:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(nbin>0,"bins value needs to be > 0"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1217:3: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(line2,"missing position arguments"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1219:3: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(itct==2,"cannot read (or insufficient) position arguments"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1220:3: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(low[ax2]<=high[ax2],"low value needs to be less than or equal to high value"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1223:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(line2,"missing arguments"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1225:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(itct==1,"cannot read average number"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1226:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(average>=0,"illegal average value"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1229:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(fptr,"file name not recognized"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdmolcountspace2d(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1300:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(cmd->i1!=-1,"error on setup"); // failed before, don't try again ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1303:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(line2,"missing arguments"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1305:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-1,"species is missing or cannot be read"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1306:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-2,"mismatched or improper parentheses around molecule state"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1307:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-3,"cannot read molecule state value"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1308:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-4 || sim->ruless,"molecule name not recognized"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1309:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-7,"error allocating memory"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1312:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(line2,"missing arguments"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1314:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(itct==1,"cannot read axis value"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1319:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK((dim==2 && axis==2) || (dim==3 && axis<3),"illegal axis value"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1322:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(line2,"missing arguments"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1326:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(itct==3,"cannot read arguments: low high bins"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1327:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(low[curaxis]erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1328:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(nbin1>0,"bins value needs to be > 0"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1332:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(line2,"missing arguments"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1336:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(itct==3,"cannot read arguments: low high bins"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1337:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(low[curaxis]erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1338:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(nbin2>0,"bins value needs to be > 0"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1345:3: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(itct==2,"cannot read (or insufficient) position arguments"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1346:3: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(low[curaxis]<=high[curaxis],"low value needs to be less than or equal to high value"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1349:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(line2,"missing arguments"); // average ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1351:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(itct==1,"cannot read average number"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1352:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(average>=0,"illegal average value"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1355:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(fptr,"file name not recognized"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdmolcountspaceradial(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1414:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(cmd->i1!=-1,"error on setup"); // failed before, don't try again ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1416:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(line2,"missing arguments"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1418:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-1,"species is missing or cannot be read"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1419:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-2,"mismatched or improper parentheses around molecule state"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1420:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-3,"cannot read molecule state value"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1421:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-4 || sim->ruless,"molecule name not recognized"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1422:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-7,"error allocating memory"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1424:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(line2,"missing arguments"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1427:3: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(itct==1,"missing center value"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1429:3: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(line2,"missing arguments"); } ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1431:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(itct==2,"cannot read arguments: radius bins"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1432:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(radius>0,"radius needs to be greater than 0"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1433:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(nbin>0,"bins value needs to be > 0"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1435:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(line2,"missing arguments"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1437:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(itct==1,"cannot read average number"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1438:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(average>=0,"illegal average value"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1441:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(fptr,"file name not recognized"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdmolcountspacepolarangle(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1498:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(cmd->i1!=-1,"error on setup"); // failed before, don't try again ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1500:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(line2,"missing arguments"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1502:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-1,"species is missing or cannot be read"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1503:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-2,"mismatched or improper parentheses around molecule state"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1504:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-3,"cannot read molecule state value"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1505:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-4 || sim->ruless,"molecule name not recognized"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1506:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-7,"error allocating memory"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1508:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(line2,"missing arguments"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1511:3: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(itct==1,"missing center value"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1513:3: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(line2,"missing arguments"); } ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1516:3: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(itct==1,"missing pole value"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1518:3: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(line2,"missing arguments"); } ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1520:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(itct==3,"cannot read arguments: radius_min radius_max bins"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1521:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(nbin>0,"bins value needs to be > 0"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1523:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(line2,"missing arguments"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1525:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(itct==1,"cannot read average number"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1526:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(average>=0,"illegal average value"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1529:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(fptr,"file name not recognized"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1546:3: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(pole[0]!=0 || pole[1]!=0,"pole vector is equal to zero"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1551:3: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(poleleninv>0,"pole vector is equal to zero"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdradialdistribution(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1606:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(cmd->i1!=-1,"error on setup"); // failed before, don't try again ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1608:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(line2,"missing arguments"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1610:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i1!=-1,"species is missing or cannot be read"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1611:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i1!=-2,"mismatched or improper parentheses around molecule state"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1612:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i1!=-3,"cannot read molecule state value"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1613:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i1!=-4,"molecule name not recognized"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1614:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i1!=-7,"error allocating memory"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1616:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(line2,"missing arguments"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1618:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i2!=-1,"species is missing or cannot be read"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1619:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i2!=-2,"mismatched or improper parentheses around molecule state"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1620:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i2!=-3,"cannot read molecule state value"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1621:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i2!=-4,"molecule name not recognized"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1622:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i2!=-7,"error allocating memory"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1624:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(line2,"missing arguments"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1626:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(itct==3,"cannot read arguments: radius bins average"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1627:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(radius>0,"radius needs to be greater than 0"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1628:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(nbin>0,"bins value needs to be > 0"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1629:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(average>=0,"illegal average value"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1632:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(fptr,"file name not recognized"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdradialdistribution2(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1718:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(cmd->i1!=-1,"error on setup"); // failed before, don't try again ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1720:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(line2,"missing arguments"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1722:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i1!=-1,"species is missing or cannot be read"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1723:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i1!=-2,"mismatched or improper parentheses around molecule state"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1724:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i1!=-3,"cannot read molecule state value"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1725:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i1!=-4,"molecule name not recognized"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1726:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i1!=-7,"error allocating memory"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1728:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(line2,"missing arguments"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1730:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i2!=-1,"species is missing or cannot be read"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1731:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i2!=-2,"mismatched or improper parentheses around molecule state"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1732:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i2!=-3,"cannot read molecule state value"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1733:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i2!=-4,"molecule name not recognized"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1734:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i2!=-7,"error allocating memory"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1736:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(line2,"missing arguments"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1739:3: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(itct==2,"missing arguments"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1740:3: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(lowpos[d]<=highpos[d],"low position value needs to be <= high position value"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1742:3: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(line2,"missing arguments"); } ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1744:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(itct==3,"cannot read arguments: radius bins average"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1745:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(radius>0,"radius needs to be greater than 0"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1746:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(nbin>0,"bins value needs to be > 0"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1747:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(average>=0,"illegal average value"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1750:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(fptr,"file name not recognized"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdmolcountspecies(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1832:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-1,"species is missing or cannot be read"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1833:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-2,"mismatched or improper parentheses around molecule state"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1834:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-3,"cannot read molecule state value"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1835:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-4 || sim->ruless,"molecule name not recognized"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1836:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-7,"error allocating memory"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1839:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(fptr,"file name not recognized"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdmolcountspecieslist(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1855:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(fptr,"file name not recognized"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1859:3: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-1,"species is missing or cannot be read"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1860:3: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-2,"mismatched or improper parentheses around molecule state"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1861:3: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-3,"cannot read molecule state value"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1862:3: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-4 || sim->ruless,"molecule name not recognized"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1863:3: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-7,"error allocating memory"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdmollistsize(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1880:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(itct==1,"cannot read molecule list name"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1881:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(sim->mols && sim->mols->nlist>0,"no molecule lists defined"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1883:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(ll>=0,"molecule list name not recognized"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1886:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(fptr,"file name not recognized"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdlistmols(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1902:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(sim->mols,"molecules are undefined"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1905:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(fptr,"file name not recognized"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdlistmols2(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1933:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(sim->mols,"molecules are undefined"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1936:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(fptr,"file name not recognized"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdlistmols3(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1968:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-1,"species is missing or cannot be read"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1969:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-2,"mismatched or improper parentheses around molecule state"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1970:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-3,"cannot read molecule state value"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1971:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-4 || sim->ruless,"molecule name not recognized"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1972:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-7,"error allocating memory"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1975:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(fptr,"file name not recognized"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdlistmols4(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2008:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-1,"species is missing or cannot be read"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2009:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-2,"mismatched or improper parentheses around molecule state"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2010:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-3,"cannot read molecule state value"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2011:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-4 || sim->ruless,"molecule name not recognized"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2012:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-7,"error allocating memory"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2015:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(fptr,"file name not recognized"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdlistmolscmpt(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2050:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-1,"species is missing or cannot be read"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2051:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-2,"mismatched or improper parentheses around molecule state"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2052:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-3,"cannot read molecule state value"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2053:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-4 || sim->ruless,"molecule name not recognized"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2054:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-7,"error allocating memory"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2056:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(line2,"missing compartment name"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2058:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(itct==1,"cannot read compartment name"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2060:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(cmptss,"no compartments defined"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2062:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(c>=0,"compartment name not recognized"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2066:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(fptr,"file name not recognized"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdmolpos(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2099:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-1,"species is missing or cannot be read"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2100:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-2,"mismatched or improper parentheses around molecule state"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2101:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-3,"cannot read molecule state value"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2102:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-4 || sim->ruless,"molecule name not recognized"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2103:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-7,"error allocating memory"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2106:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(fptr,"file name not recognized"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdtrackmol(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2138:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(itct==1,"cannot read molecule serial number"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2140:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(serno>0,"cannot read molecule serial number"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2143:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(fptr,"file name not recognized"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdmolmoments(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2183:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-1,"species is missing or cannot be read"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2184:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-2,"mismatched or improper parentheses around molecule state"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2185:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-3,"cannot read molecule state value"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2186:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-4 || sim->ruless,"molecule name not recognized"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2187:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-7,"error allocating memory"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2190:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(fptr,"file name not recognized"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdsavesim(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2232:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(fptr,"file name not recognized"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdmeansqrdisp(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2281:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-1,"species is missing or cannot be read"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2282:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-2,"mismatched or improper parentheses around molecule state"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2283:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-3,"cannot read molecule state value"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2284:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-4 || sim->ruless,"molecule name not recognized"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2285:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-7,"error allocating memory"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2287:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(line2,"missing dimension information"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2289:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(itct==1,"cannot read dimension information"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2296:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(msddimdim,"invalid dimension value"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2299:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(fptr,"file name not recognized"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2301:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(cmd->i2!=2,"error on setup"); // failed before, don't try again ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2309:3: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(ctr>0,"no molecules to track"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdmeansqrdisp2(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2386:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-1,"species is missing or cannot be read"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2387:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-2,"mismatched or improper parentheses around molecule state"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2388:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-3,"cannot read molecule state value"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2389:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-4 || sim->ruless,"molecule name not recognized"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2390:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-7,"error allocating memory"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2392:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(line2,"missing dimension information"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2394:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(itct==1,"cannot read dimension information"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2400:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(msddimdim,"invalid dimension value"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2402:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(line2,"insufficient arguments"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2404:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(itct==4,"cannot read start, report, max_mol, or max_moment information"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2405:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(maxmol>0,"max_mol has to be at least 1"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2406:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(maxmoment>0,"maxmoment has to be at least 1"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2407:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(maxmoment<=16,"max_moment cannot exceed 16"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2410:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(fptr,"file name not recognized"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2412:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(cmd->i2!=2,"error on setup"); // failed before, don't try again ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2438:3: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(ctrerstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2449:24: note: in expansion of macro 'SCMDCHECK' if(cmd->i3==cmd->i1) {SCMDCHECK(0,"not enough allocated space");} ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdmeansqrdisp3(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2540:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-1,"species is missing or cannot be read"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2541:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-2,"mismatched or improper parentheses around molecule state"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2542:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-3,"cannot read molecule state value"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2543:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-4 || sim->ruless,"molecule name not recognized"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2544:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-7,"error allocating memory"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2546:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(line2,"missing dimension information"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2548:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(itct==1,"cannot read dimension information"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2554:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(msddimdim,"invalid dimension value"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2556:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(line2,"insufficient arguments"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2558:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(itct==4,"cannot read start, report, max_mol, or change information"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2559:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(maxmol>0,"max_mol has to be at least 1"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2562:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(fptr,"file name not recognized"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2564:3: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(change<=0 || line2,"missing task to be accomplished if change is small"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2566:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(cmd->i2!=2,"error on setup"); // failed before, don't try again ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2593:3: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(ctrerstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2604:24: note: in expansion of macro 'SCMDCHECK' if(cmd->i3==cmd->i1) {SCMDCHECK(0,"not enough allocated space");} ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdresidencetime(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2699:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-1,"species is missing or cannot be read"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2700:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-2,"mismatched or improper parentheses around molecule state"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2701:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-3,"cannot read molecule state value"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2702:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-4 || sim->ruless,"molecule name not recognized"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2703:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-7,"error allocating memory"); ^~~~~~~~~ [ 52%] Building CXX object CMakeFiles/smoldyn.dir/source/Smoldyn/smolfilament.c.o /opt/rh/devtoolset-8/root/usr/bin/c++ -I/builddir/build/BUILD/smoldyn-2.61/source/lib -I/builddir/build/BUILD/smoldyn-2.61/source/Smoldyn -I/builddir/build/BUILD/smoldyn-2.61/source/NextSubVolume -I/builddir/build/BUILD/smoldyn-2.61/source/vtk -I/builddir/build/BUILD/smoldyn-2.61/build -isystem /usr/include/boost169/boost -isystem /usr/include/boost169 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -O2 -Wall -DNDEBUG -I/usr/include -o CMakeFiles/smoldyn.dir/source/Smoldyn/smolfilament.c.o -c /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolfilament.c /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2705:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(line2,"insufficient arguments"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2707:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(itct==5,"cannot read start, report, summary_out, list_out, or max_mol information"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2708:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(maxmol>0,"max_mol has to be at least 1"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2711:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(fptr,"file name not recognized"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2713:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(cmd->i2!=2,"error on setup"); // failed before, don't try again ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2737:3: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(ctrerstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2749:24: note: in expansion of macro 'SCMDCHECK' if(cmd->i3==cmd->i1) {SCMDCHECK(0,"not enough allocated space");} ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmddiagnostics(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2813:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(line2,"missing argument"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2815:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(itct==1,"read failure"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2817:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(ss!=SSnone,"diagnostic type not recognized"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdexecutiontime(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2840:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(fptr,"file name not recognized"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdprintLattice(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2857:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(fptr,"file name not recognized"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdset(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2940:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(line2,"missing argument"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2942:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(itct==1,"missing statement"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2944:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(line2,"missing statement text"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2946:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(!er,"%s",ErrorString); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdpointsource(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2957:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(line2,"missing argument"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2958:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(sim->mols,"molecules are undefined"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2960:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(itct==2,"read failure"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2961:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(num>=0,"number cannot be negative"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2963:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i>=1,"name not recognized"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2965:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(line2,"missing location"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2969:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(itct==sim->dim,"insufficient location dimensions"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2970:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(addmol(sim,num,i,pos,pos,1)==0,"not enough available molecules"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdvolumesource(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2981:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(line2,"missing argument"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2982:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(sim->mols,"molecules are undefined"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2984:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(itct==2,"read failure"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2985:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(num>=0,"number cannot be negative"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2987:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i>=1,"name not recognized"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2989:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(line2,"missing location"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2991:3: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(line2,"missing argument"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2993:3: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(itct==2,"read failure"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2995:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(addmol(sim,num,i,poslo,poshi,1)==0,"not enough available molecules"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdgaussiansource(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3008:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(line2,"missing argument"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3009:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(sim->mols,"molecules are undefined"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3011:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(itct==2,"read failure"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3012:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(num>=0,"number cannot be negative"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3014:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i>=1,"name not recognized"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3016:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(line2,"missing location"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3018:3: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(line2,"missing argument"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3020:3: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(itct==2,"read failure"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3029:3: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(addmol(sim,1,i,pos,pos,0)==0,"not enough available molecules"); } ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdmovesurfacemol(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3050:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(line2,"missing arguments"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3051:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(sim->mols,"molecules are undefined"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3052:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(sim->srfss,"surfaces are undefined"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3054:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(itct==2,"failed to read molecule name or probability"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3057:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-1,"species is missing or cannot be read"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3058:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-2,"mismatched or improper parentheses around molecule state"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3059:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-3,"cannot read molecule state value"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3060:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-4 || sim->ruless,"molecule name not recognized"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3061:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-7,"error allocating memory"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3062:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(ms1==MSfront || ms1==MSback || ms1==MSup || ms1==MSdown || ms1==MSall,"illegal molecule state"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3063:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(prob>=0 && prob<=1,"probability out of bounds"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3065:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(line2,"missing originating surface:panel"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3067:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(itct==2,"failed to read surfaces and panels"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3069:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(s1>=0,"failed to read surface1"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3070:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(p1>=0 || p1==-5,"failed to read panel1"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3072:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(s2>=0,"failed to read surface2"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3073:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(p2>=0 || p2==-5,"failed to read panel2"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3077:3: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(itct==1,"failed to read final state"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3079:3: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(ms2!=MSnone,"failed to read final state"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdkillmol(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3120:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-1,"species is missing or cannot be read"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3121:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-2,"mismatched or improper parentheses around molecule state"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3122:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-3,"cannot read molecule state value"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3123:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-4 || sim->ruless,"molecule name not recognized"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3124:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-7,"error allocating memory"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdkillmolprob(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3152:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-1,"species is missing or cannot be read"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3153:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-2,"mismatched or improper parentheses around molecule state"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3154:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-3,"cannot read molecule state value"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3155:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-4 || sim->ruless,"molecule name not recognized"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3156:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-7,"error allocating memory"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3158:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(line2,"missing probability value"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3165:3: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(itct==1,"killmolprob format: name[(state)] probability"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3166:3: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(prob>=0 && prob<=1,"probability needs to be between 0 and 1"); } ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdkillmolinsphere(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3199:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-1,"species is missing or cannot be read"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3200:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-2,"mismatched or improper parentheses around molecule state"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3201:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-3,"cannot read molecule state value"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3202:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-4 || sim->ruless,"molecule name not recognized"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3203:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-7,"error allocating memory"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3205:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(line2,"missing surface name"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3207:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(itct==1,"cannot read surface name"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3211:3: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(s>=0,"surface not recognized"); } ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdkillmolincmpt(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3240:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(cmptss,"no compartments defined"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3241:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(sim->mols,"molecules are undefined"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3242:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(line2,"missing argument"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3244:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-1,"species is missing or cannot be read"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3245:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-2,"mismatched or improper parentheses around molecule state"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3246:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-3,"cannot read molecule state value"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3247:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-4 || sim->ruless,"molecule name not recognized"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3248:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-7,"error allocating memory"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3249:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(line2=strnword(line2,2),"missing value argument"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3251:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(itct==1,"cannot read compartment name"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3253:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(c>=0,"compartment name not recognized"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdkillmoloutsidesystem(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3281:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-1,"species is missing or cannot be read"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3282:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-2,"mismatched or improper parentheses around molecule state"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3283:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-3,"cannot read molecule state value"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3284:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-4 || sim->ruless,"molecule name not recognized"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3285:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-7,"error allocating memory"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdfixmolcount(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3307:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(line2,"missing argument"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3308:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(sim->mols,"molecules are undefined"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3310:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(itct==2,"read failure"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3311:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(num>=0,"number cannot be negative"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3313:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i>=1,"name not recognized"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3324:3: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(addmol(sim,num-ct,i,pos1,pos2,1)==0,"not enough available molecules"); } ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdfixmolcountrange(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3343:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(line2,"missing argument"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3344:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(sim->mols,"molecules are undefined"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3346:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(itct==3,"read failure"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3347:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(lownum>=0 && highnum>=0 && highnum>=lownum,"molecule numbers are out of bounds"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3349:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i>=1,"species name not recognized"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3360:3: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(addmol(sim,lownum-ct,i,pos1,pos2,1)==0,"not enough available molecules"); } ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdfixmolcountonsurf(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3380:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(line2,"missing argument"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3382:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-1,"species is missing or cannot be read"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3383:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-2,"mismatched or improper parentheses around molecule state"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3384:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-3,"cannot read molecule state value"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3385:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-4,"molecule name not recognized"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3386:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-7,"error allocating memory"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3387:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i>0,"molecule name needs to be for a single species"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3388:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(ms!=MSsoln && ms!=MSbsoln,"molecule state needs to be surface-bound"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3390:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(line2,"fixmolcountonsurf format: species(state) number surface"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3392:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(itct==2,"read failure"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3393:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(num>=0,"number cannot be negative"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3394:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(sim->srfss,"no surfaces defined"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3396:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(s>=0,"surface not recognized"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3408:3: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(addsurfmol(sim,num-ct,i,ms,NULL,NULL,s,PSall,NULL)==0,"not enough available molecules"); } ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdfixmolcountrangeonsurf(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3432:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(line2,"missing argument"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3434:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-1,"species is missing or cannot be read"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3435:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-2,"mismatched or improper parentheses around molecule state"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3436:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-3,"cannot read molecule state value"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3437:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-4,"molecule name not recognized"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3438:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-7,"error allocating memory"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3439:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i>0,"molecule name needs to be for a single species"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3440:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(ms!=MSsoln && ms!=MSbsoln,"molecule state needs to be surface-bound"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3442:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(line2,"fixmolcountrangeonsurf format: species(state) low_number high_number surface"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3444:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(itct==3,"read failure"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3445:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(lownum>=0 && highnum>=0 && highnum>=lownum,"molecule numbers are out of bounds"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3446:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(sim->srfss,"no surfaces defined"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3448:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(s>=0,"surface not recognized"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3460:3: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(addsurfmol(sim,lownum-ct,i,ms,NULL,NULL,s,PSall,NULL)==0,"not enough available molecules"); } ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdfixmolcountincmpt(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3483:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(line2,"missing argument"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3484:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(sim->mols,"molecules are undefined"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3485:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(sim->cmptss,"compartments are undefined"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3487:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(itct==2,"read failure"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3488:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(num>=0,"number cannot be negative"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3490:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i>=1,"molecule name not recognized"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3492:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(line2,"compartment name missing"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3495:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(c>=0,"compartment not recognized"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3507:3: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(addcompartmol(sim,num-ct,i,cmpt)==0,"not enough available molecules"); } ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdfixmolcountrangeincmpt(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3530:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(line2,"missing argument"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3531:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(sim->mols,"molecules are undefined"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3532:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(sim->cmptss,"compartments are undefined"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3534:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(itct==3,"read failure"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3536:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i>=1,"molecule name not recognized"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3538:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(line2,"compartment name missing"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3541:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(c>=0,"compartment not recognized"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3553:3: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(addcompartmol(sim,lownum-ct,i,cmpt)==0,"not enough available molecules"); } ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdequilmol(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3581:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i1!=-1,"species is missing or cannot be read"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3582:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i1!=-2,"mismatched or improper parentheses around molecule state"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3583:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i1!=-3,"cannot read molecule state value"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3584:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i1!=-4,"molecule name not recognized"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3585:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i1!=-7,"error allocating memory"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3586:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i1>0,"molecule name has to be for a single species"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3587:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(ms1!=MSall,"molecule state cannot be 'all'"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3590:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i2!=-1,"species is missing or cannot be read"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3591:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i2!=-2,"mismatched or improper parentheses around molecule state"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3592:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i2!=-3,"cannot read molecule state value"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3593:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i2!=-4,"molecule name not recognized"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3594:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i2!=-7,"error allocating memory"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3595:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i2>0,"molecule name has to be for a single species"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3596:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(ms2!=MSall,"molecule state cannot be 'all'"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3597:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK((ms1==MSsoln && ms2==MSsoln) || (ms1!=MSsoln && ms2!=MSsoln),"cannot equilibrate between solution and surface-bound"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3599:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(line2,"missing probability argument"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3606:3: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(itct==1,"failed to read probability"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3607:3: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(prob>=0 && prob<=1,"probability is out of bounds"); } ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdreplacemol(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3644:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i1!=-1,"species is missing or cannot be read"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3645:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i1!=-2,"mismatched or improper parentheses around molecule state"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3646:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i1!=-3,"cannot read molecule state value"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3647:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i1!=-4,"molecule name not recognized"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3648:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i1!=-7,"error allocating memory"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3649:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(ms1!=MSall,"molecule state cannot be 'all'"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3651:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(line2,"missing second species name"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3653:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i2!=-1,"species is missing or cannot be read"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3654:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i2!=-2,"mismatched or improper parentheses around molecule state"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3655:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i2!=-3,"cannot read molecule state value"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3656:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i2!=-4,"molecule name not recognized"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3657:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i2!=-7,"error allocating memory"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3658:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i2>0,"molecule name has to be for a single species"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3659:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(ms2!=MSall,"molecule state cannot be 'all'"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3660:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK((ms1==MSsoln && ms2==MSsoln) || (ms1!=MSsoln && ms2!=MSsoln),"cannot equilibrate between solution and surface-bound"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3662:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(line2,"missing probability information"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3664:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(itct==1,"missing probability information"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3670:3: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(itct==1,"cannot read fraction"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3671:3: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(prob>=0 && prob<=1,"fraction out of bounds"); } ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdreplacexyzmol(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3701:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-1,"species is missing or cannot be read"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3702:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-2,"mismatched or improper parentheses around molecule state"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3703:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-3,"cannot read molecule state value"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3704:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-4,"molecule name not recognized"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3705:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-7,"error allocating memory"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3706:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i>0,"molecule name has to be for a single species"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3707:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(ms!=MSall,"molecule state cannot be 'all'"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3709:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(line2,"missing position information"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3713:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(itct==sim->dim,"insufficient dimensions entered"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdreplacevolmol(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3740:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i1!=-1,"species is missing or cannot be read"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3741:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i1!=-2,"mismatched or improper parentheses around molecule state"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3742:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i1!=-3,"cannot read molecule state value"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3743:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i1!=-4,"molecule name not recognized"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3744:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i1!=-7,"error allocating memory"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3745:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i1>0,"molecule name has to be for a single species"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3746:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(ms1!=MSall,"molecule state cannot be 'all'"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3749:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i2!=-1,"species is missing or cannot be read"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3750:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i2!=-2,"mismatched or improper parentheses around molecule state"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3751:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i2!=-3,"cannot read molecule state value"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3752:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i2!=-4,"molecule name not recognized"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3753:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i2!=-7,"error allocating memory"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3754:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i2>0,"molecule name has to be for a single species"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3755:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(ms2!=MSall,"molecule state cannot be 'all'"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3756:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK((ms1==MSsoln && ms2==MSsoln) || (ms1!=MSsoln && ms2!=MSsoln),"cannot equilibrate between solution and surface-bound"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3758:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(line2,"missing fraction information"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3760:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(itct==1,"cannot read fraction"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3766:3: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(itct==1,"cannot read fraction"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3767:3: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(frac>=0 && frac<=1,"fraction out of bounds"); } ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3772:3: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(line2,"missing argument"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3774:3: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(itct==2,"read failure"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdreplacecmptmol(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3818:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i1!=-1,"species is missing or cannot be read"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3819:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i1!=-2,"mismatched or improper parentheses around molecule state"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3820:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i1!=-3,"cannot read molecule state value"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3821:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i1!=-4,"molecule name not recognized"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3822:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i1!=-7,"error allocating memory"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3823:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(ms1!=MSall,"molecule state cannot be 'all'"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3825:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(line2,"missing second species name"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3827:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i2!=-1,"species is missing or cannot be read"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3828:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i2!=-2,"mismatched or improper parentheses around molecule state"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3829:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i2!=-3,"cannot read molecule state value"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3830:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i2!=-4,"molecule name not recognized"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3831:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i2!=-7,"error allocating memory"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3832:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i2>0,"molecule name has to be for a single species"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3833:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(ms2!=MSall,"molecule state cannot be 'all'"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3834:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK((ms1==MSsoln && ms2==MSsoln) || (ms1!=MSsoln && ms2!=MSsoln),"cannot equilibrate between solution and surface-bound"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3836:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(line2,"missing fraction information"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3838:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(itct==1,"missing fraction information"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3844:3: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(itct==1,"cannot read fraction"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3845:3: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(frac>=0 && frac<=1,"fraction out of bounds"); } ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3847:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(line2,"compartment name missing"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3850:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(c>=0,"compartment not recognized"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdmodulatemol(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3884:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i1!=-1,"species is missing or cannot be read"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3885:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i1!=-2,"mismatched or improper parentheses around molecule state"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3886:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i1!=-3,"cannot read molecule state value"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3887:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i1!=-4,"molecule name not recognized"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3888:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i1!=-7,"error allocating memory"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3889:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i1>0,"molecule name has to be for a single species"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3890:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(ms1!=MSall,"molecule state cannot be 'all'"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3893:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i2!=-1,"species is missing or cannot be read"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3894:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i2!=-2,"mismatched or improper parentheses around molecule state"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3895:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i2!=-3,"cannot read molecule state value"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3896:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i2!=-4,"molecule name not recognized"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3897:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i2!=-7,"error allocating memory"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3898:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i2>0,"molecule name has to be for a single species"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3899:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(ms2!=MSall,"molecule state cannot be 'all'"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3900:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK((ms1==MSsoln && ms2==MSsoln) || (ms1!=MSsoln && ms2!=MSsoln),"cannot equilibrate between solution and surface-bound"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3902:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(line2,"missing frequency and shift"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3904:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(itct==2,"failure reading frequency or shift"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdreact1(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3935:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-1,"species is missing or cannot be read"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3936:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-2,"mismatched or improper parentheses around molecule state"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3937:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-3,"cannot read molecule state value"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3938:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-4 || sim->ruless,"molecule name not recognized"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3939:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-7,"error allocating memory"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3940:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(ms!=MSall,"molecule state cannot be 'all'"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3942:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(line2,"reaction name is missing"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3944:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(itct==1,"cannot read reaction name"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3945:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(sim->rxnss[1],"no first order reactions defined"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3947:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(r>=0,"reaction not recognized"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdsetrateint(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3970:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(line2,"missing argument"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3972:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(itct==2,"read failure"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3982:9: note: in expansion of macro 'SCMDCHECK' else SCMDCHECK(0,"reaction name not recognized"); }} ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3983:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(rateint>=0,"internal rate cannot be negative"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdshufflemollist(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3996:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(line2,"missing argument"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3998:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(itct==1,"read failure"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3999:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(sim->mols && sim->mols->nlist>0,"no molecule lists"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:4003:3: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(ll>=0,"list name not recognized"); } ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdshufflereactions(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:4020:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(line2,"missing argument"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:4022:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(itct==2,"missing argument"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:4024:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i1>=0 || i1==-5,"first species name not recognized"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:4026:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i2>=0 || i2==-5,"second species name not recognized"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdsettimestep(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:4051:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(line2,"missing argument"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:4053:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(itct==1,"read failure"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:4054:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(dt>0,"time step must be >0"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:4057:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(er==0,"error while setting the simulation time step"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdporttransport(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:4069:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(line2,"missing argument"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:4070:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(sim->portss,"no port superstructure is defined"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:4072:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(itct==2,"porttransport format: port1 port2"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:4074:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(prt1>=0,"name of port1 is not recognized"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:4076:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(prt2>=0,"name of port2 is not recognized"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdexcludebox(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:4096:3: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(line2,"missing argument"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:4098:3: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(itct==2,"read failure"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdexcludesphere(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:4132:3: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(line2,"missing center argument"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:4134:3: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(itct==1,"failure reading center"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:4136:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(line2,"missing radius"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:4138:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(itct==1,"failure reading radius"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdincludeecoli(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:4173:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(sim->dim==3,"system is not 3 dimensional"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdsetreactionratemolcount(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:4207:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(line2,"missing argument"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:4209:3: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(itct==2,"missing reaction name or coefficient c0"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:4211:3: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(r>=0,"unrecognized reaction name"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:4216:5: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(itct==2,"missing coefficient and/or species parameters"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:4218:3: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-1,"species is missing or cannot be read"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:4219:3: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-2,"mismatched or improper parentheses around molecule state"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:4220:3: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-3,"cannot read molecule state value"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:4221:3: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-4 || sim->ruless,"molecule name not recognized"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:4222:3: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(i!=-7,"error allocating memory"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:4229:3: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(er==0,"error setting reaction rate"); } ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:4233:4: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(er==0,"error setting reaction rate"); }} ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdexpandsystem(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:4255:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(line2,"missing arguments"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:4259:3: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(itct==dim,"cannot read or wrong number of expansion values"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdtranslatecmpt(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:4312:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(cmptss,"no compartments defined"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:4313:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(line2,"first argument should be compartment name"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:4315:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(itct==1,"cannot read compartment name"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:4317:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(c>=0,"compartment name not recognized"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:4320:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(line2=strnword(line2,2),"second argument should be code value");; ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:4322:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(itct==1,"second argument should be code value"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:4324:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(line2=strnword(line2,2),"missing arguments for translation amount");; ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:4328:3: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(itct==dim,"cannot read translation values or wrong number of them"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmddiffusecmpt(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:4347:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(cmptss,"no compartments defined"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:4348:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(line2,"first argument should be compartment name"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:4350:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(itct==1,"cannot read compartment name"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:4352:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(c>=0,"compartment name not recognized"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:4355:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(line2=strnword(line2,2),"second argument should be code value");; ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:4357:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(itct==1,"second argument should be code value"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:4359:2: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(line2=strnword(line2,2),"missing arguments for standard deviations");; ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:4363:3: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(itct==dim,"cannot read standard deviation values or wrong number of them"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:4368:3: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(itct==3,"cannot read bounding compartment name, radius, and/or number of samples"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:4370:3: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(c>=0,"bounding compartment name not recognized"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:4372:3: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(cmptbound!=cmpt,"bounding compartment cannot be the same as the moving compartment"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:4373:3: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(radius>0,"bounding radius needs to be >0"); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:64: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:4374:3: note: in expansion of macro 'SCMDCHECK' SCMDCHECK(nsample>0,"number of samples needs to be >0"); } ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdpause(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:324:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%c",&c); ~~~~~^~~~~~~~~ [ 55%] Building CXX object CMakeFiles/smoldyn.dir/source/Smoldyn/smolgraphics.c.o /opt/rh/devtoolset-8/root/usr/bin/c++ -I/builddir/build/BUILD/smoldyn-2.61/source/lib -I/builddir/build/BUILD/smoldyn-2.61/source/Smoldyn -I/builddir/build/BUILD/smoldyn-2.61/source/NextSubVolume -I/builddir/build/BUILD/smoldyn-2.61/source/vtk -I/builddir/build/BUILD/smoldyn-2.61/build -isystem /usr/include/boost169/boost -isystem /usr/include/boost169 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -O2 -Wall -DNDEBUG -I/usr/include -o CMakeFiles/smoldyn.dir/source/Smoldyn/smolgraphics.c.o -c /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolgraphics.c [ 57%] Building CXX object CMakeFiles/smoldyn.dir/source/Smoldyn/smolmolec.c.o /opt/rh/devtoolset-8/root/usr/bin/c++ -I/builddir/build/BUILD/smoldyn-2.61/source/lib -I/builddir/build/BUILD/smoldyn-2.61/source/Smoldyn -I/builddir/build/BUILD/smoldyn-2.61/source/NextSubVolume -I/builddir/build/BUILD/smoldyn-2.61/source/vtk -I/builddir/build/BUILD/smoldyn-2.61/build -isystem /usr/include/boost169/boost -isystem /usr/include/boost169 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -O2 -Wall -DNDEBUG -I/usr/include -o CMakeFiles/smoldyn.dir/source/Smoldyn/smolmolec.c.o -c /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolmolec.c /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolmolec.c: In function 'char* molserno2string(long long unsigned int, char*)': /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolmolec.c:627:19: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] snprintf(string,sizeof(string),LLUFORMAT,serno); ^~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolmolec.c:629:19: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] snprintf(string,sizeof(string),LLUFORMAT "." LLUFORMAT,serno>>32,serno&0xFFFFFFFF); ^~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolmolec.c: In function 'char* molpos2string(simptr, moleculeptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolmolec.c:739:18: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] snprintf(line2,sizeof(line2)," %g",mptr->pos[d]); ^~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolmolec.c:768:20: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] snprintf(line2,sizeof(line2)," %g",mptr->pos[d]+unirandCCD(-dist,dist)); ^~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdwarnescapee(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:664:18: warning: 'error allocating memory' directive output truncated writing 23 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-7,"error allocating memory"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 24 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:663:33: warning: 'molecule name not recognized' directive output truncated writing 28 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-4 || sim->ruless,"molecule name not recognized"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 29 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:667:17: warning: 'file name not recognized' directive output truncated writing 24 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(fptr,"file name not recognized"); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 25 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:662:18: warning: 'cannot read molecule state v...' directive output truncated writing 32 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-3,"cannot read molecule state value"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 33 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:661:18: warning: 'mismatched or improper paren...' directive output truncated writing 56 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-2,"mismatched or improper parentheses around molecule state"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 57 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:660:18: warning: 'species is missing or cannot...' directive output truncated writing 36 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-1,"species is missing or cannot be read"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 37 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdlistmols2(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1936:17: warning: 'file name not recognized' directive output truncated writing 24 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(fptr,"file name not recognized"); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 25 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1933:22: warning: 'molecules are undefined' directive output truncated writing 23 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(sim->mols,"molecules are undefined"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 24 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdlistmols3(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1972:18: warning: 'error allocating memory' directive output truncated writing 23 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-7,"error allocating memory"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 24 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1971:33: warning: 'molecule name not recognized' directive output truncated writing 28 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-4 || sim->ruless,"molecule name not recognized"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 29 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1975:17: warning: 'file name not recognized' directive output truncated writing 24 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(fptr,"file name not recognized"); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 25 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1970:18: warning: 'cannot read molecule state v...' directive output truncated writing 32 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-3,"cannot read molecule state value"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 33 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1969:18: warning: 'mismatched or improper paren...' directive output truncated writing 56 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-2,"mismatched or improper parentheses around molecule state"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 57 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1968:18: warning: 'species is missing or cannot...' directive output truncated writing 36 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-1,"species is missing or cannot be read"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 37 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdlistmols4(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2012:18: warning: 'error allocating memory' directive output truncated writing 23 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-7,"error allocating memory"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 24 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2011:33: warning: 'molecule name not recognized' directive output truncated writing 28 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-4 || sim->ruless,"molecule name not recognized"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 29 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2015:17: warning: 'file name not recognized' directive output truncated writing 24 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(fptr,"file name not recognized"); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 25 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2010:18: warning: 'cannot read molecule state v...' directive output truncated writing 32 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-3,"cannot read molecule state value"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 33 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2009:18: warning: 'mismatched or improper paren...' directive output truncated writing 56 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-2,"mismatched or improper parentheses around molecule state"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 57 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2008:18: warning: 'species is missing or cannot...' directive output truncated writing 36 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-1,"species is missing or cannot be read"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 37 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdlistmolscmpt(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2054:18: warning: 'error allocating memory' directive output truncated writing 23 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-7,"error allocating memory"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 24 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2053:33: warning: 'molecule name not recognized' directive output truncated writing 28 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-4 || sim->ruless,"molecule name not recognized"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 29 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2066:17: warning: 'file name not recognized' directive output truncated writing 24 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(fptr,"file name not recognized"); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 25 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2062:17: warning: 'compartment name not recogni��}' directive output truncated writing 31 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(c>=0,"compartment name not recognized"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 32 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2060:19: warning: 'no compartments defined' directive output truncated writing 23 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(cmptss,"no compartments defined"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 24 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2058:20: warning: 'cannot read compartment name' directive output truncated writing 28 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(itct==1,"cannot read compartment name"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 29 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2056:18: warning: 'missing compartment name' directive output truncated writing 24 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(line2,"missing compartment name"); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 25 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2052:18: warning: 'cannot read molecule state v...' directive output truncated writing 32 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-3,"cannot read molecule state value"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 33 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2051:18: warning: 'mismatched or improper paren...' directive output truncated writing 56 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-2,"mismatched or improper parentheses around molecule state"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 57 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2050:18: warning: 'species is missing or cannot...' directive output truncated writing 36 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-1,"species is missing or cannot be read"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 37 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdmolmoments(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2187:18: warning: 'error allocating memory' directive output truncated writing 23 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-7,"error allocating memory"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 24 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2186:33: warning: 'molecule name not recognized' directive output truncated writing 28 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-4 || sim->ruless,"molecule name not recognized"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 29 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2190:17: warning: 'file name not recognized' directive output truncated writing 24 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(fptr,"file name not recognized"); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 25 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2185:18: warning: 'cannot read molecule state v...' directive output truncated writing 32 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-3,"cannot read molecule state value"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 33 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2184:18: warning: 'mismatched or improper paren...' directive output truncated writing 56 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-2,"mismatched or improper parentheses around molecule state"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 57 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2183:18: warning: 'species is missing or cannot...' directive output truncated writing 36 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-1,"species is missing or cannot be read"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 37 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 60%] Building CXX object CMakeFiles/smoldyn.dir/source/Smoldyn/smolport.c.o /opt/rh/devtoolset-8/root/usr/bin/c++ -I/builddir/build/BUILD/smoldyn-2.61/source/lib -I/builddir/build/BUILD/smoldyn-2.61/source/Smoldyn -I/builddir/build/BUILD/smoldyn-2.61/source/NextSubVolume -I/builddir/build/BUILD/smoldyn-2.61/source/vtk -I/builddir/build/BUILD/smoldyn-2.61/build -isystem /usr/include/boost169/boost -isystem /usr/include/boost169 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -O2 -Wall -DNDEBUG -I/usr/include -o CMakeFiles/smoldyn.dir/source/Smoldyn/smolport.c.o -c /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolport.c In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdmolcountspace(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1191:18: warning: 'missing arguments' directive output truncated writing 17 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(line2,"missing arguments"); ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 18 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1197:18: warning: 'error allocating memory' directive output truncated writing 23 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-7,"error allocating memory"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 24 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1196:33: warning: 'molecule name not recognized' directive output truncated writing 28 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-4 || sim->ruless,"molecule name not recognized"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 29 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1220:33: warning: 'low value needs to be less t...' directive output truncated writing 54 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(low[ax2]<=high[ax2],"low value needs to be less than or equal to high value"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 55 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1219:21: warning: 'cannot read (or insufficient...' directive output truncated writing 48 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(itct==2,"cannot read (or insufficient) position arguments"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 49 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1217:19: warning: 'missing position arguments' directive output truncated writing 26 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(line2,"missing position arguments"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 27 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1229:17: warning: 'file name not recognized' directive output truncated writing 24 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(fptr,"file name not recognized"); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 25 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1226:23: warning: 'illegal average value' directive output truncated writing 21 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(average>=0,"illegal average value"); ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 22 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1225:20: warning: 'cannot read average number' directive output truncated writing 26 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(itct==1,"cannot read average number"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 27 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1223:18: warning: 'missing arguments' directive output truncated writing 17 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(line2,"missing arguments"); ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 18 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1212:19: warning: 'bins value needs to be > 0' directive output truncated writing 26 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(nbin>0,"bins value needs to be > 0"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 27 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1211:33: warning: 'low value needs to be less t...' directive output truncated writing 42 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(low[axis]erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 43 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1210:20: warning: 'cannot read arguments: low h...' directive output truncated writing 36 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(itct==3,"cannot read arguments: low high bins"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 37 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1208:18: warning: 'missing arguments' directive output truncated writing 17 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(line2,"missing arguments"); ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 18 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1206:32: warning: 'illegal axis value' directive output truncated writing 18 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(axis>=0 && axiserstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 19 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1201:20: warning: 'cannot read axis value' directive output truncated writing 22 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(itct==1,"cannot read axis value"); ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 23 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1199:18: warning: 'missing arguments' directive output truncated writing 17 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(line2,"missing arguments"); ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 18 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1195:18: warning: 'cannot read molecule state v...' directive output truncated writing 32 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-3,"cannot read molecule state value"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 33 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1194:18: warning: 'mismatched or improper paren...' directive output truncated writing 56 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-2,"mismatched or improper parentheses around molecule state"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 57 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1193:18: warning: 'species is missing or cannot...' directive output truncated writing 36 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-1,"species is missing or cannot be read"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 37 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1188:24: warning: 'error on setup' directive output truncated writing 14 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(cmd->i1!=-1,"error on setup"); // failed before, don't try again ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 15 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdmolcountspace2d(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1303:18: warning: 'missing arguments' directive output truncated writing 17 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(line2,"missing arguments"); ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 18 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1309:18: warning: 'error allocating memory' directive output truncated writing 23 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-7,"error allocating memory"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 24 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1308:33: warning: 'molecule name not recognized' directive output truncated writing 28 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-4 || sim->ruless,"molecule name not recognized"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 29 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1346:41: warning: 'low value needs to be less t...' directive output truncated writing 54 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(low[curaxis]<=high[curaxis],"low value needs to be less than or equal to high value"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 55 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1345:21: warning: 'cannot read (or insufficient...' directive output truncated writing 48 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(itct==2,"cannot read (or insufficient) position arguments"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 49 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1355:17: warning: 'file name not recognized' directive output truncated writing 24 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(fptr,"file name not recognized"); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 25 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1352:23: warning: 'illegal average value' directive output truncated writing 21 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(average>=0,"illegal average value"); ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 22 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1351:20: warning: 'cannot read average number' directive output truncated writing 26 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(itct==1,"cannot read average number"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 27 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1349:18: warning: 'missing arguments' directive output truncated writing 17 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(line2,"missing arguments"); // average ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 18 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1338:20: warning: 'bins value needs to be > 0' directive output truncated writing 26 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(nbin2>0,"bins value needs to be > 0"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 27 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1337:39: warning: 'low value needs to be less t...' directive output truncated writing 42 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(low[curaxis]erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 43 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1336:20: warning: 'cannot read arguments: low h...' directive output truncated writing 36 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(itct==3,"cannot read arguments: low high bins"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 37 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1332:18: warning: 'missing arguments' directive output truncated writing 17 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(line2,"missing arguments"); ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 18 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1328:20: warning: 'bins value needs to be > 0' directive output truncated writing 26 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(nbin1>0,"bins value needs to be > 0"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 27 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1327:39: warning: 'low value needs to be less t...' directive output truncated writing 42 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(low[curaxis]erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 43 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1326:20: warning: 'cannot read arguments: low h...' directive output truncated writing 36 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(itct==3,"cannot read arguments: low high bins"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 37 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1322:18: warning: 'missing arguments' directive output truncated writing 17 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(line2,"missing arguments"); ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 18 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1319:54: warning: 'illegal axis value' directive output truncated writing 18 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK((dim==2 && axis==2) || (dim==3 && axis<3),"illegal axis value"); ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 19 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1314:20: warning: 'cannot read axis value' directive output truncated writing 22 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(itct==1,"cannot read axis value"); ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 23 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1312:18: warning: 'missing arguments' directive output truncated writing 17 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(line2,"missing arguments"); ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 18 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1307:18: warning: 'cannot read molecule state v...' directive output truncated writing 32 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-3,"cannot read molecule state value"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 33 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1306:18: warning: 'mismatched or improper paren...' directive output truncated writing 56 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-2,"mismatched or improper parentheses around molecule state"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 57 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1305:18: warning: 'species is missing or cannot...' directive output truncated writing 36 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-1,"species is missing or cannot be read"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 37 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1300:24: warning: 'error on setup' directive output truncated writing 14 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(cmd->i1!=-1,"error on setup"); // failed before, don't try again ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 15 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolmolec.c:22: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolmolec.c: In function 'char* molserno2string(long long unsigned int, char*)': /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smoldyn.h:23:21: warning: '%llu' directive output may be truncated writing between 1 and 10 bytes into a region of size 4 [-Wformat-truncation=] #define LLUFORMAT "%llu" ^ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolmolec.c:629:34: note: in expansion of macro 'LLUFORMAT' snprintf(string,sizeof(string),LLUFORMAT "." LLUFORMAT,serno>>32,serno&0xFFFFFFFF); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smoldyn.h:23:21: note: directive argument in the range [0, 4294967295] #define LLUFORMAT "%llu" ^ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolmolec.c:629:34: note: in expansion of macro 'LLUFORMAT' snprintf(string,sizeof(string),LLUFORMAT "." LLUFORMAT,serno>>32,serno&0xFFFFFFFF); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smoldyn.h:23:21: note: directive argument in the range [0, 4294967295] #define LLUFORMAT "%llu" ^ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolmolec.c:629:34: note: in expansion of macro 'LLUFORMAT' snprintf(string,sizeof(string),LLUFORMAT "." LLUFORMAT,serno>>32,serno&0xFFFFFFFF); ^~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolmolec.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin___snprintf_chk' output between 4 and 22 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolmolec.c:22: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smoldyn.h:23:21: warning: '%llu' directive output may be truncated writing between 1 and 10 bytes into a region of size 4 [-Wformat-truncation=] #define LLUFORMAT "%llu" ^~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolmolec.c:627:34: note: in expansion of macro 'LLUFORMAT' snprintf(string,sizeof(string),LLUFORMAT,serno); ^~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smoldyn.h:23:21: note: directive argument in the range [0, 4294967294] #define LLUFORMAT "%llu" ^~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolmolec.c:627:34: note: in expansion of macro 'LLUFORMAT' snprintf(string,sizeof(string),LLUFORMAT,serno); ^~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolmolec.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin___snprintf_chk' output between 2 and 11 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdmolcountspaceradial(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1416:18: warning: 'missing arguments' directive output truncated writing 17 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(line2,"missing arguments"); ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 18 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1422:18: warning: 'error allocating memory' directive output truncated writing 23 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-7,"error allocating memory"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 24 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1421:33: warning: 'molecule name not recognized' directive output truncated writing 28 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-4 || sim->ruless,"molecule name not recognized"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 29 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1429:19: warning: 'missing arguments' directive output truncated writing 17 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(line2,"missing arguments"); } ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 18 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1427:21: warning: 'missing center value' directive output truncated writing 20 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(itct==1,"missing center value"); ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 21 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1441:17: warning: 'file name not recognized' directive output truncated writing 24 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(fptr,"file name not recognized"); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 25 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1438:23: warning: 'illegal average value' directive output truncated writing 21 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(average>=0,"illegal average value"); ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 22 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1437:20: warning: 'cannot read average number' directive output truncated writing 26 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(itct==1,"cannot read average number"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 27 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1435:18: warning: 'missing arguments' directive output truncated writing 17 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(line2,"missing arguments"); ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 18 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1433:19: warning: 'bins value needs to be > 0' directive output truncated writing 26 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(nbin>0,"bins value needs to be > 0"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 27 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1432:21: warning: 'radius needs to be greater t...' directive output truncated writing 33 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(radius>0,"radius needs to be greater than 0"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 34 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1431:20: warning: 'cannot read arguments: radiu...' directive output truncated writing 34 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(itct==2,"cannot read arguments: radius bins"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 35 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1424:18: warning: 'missing arguments' directive output truncated writing 17 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(line2,"missing arguments"); ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 18 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1420:18: warning: 'cannot read molecule state v...' directive output truncated writing 32 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-3,"cannot read molecule state value"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 33 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1419:18: warning: 'mismatched or improper paren...' directive output truncated writing 56 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-2,"mismatched or improper parentheses around molecule state"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 57 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1418:18: warning: 'species is missing or cannot...' directive output truncated writing 36 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-1,"species is missing or cannot be read"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 37 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1414:24: warning: 'error on setup' directive output truncated writing 14 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(cmd->i1!=-1,"error on setup"); // failed before, don't try again ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 15 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolmolec.c: In function 'char* molpos2string(simptr, moleculeptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolmolec.c:739:32: warning: '%g' directive output may be truncated writing between 1 and 13 bytes into a region of size 3 [-Wformat-truncation=] snprintf(line2,sizeof(line2)," %g",mptr->pos[d]); ^~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolmolec.c:739:32: note: assuming directive output of 12 bytes In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolmolec.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin___snprintf_chk' output between 3 and 15 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolmolec.c:768:34: warning: '%g' directive output may be truncated writing between 1 and 13 bytes into a region of size 3 [-Wformat-truncation=] snprintf(line2,sizeof(line2)," %g",mptr->pos[d]+unirandCCD(-dist,dist)); ^~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolmolec.c:768:34: note: assuming directive output of 12 bytes In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolmolec.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin___snprintf_chk' output between 3 and 15 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdmolcountspacepolarangle(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1500:18: warning: 'missing arguments' directive output truncated writing 17 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(line2,"missing arguments"); ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 18 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1506:18: warning: 'error allocating memory' directive output truncated writing 23 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-7,"error allocating memory"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 24 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1505:33: warning: 'molecule name not recognized' directive output truncated writing 28 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-4 || sim->ruless,"molecule name not recognized"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 29 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1518:19: warning: 'missing arguments' directive output truncated writing 17 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(line2,"missing arguments"); } ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 18 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1516:21: warning: 'missing pole value' directive output truncated writing 18 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(itct==1,"missing pole value"); ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 19 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1513:19: warning: 'missing arguments' directive output truncated writing 17 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(line2,"missing arguments"); } ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 18 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1511:21: warning: 'missing center value' directive output truncated writing 20 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(itct==1,"missing center value"); ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 21 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1551:26: warning: 'pole vector is equal to zero' directive output truncated writing 28 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(poleleninv>0,"pole vector is equal to zero"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 29 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1546:38: warning: 'pole vector is equal to zero' directive output truncated writing 28 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(pole[0]!=0 || pole[1]!=0,"pole vector is equal to zero"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 29 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1529:17: warning: 'file name not recognized' directive output truncated writing 24 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(fptr,"file name not recognized"); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 25 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1526:23: warning: 'illegal average value' directive output truncated writing 21 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(average>=0,"illegal average value"); ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 22 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1525:20: warning: 'cannot read average number' directive output truncated writing 26 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(itct==1,"cannot read average number"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 27 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1523:18: warning: 'missing arguments' directive output truncated writing 17 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(line2,"missing arguments"); ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 18 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1521:19: warning: 'bins value needs to be > 0' directive output truncated writing 26 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(nbin>0,"bins value needs to be > 0"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 27 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1520:20: warning: 'cannot read arguments: radiu...' directive output truncated writing 49 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(itct==3,"cannot read arguments: radius_min radius_max bins"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 50 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1508:18: warning: 'missing arguments' directive output truncated writing 17 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(line2,"missing arguments"); ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 18 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1504:18: warning: 'cannot read molecule state v...' directive output truncated writing 32 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-3,"cannot read molecule state value"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 33 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1503:18: warning: 'mismatched or improper paren...' directive output truncated writing 56 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-2,"mismatched or improper parentheses around molecule state"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 57 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1502:18: warning: 'species is missing or cannot...' directive output truncated writing 36 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-1,"species is missing or cannot be read"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 37 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1498:24: warning: 'error on setup' directive output truncated writing 14 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(cmd->i1!=-1,"error on setup"); // failed before, don't try again ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 15 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdradialdistribution(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1608:18: warning: 'missing arguments' directive output truncated writing 17 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(line2,"missing arguments"); ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 18 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1632:17: warning: 'file name not recognized' directive output truncated writing 24 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(fptr,"file name not recognized"); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 25 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1629:23: warning: 'illegal average value' directive output truncated writing 21 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(average>=0,"illegal average value"); ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 22 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1628:19: warning: 'bins value needs to be > 0' directive output truncated writing 26 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(nbin>0,"bins value needs to be > 0"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 27 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1627:21: warning: 'radius needs to be greater t...' directive output truncated writing 33 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(radius>0,"radius needs to be greater than 0"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 34 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1626:20: warning: 'cannot read arguments: radiu...' directive output truncated writing 42 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(itct==3,"cannot read arguments: radius bins average"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 43 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1624:18: warning: 'missing arguments' directive output truncated writing 17 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(line2,"missing arguments"); ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 18 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1622:19: warning: 'error allocating memory' directive output truncated writing 23 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i2!=-7,"error allocating memory"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 24 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1621:19: warning: 'molecule name not recognized' directive output truncated writing 28 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i2!=-4,"molecule name not recognized"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 29 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1620:19: warning: 'cannot read molecule state v...' directive output truncated writing 32 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i2!=-3,"cannot read molecule state value"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 33 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1619:19: warning: 'mismatched or improper paren...' directive output truncated writing 56 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i2!=-2,"mismatched or improper parentheses around molecule state"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 57 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1618:19: warning: 'species is missing or cannot...' directive output truncated writing 36 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i2!=-1,"species is missing or cannot be read"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 37 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1616:18: warning: 'missing arguments' directive output truncated writing 17 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(line2,"missing arguments"); ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 18 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1614:19: warning: 'error allocating memory' directive output truncated writing 23 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i1!=-7,"error allocating memory"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 24 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1613:19: warning: 'molecule name not recognized' directive output truncated writing 28 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i1!=-4,"molecule name not recognized"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 29 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1612:19: warning: 'cannot read molecule state v...' directive output truncated writing 32 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i1!=-3,"cannot read molecule state value"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 33 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1611:19: warning: 'mismatched or improper paren...' directive output truncated writing 56 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i1!=-2,"mismatched or improper parentheses around molecule state"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 57 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1610:19: warning: 'species is missing or cannot...' directive output truncated writing 36 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i1!=-1,"species is missing or cannot be read"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 37 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1606:24: warning: 'error on setup' directive output truncated writing 14 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(cmd->i1!=-1,"error on setup"); // failed before, don't try again ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 15 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdradialdistribution2(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1720:18: warning: 'missing arguments' directive output truncated writing 17 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(line2,"missing arguments"); ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 18 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1742:19: warning: 'missing arguments' directive output truncated writing 17 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(line2,"missing arguments"); } ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 18 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1740:35: warning: 'low position value needs to ...' directive output truncated writing 53 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(lowpos[d]<=highpos[d],"low position value needs to be <= high position value"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 54 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1739:21: warning: 'missing arguments' directive output truncated writing 17 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(itct==2,"missing arguments"); ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 18 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1750:17: warning: 'file name not recognized' directive output truncated writing 24 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(fptr,"file name not recognized"); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 25 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1747:23: warning: 'illegal average value' directive output truncated writing 21 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(average>=0,"illegal average value"); ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 22 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1746:19: warning: 'bins value needs to be > 0' directive output truncated writing 26 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(nbin>0,"bins value needs to be > 0"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 27 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1745:21: warning: 'radius needs to be greater t...' directive output truncated writing 33 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(radius>0,"radius needs to be greater than 0"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 34 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1744:20: warning: 'cannot read arguments: radiu...' directive output truncated writing 42 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(itct==3,"cannot read arguments: radius bins average"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 43 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1736:18: warning: 'missing arguments' directive output truncated writing 17 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(line2,"missing arguments"); ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 18 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1734:19: warning: 'error allocating memory' directive output truncated writing 23 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i2!=-7,"error allocating memory"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 24 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1733:19: warning: 'molecule name not recognized' directive output truncated writing 28 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i2!=-4,"molecule name not recognized"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 29 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1732:19: warning: 'cannot read molecule state v...' directive output truncated writing 32 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i2!=-3,"cannot read molecule state value"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 33 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1731:19: warning: 'mismatched or improper paren...' directive output truncated writing 56 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i2!=-2,"mismatched or improper parentheses around molecule state"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 57 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1730:19: warning: 'species is missing or cannot...' directive output truncated writing 36 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i2!=-1,"species is missing or cannot be read"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 37 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1728:18: warning: 'missing arguments' directive output truncated writing 17 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(line2,"missing arguments"); ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 18 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1726:19: warning: 'error allocating memory' directive output truncated writing 23 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i1!=-7,"error allocating memory"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 24 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1725:19: warning: 'molecule name not recognized' directive output truncated writing 28 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i1!=-4,"molecule name not recognized"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 29 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1724:19: warning: 'cannot read molecule state v...' directive output truncated writing 32 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i1!=-3,"cannot read molecule state value"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 33 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1723:19: warning: 'mismatched or improper paren...' directive output truncated writing 56 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i1!=-2,"mismatched or improper parentheses around molecule state"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 57 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1722:19: warning: 'species is missing or cannot...' directive output truncated writing 36 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i1!=-1,"species is missing or cannot be read"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 37 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1718:24: warning: 'error on setup' directive output truncated writing 14 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(cmd->i1!=-1,"error on setup"); // failed before, don't try again ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 15 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdlistmols(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1905:17: warning: 'file name not recognized' directive output truncated writing 24 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(fptr,"file name not recognized"); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 25 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1902:22: warning: 'molecules are undefined' directive output truncated writing 23 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(sim->mols,"molecules are undefined"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 24 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdtrackmol(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2143:17: warning: 'file name not recognized' directive output truncated writing 24 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(fptr,"file name not recognized"); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 25 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2140:20: warning: 'cannot read molecule serial ...' directive output truncated writing 34 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(serno>0,"cannot read molecule serial number"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 35 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2138:20: warning: 'cannot read molecule serial ...' directive output truncated writing 34 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(itct==1,"cannot read molecule serial number"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 35 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdmeansqrdisp(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2285:18: warning: 'error allocating memory' directive output truncated writing 23 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-7,"error allocating memory"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 24 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2284:33: warning: 'molecule name not recognized' directive output truncated writing 28 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-4 || sim->ruless,"molecule name not recognized"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 29 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2309:19: warning: 'no molecules to track' directive output truncated writing 21 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(ctr>0,"no molecules to track"); ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 22 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2301:23: warning: 'error on setup' directive output truncated writing 14 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(cmd->i2!=2,"error on setup"); // failed before, don't try again ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 15 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2299:17: warning: 'file name not recognized' directive output truncated writing 24 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(fptr,"file name not recognized"); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 25 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2296:28: warning: 'invalid dimension value' directive output truncated writing 23 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(msddimdim,"invalid dimension value"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 24 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2289:20: warning: 'cannot read dimension inform...' directive output truncated writing 33 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(itct==1,"cannot read dimension information"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 34 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2287:18: warning: 'missing dimension informatio.' directive output truncated writing 29 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(line2,"missing dimension information"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 30 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2283:18: warning: 'cannot read molecule state v...' directive output truncated writing 32 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-3,"cannot read molecule state value"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 33 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2282:18: warning: 'mismatched or improper paren...' directive output truncated writing 56 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-2,"mismatched or improper parentheses around molecule state"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 57 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2281:18: warning: 'species is missing or cannot...' directive output truncated writing 36 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-1,"species is missing or cannot be read"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 37 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 62%] Building CXX object CMakeFiles/smoldyn.dir/source/Smoldyn/smollattice.c.o /opt/rh/devtoolset-8/root/usr/bin/c++ -I/builddir/build/BUILD/smoldyn-2.61/source/lib -I/builddir/build/BUILD/smoldyn-2.61/source/Smoldyn -I/builddir/build/BUILD/smoldyn-2.61/source/NextSubVolume -I/builddir/build/BUILD/smoldyn-2.61/source/vtk -I/builddir/build/BUILD/smoldyn-2.61/build -isystem /usr/include/boost169/boost -isystem /usr/include/boost169 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -O2 -Wall -DNDEBUG -I/usr/include -o CMakeFiles/smoldyn.dir/source/Smoldyn/smollattice.c.o -c /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smollattice.c In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdresidencetime(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2703:18: warning: 'error allocating memory' directive output truncated writing 23 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-7,"error allocating memory"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 24 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2702:33: warning: 'molecule name not recognized' directive output truncated writing 28 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-4 || sim->ruless,"molecule name not recognized"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 29 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2737:24: warning: 'insufficient allocated space' directive output truncated writing 28 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(ctrerstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 29 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2749:36: warning: 'not enough allocated space' directive output truncated writing 26 bytes into a region of size 4 [-Wformat-truncation=] if(cmd->i3==cmd->i1) {SCMDCHECK(0,"not enough allocated space");} ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 27 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2713:23: warning: 'error on setup' directive output truncated writing 14 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(cmd->i2!=2,"error on setup"); // failed before, don't try again ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 15 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2711:17: warning: 'file name not recognized' directive output truncated writing 24 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(fptr,"file name not recognized"); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 25 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2708:21: warning: 'max_mol has to be at least 1' directive output truncated writing 28 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(maxmol>0,"max_mol has to be at least 1"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 29 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2707:20: warning: 'cannot read start, report, s...' directive output truncated writing 72 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(itct==5,"cannot read start, report, summary_out, list_out, or max_mol information"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 73 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2705:18: warning: 'insufficient arguments' directive output truncated writing 22 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(line2,"insufficient arguments"); ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 23 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2701:18: warning: 'cannot read molecule state v...' directive output truncated writing 32 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-3,"cannot read molecule state value"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 33 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2700:18: warning: 'mismatched or improper paren...' directive output truncated writing 56 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-2,"mismatched or improper parentheses around molecule state"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 57 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2699:18: warning: 'species is missing or cannot...' directive output truncated writing 36 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-1,"species is missing or cannot be read"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 37 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 65%] Building CXX object CMakeFiles/smoldyn.dir/source/Smoldyn/smolreact.c.o /opt/rh/devtoolset-8/root/usr/bin/c++ -I/builddir/build/BUILD/smoldyn-2.61/source/lib -I/builddir/build/BUILD/smoldyn-2.61/source/Smoldyn -I/builddir/build/BUILD/smoldyn-2.61/source/NextSubVolume -I/builddir/build/BUILD/smoldyn-2.61/source/vtk -I/builddir/build/BUILD/smoldyn-2.61/build -isystem /usr/include/boost169/boost -isystem /usr/include/boost169 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -O2 -Wall -DNDEBUG -I/usr/include -o CMakeFiles/smoldyn.dir/source/Smoldyn/smolreact.c.o -c /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolreact.c In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdmeansqrdisp2(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2390:18: warning: 'error allocating memory' directive output truncated writing 23 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-7,"error allocating memory"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 24 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2389:33: warning: 'molecule name not recognized' directive output truncated writing 28 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-4 || sim->ruless,"molecule name not recognized"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 29 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2438:24: warning: 'insufficient allocated space' directive output truncated writing 28 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(ctrerstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 29 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2449:36: warning: 'not enough allocated space' directive output truncated writing 26 bytes into a region of size 4 [-Wformat-truncation=] if(cmd->i3==cmd->i1) {SCMDCHECK(0,"not enough allocated space");} ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 27 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2412:23: warning: 'error on setup' directive output truncated writing 14 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(cmd->i2!=2,"error on setup"); // failed before, don't try again ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 15 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2410:17: warning: 'file name not recognized' directive output truncated writing 24 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(fptr,"file name not recognized"); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 25 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2407:26: warning: 'max_moment cannot exceed 16' directive output truncated writing 27 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(maxmoment<=16,"max_moment cannot exceed 16"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 28 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2406:24: warning: 'maxmoment has to be at least�y' directive output truncated writing 30 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(maxmoment>0,"maxmoment has to be at least 1"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 31 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2405:21: warning: 'max_mol has to be at least 1' directive output truncated writing 28 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(maxmol>0,"max_mol has to be at least 1"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 29 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2404:20: warning: 'cannot read start, report, m...' directive output truncated writing 61 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(itct==4,"cannot read start, report, max_mol, or max_moment information"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 62 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2402:18: warning: 'insufficient arguments' directive output truncated writing 22 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(line2,"insufficient arguments"); ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 23 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2400:28: warning: 'invalid dimension value' directive output truncated writing 23 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(msddimdim,"invalid dimension value"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 24 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2394:20: warning: 'cannot read dimension inform...' directive output truncated writing 33 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(itct==1,"cannot read dimension information"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 34 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2392:18: warning: 'missing dimension informatio.' directive output truncated writing 29 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(line2,"missing dimension information"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 30 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2388:18: warning: 'cannot read molecule state v...' directive output truncated writing 32 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-3,"cannot read molecule state value"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 33 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2387:18: warning: 'mismatched or improper paren...' directive output truncated writing 56 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-2,"mismatched or improper parentheses around molecule state"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 57 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2386:18: warning: 'species is missing or cannot...' directive output truncated writing 36 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-1,"species is missing or cannot be read"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 37 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolreact.c: In function 'char* rxnsernocode2string(long int, char*)': /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolreact.c:481:20: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] snprintf(pattern,sizeof(pattern),"%li",pserno); ^~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolreact.c: In function 'int rxnsetrate(simptr, int, int, char*)': /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolreact.c:1298:35: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] if(rxn->rate<0) {snprintf(erstr,sizeof(erstr),"reaction %s rate is undefined",rxn->rname);return 1;} ^~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolreact.c:1302:35: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] if(rxn->rate<0) {snprintf(erstr,sizeof(erstr),"reaction %s rate is undefined",rxn->rname);return 1;} ^~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolreact.c:1310:35: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] if(rxn->rate<0) {snprintf(erstr,sizeof(erstr),"reaction %s rate is undefined",rxn->rname);return 1;} ^~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolreact.c:1320:63: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] if(rxn->permit[ms1]!=rxn2->permit[ms1]) {snprintf(erstr,sizeof(erstr),"reactions %s and %s have the same reactant but different state permissions, which is not allowed",rxn->rname,rxn2->rname);return 2;} ^~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolreact.c:1332:56: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] if(!(rxn->prob>=0 && rxn->prob<=1)) {snprintf(erstr,sizeof(erstr),"reaction %s probability is %g, which is out of range",rxn->rname,rxn->prob);return 5;}} ^~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolreact.c:1343:19: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] snprintf(erstr,sizeof(erstr),"reaction rate %s is undefined",rxn->rname); ^~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolreact.c:1376:36: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] else if(dsum<=0) {snprintf(erstr,sizeof(erstr),"Both diffusion coefficients are 0");return 4;} ^~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolreact.c: In function 'int rxnsetproduct(simptr, int, int, char*)': /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolreact.c:1427:19: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] snprintf(erstr,sizeof(erstr),"Illegal product parameter because reaction has no products"); ^~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolreact.c:1443:19: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] snprintf(erstr,sizeof(erstr),"Illegal product parameter because reaction only has one product"); ^~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolreact.c:1495:20: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] snprintf(erstr,sizeof(erstr),"Illegal product parameter because products don't react");er=3; } ^~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolreact.c:1511:20: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] snprintf(erstr,sizeof(erstr),"BUG: Undefined product placement for reversible reaction");er=5; } ^~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolreact.c:1517:20: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] snprintf(erstr,sizeof(erstr),"Binding radius of reaction products is undefined");er=6; } ^~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolreact.c:1527:20: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] snprintf(erstr,sizeof(erstr),"Cannot set unbinding distance because sum of product diffusion constants is 0");er=4; } ^~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolreact.c:1531:21: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] snprintf(erstr,sizeof(erstr),"Cannot create an unbinding radius due to illegal input values");er=7; } ^~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolreact.c:1533:21: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] snprintf(erstr,sizeof(erstr),"Maximum possible geminate binding probability is %g",-rpar);er=8; } ^~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolreact.c:1541:21: warning: argument to 'sizeof' in 'int snprintf(char*, size_t, const char*, ...)' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] snprintf(erstr,sizeof(erstr),"Illegal input values");er=9; } ^~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdmovesurfacemol(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3050:18: warning: 'missing arguments' directive output truncated writing 17 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(line2,"missing arguments"); ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 18 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3061:18: warning: 'error allocating memory' directive output truncated writing 23 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-7,"error allocating memory"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 24 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3060:33: warning: 'molecule name not recognized' directive output truncated writing 28 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-4 || sim->ruless,"molecule name not recognized"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 29 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3079:25: warning: 'failed to read final state' directive output truncated writing 26 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(ms2!=MSnone,"failed to read final state"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 27 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3077:21: warning: 'failed to read final state' directive output truncated writing 26 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(itct==1,"failed to read final state"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 27 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3073:28: warning: 'failed to read panel2' directive output truncated writing 21 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(p2>=0 || p2==-5,"failed to read panel2"); ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 22 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3072:18: warning: 'failed to read surface2' directive output truncated writing 23 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(s2>=0,"failed to read surface2"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 24 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3070:28: warning: 'failed to read panel1' directive output truncated writing 21 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(p1>=0 || p1==-5,"failed to read panel1"); ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 22 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3069:18: warning: 'failed to read surface1' directive output truncated writing 23 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(s1>=0,"failed to read surface1"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 24 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3067:20: warning: 'failed to read surfaces and ...' directive output truncated writing 34 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(itct==2,"failed to read surfaces and panels"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 35 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3065:18: warning: 'missing originating surface:...' directive output truncated writing 33 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(line2,"missing originating surface:panel"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 34 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3063:31: warning: 'probability out of bounds' directive output truncated writing 25 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(prob>=0 && prob<=1,"probability out of bounds"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 26 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3062:82: warning: 'illegal molecule state' directive output truncated writing 22 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(ms1==MSfront || ms1==MSback || ms1==MSup || ms1==MSdown || ms1==MSall,"illegal molecule state"); ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 23 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3059:18: warning: 'cannot read molecule state v...' directive output truncated writing 32 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-3,"cannot read molecule state value"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 33 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3058:18: warning: 'mismatched or improper paren...' directive output truncated writing 56 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-2,"mismatched or improper parentheses around molecule state"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 57 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3057:18: warning: 'species is missing or cannot...' directive output truncated writing 36 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-1,"species is missing or cannot be read"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 37 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3054:20: warning: 'failed to read molecule name...' directive output truncated writing 43 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(itct==2,"failed to read molecule name or probability"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 44 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3052:23: warning: 'surfaces are undefined' directive output truncated writing 22 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(sim->srfss,"surfaces are undefined"); ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 23 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3051:22: warning: 'molecules are undefined' directive output truncated writing 23 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(sim->mols,"molecules are undefined"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 24 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdmodulatemol(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3904:20: warning: 'failure reading frequency or...' directive output truncated writing 34 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(itct==2,"failure reading frequency or shift"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 35 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3902:18: warning: 'missing frequency and shift' directive output truncated writing 27 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(line2,"missing frequency and shift"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 28 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3900:73: warning: 'cannot equilibrate between s...' directive output truncated writing 53 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK((ms1==MSsoln && ms2==MSsoln) || (ms1!=MSsoln && ms2!=MSsoln),"cannot equilibrate between solution and surface-bound"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 54 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3899:23: warning: 'molecule state cannot be 'al..' directive output truncated writing 30 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(ms2!=MSall,"molecule state cannot be 'all'"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 31 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3898:17: warning: 'molecule name has to be for ...' directive output truncated writing 44 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i2>0,"molecule name has to be for a single species"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 45 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3897:19: warning: 'error allocating memory' directive output truncated writing 23 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i2!=-7,"error allocating memory"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 24 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3896:19: warning: 'molecule name not recognized' directive output truncated writing 28 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i2!=-4,"molecule name not recognized"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 29 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3895:19: warning: 'cannot read molecule state v...' directive output truncated writing 32 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i2!=-3,"cannot read molecule state value"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 33 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3894:19: warning: 'mismatched or improper paren...' directive output truncated writing 56 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i2!=-2,"mismatched or improper parentheses around molecule state"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 57 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3893:19: warning: 'species is missing or cannot...' directive output truncated writing 36 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i2!=-1,"species is missing or cannot be read"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 37 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3890:23: warning: 'molecule state cannot be 'al..' directive output truncated writing 30 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(ms1!=MSall,"molecule state cannot be 'all'"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 31 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3889:17: warning: 'molecule name has to be for ...' directive output truncated writing 44 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i1>0,"molecule name has to be for a single species"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 45 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3888:19: warning: 'error allocating memory' directive output truncated writing 23 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i1!=-7,"error allocating memory"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 24 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3887:19: warning: 'molecule name not recognized' directive output truncated writing 28 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i1!=-4,"molecule name not recognized"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 29 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3886:19: warning: 'cannot read molecule state v...' directive output truncated writing 32 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i1!=-3,"cannot read molecule state value"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 33 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3885:19: warning: 'mismatched or improper paren...' directive output truncated writing 56 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i1!=-2,"mismatched or improper parentheses around molecule state"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 57 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3884:19: warning: 'species is missing or cannot...' directive output truncated writing 36 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i1!=-1,"species is missing or cannot be read"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 37 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdkillmolprob(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3156:18: warning: 'error allocating memory' directive output truncated writing 23 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-7,"error allocating memory"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 24 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3155:33: warning: 'molecule name not recognized' directive output truncated writing 28 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-4 || sim->ruless,"molecule name not recognized"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 29 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3166:32: warning: 'probability needs to be betw...' directive output truncated writing 39 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(prob>=0 && prob<=1,"probability needs to be between 0 and 1"); } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 40 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3165:21: warning: 'killmolprob format: name[(st...' directive output truncated writing 45 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(itct==1,"killmolprob format: name[(state)] probability"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 46 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3158:18: warning: 'missing probability value' directive output truncated writing 25 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(line2,"missing probability value"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 26 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3154:18: warning: 'cannot read molecule state v...' directive output truncated writing 32 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-3,"cannot read molecule state value"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 33 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3153:18: warning: 'mismatched or improper paren...' directive output truncated writing 56 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-2,"mismatched or improper parentheses around molecule state"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 57 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3152:18: warning: 'species is missing or cannot...' directive output truncated writing 36 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-1,"species is missing or cannot be read"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 37 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdequilmol(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3607:32: warning: 'probability is out of bounds' directive output truncated writing 28 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(prob>=0 && prob<=1,"probability is out of bounds"); } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 29 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3606:21: warning: 'failed to read probability' directive output truncated writing 26 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(itct==1,"failed to read probability"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 27 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3599:18: warning: 'missing probability argument' directive output truncated writing 28 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(line2,"missing probability argument"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 29 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3597:73: warning: 'cannot equilibrate between s...' directive output truncated writing 53 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK((ms1==MSsoln && ms2==MSsoln) || (ms1!=MSsoln && ms2!=MSsoln),"cannot equilibrate between solution and surface-bound"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 54 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3596:23: warning: 'molecule state cannot be 'al..' directive output truncated writing 30 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(ms2!=MSall,"molecule state cannot be 'all'"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 31 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3595:17: warning: 'molecule name has to be for ...' directive output truncated writing 44 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i2>0,"molecule name has to be for a single species"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 45 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3594:19: warning: 'error allocating memory' directive output truncated writing 23 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i2!=-7,"error allocating memory"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 24 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3593:19: warning: 'molecule name not recognized' directive output truncated writing 28 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i2!=-4,"molecule name not recognized"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 29 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3592:19: warning: 'cannot read molecule state v...' directive output truncated writing 32 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i2!=-3,"cannot read molecule state value"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 33 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3591:19: warning: 'mismatched or improper paren...' directive output truncated writing 56 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i2!=-2,"mismatched or improper parentheses around molecule state"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 57 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3590:19: warning: 'species is missing or cannot...' directive output truncated writing 36 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i2!=-1,"species is missing or cannot be read"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 37 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3587:23: warning: 'molecule state cannot be 'al..' directive output truncated writing 30 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(ms1!=MSall,"molecule state cannot be 'all'"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 31 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3586:17: warning: 'molecule name has to be for ...' directive output truncated writing 44 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i1>0,"molecule name has to be for a single species"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 45 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3585:19: warning: 'error allocating memory' directive output truncated writing 23 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i1!=-7,"error allocating memory"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 24 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3584:19: warning: 'molecule name not recognized' directive output truncated writing 28 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i1!=-4,"molecule name not recognized"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 29 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3583:19: warning: 'cannot read molecule state v...' directive output truncated writing 32 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i1!=-3,"cannot read molecule state value"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 33 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3582:19: warning: 'mismatched or improper paren...' directive output truncated writing 56 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i1!=-2,"mismatched or improper parentheses around molecule state"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 57 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3581:19: warning: 'species is missing or cannot...' directive output truncated writing 36 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i1!=-1,"species is missing or cannot be read"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 37 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdreplacemol(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3671:32: warning: 'fraction out of bounds' directive output truncated writing 22 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(prob>=0 && prob<=1,"fraction out of bounds"); } ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 23 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3670:21: warning: 'cannot read fraction' directive output truncated writing 20 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(itct==1,"cannot read fraction"); ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 21 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3664:20: warning: 'missing probability informat�y�' directive output truncated writing 31 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(itct==1,"missing probability information"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 32 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3662:18: warning: 'missing probability informat�y�' directive output truncated writing 31 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(line2,"missing probability information"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 32 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3660:73: warning: 'cannot equilibrate between s...' directive output truncated writing 53 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK((ms1==MSsoln && ms2==MSsoln) || (ms1!=MSsoln && ms2!=MSsoln),"cannot equilibrate between solution and surface-bound"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 54 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3659:23: warning: 'molecule state cannot be 'al..' directive output truncated writing 30 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(ms2!=MSall,"molecule state cannot be 'all'"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 31 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3658:17: warning: 'molecule name has to be for ...' directive output truncated writing 44 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i2>0,"molecule name has to be for a single species"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 45 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3657:19: warning: 'error allocating memory' directive output truncated writing 23 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i2!=-7,"error allocating memory"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 24 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3656:19: warning: 'molecule name not recognized' directive output truncated writing 28 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i2!=-4,"molecule name not recognized"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 29 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3655:19: warning: 'cannot read molecule state v...' directive output truncated writing 32 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i2!=-3,"cannot read molecule state value"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 33 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3654:19: warning: 'mismatched or improper paren...' directive output truncated writing 56 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i2!=-2,"mismatched or improper parentheses around molecule state"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 57 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3653:19: warning: 'species is missing or cannot...' directive output truncated writing 36 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i2!=-1,"species is missing or cannot be read"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 37 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3651:18: warning: 'missing second species name' directive output truncated writing 27 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(line2,"missing second species name"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 28 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3649:23: warning: 'molecule state cannot be 'al..' directive output truncated writing 30 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(ms1!=MSall,"molecule state cannot be 'all'"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 31 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3648:19: warning: 'error allocating memory' directive output truncated writing 23 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i1!=-7,"error allocating memory"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 24 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3647:19: warning: 'molecule name not recognized' directive output truncated writing 28 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i1!=-4,"molecule name not recognized"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 29 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3646:19: warning: 'cannot read molecule state v...' directive output truncated writing 32 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i1!=-3,"cannot read molecule state value"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 33 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3645:19: warning: 'mismatched or improper paren...' directive output truncated writing 56 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i1!=-2,"mismatched or improper parentheses around molecule state"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 57 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3644:19: warning: 'species is missing or cannot...' directive output truncated writing 36 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i1!=-1,"species is missing or cannot be read"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 37 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdreplacecmptmol(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3845:32: warning: 'fraction out of bounds' directive output truncated writing 22 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(frac>=0 && frac<=1,"fraction out of bounds"); } ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 23 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3844:21: warning: 'cannot read fraction' directive output truncated writing 20 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(itct==1,"cannot read fraction"); ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 21 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3850:17: warning: 'compartment not recognized' directive output truncated writing 26 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(c>=0,"compartment not recognized"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 27 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3847:18: warning: 'compartment name missing' directive output truncated writing 24 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(line2,"compartment name missing"); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 25 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3838:20: warning: 'missing fraction information' directive output truncated writing 28 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(itct==1,"missing fraction information"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 29 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3836:18: warning: 'missing fraction information' directive output truncated writing 28 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(line2,"missing fraction information"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 29 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3834:73: warning: 'cannot equilibrate between s...' directive output truncated writing 53 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK((ms1==MSsoln && ms2==MSsoln) || (ms1!=MSsoln && ms2!=MSsoln),"cannot equilibrate between solution and surface-bound"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 54 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3833:23: warning: 'molecule state cannot be 'al..' directive output truncated writing 30 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(ms2!=MSall,"molecule state cannot be 'all'"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 31 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3832:17: warning: 'molecule name has to be for ...' directive output truncated writing 44 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i2>0,"molecule name has to be for a single species"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 45 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3831:19: warning: 'error allocating memory' directive output truncated writing 23 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i2!=-7,"error allocating memory"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 24 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3830:19: warning: 'molecule name not recognized' directive output truncated writing 28 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i2!=-4,"molecule name not recognized"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 29 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3829:19: warning: 'cannot read molecule state v...' directive output truncated writing 32 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i2!=-3,"cannot read molecule state value"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 33 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3828:19: warning: 'mismatched or improper paren...' directive output truncated writing 56 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i2!=-2,"mismatched or improper parentheses around molecule state"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 57 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3827:19: warning: 'species is missing or cannot...' directive output truncated writing 36 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i2!=-1,"species is missing or cannot be read"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 37 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3825:18: warning: 'missing second species name' directive output truncated writing 27 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(line2,"missing second species name"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 28 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3823:23: warning: 'molecule state cannot be 'al..' directive output truncated writing 30 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(ms1!=MSall,"molecule state cannot be 'all'"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 31 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3822:19: warning: 'error allocating memory' directive output truncated writing 23 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i1!=-7,"error allocating memory"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 24 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3821:19: warning: 'molecule name not recognized' directive output truncated writing 28 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i1!=-4,"molecule name not recognized"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 29 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3820:19: warning: 'cannot read molecule state v...' directive output truncated writing 32 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i1!=-3,"cannot read molecule state value"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 33 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3819:19: warning: 'mismatched or improper paren...' directive output truncated writing 56 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i1!=-2,"mismatched or improper parentheses around molecule state"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 57 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3818:19: warning: 'species is missing or cannot...' directive output truncated writing 36 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i1!=-1,"species is missing or cannot be read"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 37 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdexpandsystem(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:4255:18: warning: 'missing arguments' directive output truncated writing 17 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(line2,"missing arguments"); ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 18 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:4259:23: warning: 'cannot read or wrong number ...' directive output truncated writing 47 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(itct==dim,"cannot read or wrong number of expansion values"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 48 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdmolpos(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2103:18: warning: 'error allocating memory' directive output truncated writing 23 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-7,"error allocating memory"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 24 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2102:33: warning: 'molecule name not recognized' directive output truncated writing 28 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-4 || sim->ruless,"molecule name not recognized"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 29 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2106:17: warning: 'file name not recognized' directive output truncated writing 24 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(fptr,"file name not recognized"); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 25 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2101:18: warning: 'cannot read molecule state v...' directive output truncated writing 32 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-3,"cannot read molecule state value"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 33 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2100:18: warning: 'mismatched or improper paren...' directive output truncated writing 56 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-2,"mismatched or improper parentheses around molecule state"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 57 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2099:18: warning: 'species is missing or cannot...' directive output truncated writing 36 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-1,"species is missing or cannot be read"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 37 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdmolcountinbox(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:915:21: warning: 'read failure' directive output truncated writing 12 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(itct==2,"read failure"); ^~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 13 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:913:19: warning: 'missing argument' directive output truncated writing 16 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(line2,"missing argument"); ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 17 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:918:17: warning: 'file name not recognized' directive output truncated writing 24 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(fptr,"file name not recognized"); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 25 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:910:22: warning: 'molecules are undefined' directive output truncated writing 23 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(sim->mols,"molecules are undefined"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 24 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:909:24: warning: 'error on setup' directive output truncated writing 14 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(cmd->i1!=-1,"error on setup"); // failed before, don't try again ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 15 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdmolcountincmpt(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:974:17: warning: 'file name not recognized' directive output truncated writing 24 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(fptr,"file name not recognized"); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 25 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:970:17: warning: 'compartment name not recogni' directive output truncated writing 31 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(c>=0,"compartment name not recognized"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 32 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:968:20: warning: 'cannot read argument' directive output truncated writing 20 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(itct==1,"cannot read argument"); ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 21 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:966:18: warning: 'missing argument' directive output truncated writing 16 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(line2,"missing argument"); ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 17 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:965:22: warning: 'molecules are undefined' directive output truncated writing 23 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(sim->mols,"molecules are undefined"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 24 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:964:19: warning: 'no compartments defined' directive output truncated writing 23 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(cmptss,"no compartments defined"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 24 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:962:24: warning: 'error on setup' directive output truncated writing 14 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(cmd->i1!=-1,"error on setup"); // failed before, don't try again ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 15 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdmolcountonsurf(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1146:17: warning: 'file name not recognized' directive output truncated writing 24 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(fptr,"file name not recognized"); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 25 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1142:17: warning: 'surface name '' directive output truncated writing 14 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(s>=0,"surface name '%s' not recognized",nm); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin___snprintf_chk' output between 31 and 286 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1140:20: warning: 'cannot read argument' directive output truncated writing 20 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(itct==1,"cannot read argument"); ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 21 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1138:18: warning: 'missing argument' directive output truncated writing 16 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(line2,"missing argument"); ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 17 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1137:22: warning: 'molecules are undefined' directive output truncated writing 23 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(sim->mols,"molecules are undefined"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 24 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1136:18: warning: 'no surfaces defined' directive output truncated writing 19 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(srfss,"no surfaces defined"); ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 20 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1134:24: warning: 'error on setup' directive output truncated writing 14 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(cmd->i1!=-1,"error on setup"); // failed before, don't try again ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 15 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolreact.c: In function 'char* rxnsernocode2string(long int, char*)': /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolreact.c:481:36: warning: '%li' directive output may be truncated writing between 1 and 10 bytes into a region of size 4 [-Wformat-truncation=] snprintf(pattern,sizeof(pattern),"%li",pserno); ^~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolreact.c:481:36: note: directive argument in the range [0, 2147483647] In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolreact.c:7: /usr/include/bits/stdio2.h:64:35: note: '__builtin___snprintf_chk' output between 2 and 11 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdmolcount(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:763:22: warning: 'molecules are undefined' directive output truncated writing 23 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(sim->mols,"molecules are undefined"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 24 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:762:17: warning: 'file name not recognized' directive output truncated writing 24 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(fptr,"file name not recognized"); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 25 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:760:24: warning: 'error on setup' directive output truncated writing 14 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(cmd->i1!=-1,"error on setup"); // failed before, don't try again ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 15 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'double fnmolcount(void*, char*, char*)': /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:834:17: warning: 'error allocating memory' directive output truncated writing 23 bytes into a region of size 4 [-Wformat-truncation=] SFNCHECK(i!=-7,"error allocating memory"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:13:74: note: in definition of macro 'SFNCHECK' #define SFNCHECK(A,...) if(!(A)) {if(erstr) snprintf(erstr,sizeof(erstr),__VA_ARGS__);return dblnan();} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 24 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:833:32: warning: 'molecule name not recognized' directive output truncated writing 28 bytes into a region of size 4 [-Wformat-truncation=] SFNCHECK(i!=-4 || sim->ruless,"molecule name not recognized"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:13:74: note: in definition of macro 'SFNCHECK' #define SFNCHECK(A,...) if(!(A)) {if(erstr) snprintf(erstr,sizeof(erstr),__VA_ARGS__);return dblnan();} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 29 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:832:17: warning: 'cannot read molecule state v...' directive output truncated writing 32 bytes into a region of size 4 [-Wformat-truncation=] SFNCHECK(i!=-3,"cannot read molecule state value"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:13:74: note: in definition of macro 'SFNCHECK' #define SFNCHECK(A,...) if(!(A)) {if(erstr) snprintf(erstr,sizeof(erstr),__VA_ARGS__);return dblnan();} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 33 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:831:17: warning: 'mismatched or improper paren...' directive output truncated writing 56 bytes into a region of size 4 [-Wformat-truncation=] SFNCHECK(i!=-2,"mismatched or improper parentheses around molecule state"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:13:74: note: in definition of macro 'SFNCHECK' #define SFNCHECK(A,...) if(!(A)) {if(erstr) snprintf(erstr,sizeof(erstr),__VA_ARGS__);return dblnan();} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 57 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:830:17: warning: 'species is missing or cannot...' directive output truncated writing 36 bytes into a region of size 4 [-Wformat-truncation=] SFNCHECK(i!=-1,"species is missing or cannot be read"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:13:74: note: in definition of macro 'SFNCHECK' #define SFNCHECK(A,...) if(!(A)) {if(erstr) snprintf(erstr,sizeof(erstr),__VA_ARGS__);return dblnan();} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 37 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'double fnmolcountonsurf(void*, char*, char*)': /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:878:17: warning: 'error allocating memory' directive output truncated writing 23 bytes into a region of size 4 [-Wformat-truncation=] SFNCHECK(i!=-7,"error allocating memory"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:13:74: note: in definition of macro 'SFNCHECK' #define SFNCHECK(A,...) if(!(A)) {if(erstr) snprintf(erstr,sizeof(erstr),__VA_ARGS__);return dblnan();} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 24 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:877:32: warning: 'molecule name not recognized' directive output truncated writing 28 bytes into a region of size 4 [-Wformat-truncation=] SFNCHECK(i!=-4 || sim->ruless,"molecule name not recognized"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:13:74: note: in definition of macro 'SFNCHECK' #define SFNCHECK(A,...) if(!(A)) {if(erstr) snprintf(erstr,sizeof(erstr),__VA_ARGS__);return dblnan();} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 29 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:883:16: warning: 'surface name '' directive output truncated writing 14 bytes into a region of size 4 [-Wformat-truncation=] SFNCHECK(s>=0,"surface name '%s' not recognized",nm); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:13:74: note: in definition of macro 'SFNCHECK' #define SFNCHECK(A,...) if(!(A)) {if(erstr) snprintf(erstr,sizeof(erstr),__VA_ARGS__);return dblnan();} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin___snprintf_chk' output between 31 and 286 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:881:19: warning: 'cannot read surface name' directive output truncated writing 24 bytes into a region of size 4 [-Wformat-truncation=] SFNCHECK(itct==1,"cannot read surface name"); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:13:74: note: in definition of macro 'SFNCHECK' #define SFNCHECK(A,...) if(!(A)) {if(erstr) snprintf(erstr,sizeof(erstr),__VA_ARGS__);return dblnan();} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 25 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:876:17: warning: 'cannot read molecule state v...' directive output truncated writing 32 bytes into a region of size 4 [-Wformat-truncation=] SFNCHECK(i!=-3,"cannot read molecule state value"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:13:74: note: in definition of macro 'SFNCHECK' #define SFNCHECK(A,...) if(!(A)) {if(erstr) snprintf(erstr,sizeof(erstr),__VA_ARGS__);return dblnan();} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 33 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:875:17: warning: 'mismatched or improper paren...' directive output truncated writing 56 bytes into a region of size 4 [-Wformat-truncation=] SFNCHECK(i!=-2,"mismatched or improper parentheses around molecule state"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:13:74: note: in definition of macro 'SFNCHECK' #define SFNCHECK(A,...) if(!(A)) {if(erstr) snprintf(erstr,sizeof(erstr),__VA_ARGS__);return dblnan();} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 57 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:874:17: warning: 'species is missing or cannot...' directive output truncated writing 36 bytes into a region of size 4 [-Wformat-truncation=] SFNCHECK(i!=-1,"species is missing or cannot be read"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:13:74: note: in definition of macro 'SFNCHECK' #define SFNCHECK(A,...) if(!(A)) {if(erstr) snprintf(erstr,sizeof(erstr),__VA_ARGS__);return dblnan();} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 37 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:871:60: warning: 'missing parameter' directive output truncated writing 17 bytes into a region of size 4 [-Wformat-truncation=] SFNCHECK((comma=strChrBrackets(line2,-1,',',"([{,\"'"))>0,"missing parameter"); ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:13:74: note: in definition of macro 'SFNCHECK' #define SFNCHECK(A,...) if(!(A)) {if(erstr) snprintf(erstr,sizeof(erstr),__VA_ARGS__);return dblnan();} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 18 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:869:17: warning: 'no surfaces defined' directive output truncated writing 19 bytes into a region of size 4 [-Wformat-truncation=] SFNCHECK(srfss,"no surfaces defined"); ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:13:74: note: in definition of macro 'SFNCHECK' #define SFNCHECK(A,...) if(!(A)) {if(erstr) snprintf(erstr,sizeof(erstr),__VA_ARGS__);return dblnan();} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 20 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdmolcountincmpts(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1032:17: warning: 'file name not recognized' directive output truncated writing 24 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(fptr,"file name not recognized"); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 25 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1030:19: warning: 'missing argument' directive output truncated writing 16 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(line2,"missing argument"); } ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 17 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1027:18: warning: 'compartment name not recogni���' directive output truncated writing 31 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(c>=0,"compartment name not recognized"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 32 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1025:21: warning: 'cannot read compartment name' directive output truncated writing 28 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(itct==1,"cannot read compartment name"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 29 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1022:21: warning: 'no compartment or no output ...' directive output truncated writing 39 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(ncmpt>=1,"no compartment or no output file listed"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 40 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1020:18: warning: 'missing argument' directive output truncated writing 16 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(line2,"missing argument"); ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 17 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1019:22: warning: 'molecules are undefined' directive output truncated writing 23 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(sim->mols,"molecules are undefined"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 24 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1018:19: warning: 'no compartments defined' directive output truncated writing 23 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(cmptss,"no compartments defined"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 24 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1016:24: warning: 'error on setup' directive output truncated writing 14 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(cmd->i1!=-1,"error on setup"); // failed before, don't try again ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 15 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdmolcountincmpt2(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1092:17: warning: 'file name not recognized' directive output truncated writing 24 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(fptr,"file name not recognized"); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 25 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1088:24: warning: 'bsoln molecule state not per...' directive output truncated writing 34 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(ms!=MSbsoln,"bsoln molecule state not permitted"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 35 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1087:23: warning: 'molecule state not recognize.' directive output truncated writing 29 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(ms!=MSnone,"molecule state not recognized"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 30 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1085:17: warning: 'compartment name not recogni...' directive output truncated writing 31 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(c>=0,"compartment name not recognized"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 32 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1083:20: warning: 'cannot read arguments' directive output truncated writing 21 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(itct==2,"cannot read arguments"); ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 22 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1081:18: warning: 'missing argument' directive output truncated writing 16 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(line2,"missing argument"); ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 17 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1080:22: warning: 'molecules are undefined' directive output truncated writing 23 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(sim->mols,"molecules are undefined"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 24 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1079:19: warning: 'no compartments defined' directive output truncated writing 23 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(cmptss,"no compartments defined"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 24 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1077:24: warning: 'error on setup' directive output truncated writing 14 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(cmd->i1!=-1,"error on setup"); // failed before, don't try again ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 15 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdkillmol(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3124:18: warning: 'error allocating memory' directive output truncated writing 23 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-7,"error allocating memory"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 24 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3123:33: warning: 'molecule name not recognized' directive output truncated writing 28 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-4 || sim->ruless,"molecule name not recognized"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 29 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3122:18: warning: 'cannot read molecule state v...' directive output truncated writing 32 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-3,"cannot read molecule state value"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 33 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3121:18: warning: 'mismatched or improper paren...' directive output truncated writing 56 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-2,"mismatched or improper parentheses around molecule state"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 57 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3120:18: warning: 'species is missing or cannot...' directive output truncated writing 36 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-1,"species is missing or cannot be read"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 37 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdkillmolincmpt(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3248:18: warning: 'error allocating memory' directive output truncated writing 23 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-7,"error allocating memory"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 24 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3247:33: warning: 'molecule name not recognized' directive output truncated writing 28 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-4 || sim->ruless,"molecule name not recognized"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 29 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3253:17: warning: 'compartment name not recogni�y�' directive output truncated writing 31 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(c>=0,"compartment name not recognized"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 32 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3251:20: warning: 'cannot read compartment name' directive output truncated writing 28 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(itct==1,"cannot read compartment name"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 29 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3249:36: warning: 'missing value argument' directive output truncated writing 22 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(line2=strnword(line2,2),"missing value argument"); ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 23 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3246:18: warning: 'cannot read molecule state v...' directive output truncated writing 32 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-3,"cannot read molecule state value"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 33 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3245:18: warning: 'mismatched or improper paren...' directive output truncated writing 56 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-2,"mismatched or improper parentheses around molecule state"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 57 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3244:18: warning: 'species is missing or cannot...' directive output truncated writing 36 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-1,"species is missing or cannot be read"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 37 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3242:18: warning: 'missing argument' directive output truncated writing 16 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(line2,"missing argument"); ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 17 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3241:22: warning: 'molecules are undefined' directive output truncated writing 23 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(sim->mols,"molecules are undefined"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 24 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3240:19: warning: 'no compartments defined' directive output truncated writing 23 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(cmptss,"no compartments defined"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 24 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdkillmoloutsidesystem(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3285:18: warning: 'error allocating memory' directive output truncated writing 23 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-7,"error allocating memory"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 24 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3284:33: warning: 'molecule name not recognized' directive output truncated writing 28 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-4 || sim->ruless,"molecule name not recognized"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 29 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3283:18: warning: 'cannot read molecule state v...' directive output truncated writing 32 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-3,"cannot read molecule state value"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 33 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3282:18: warning: 'mismatched or improper paren...' directive output truncated writing 56 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-2,"mismatched or improper parentheses around molecule state"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 57 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3281:18: warning: 'species is missing or cannot...' directive output truncated writing 36 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-1,"species is missing or cannot be read"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 37 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdreact1(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3939:18: warning: 'error allocating memory' directive output truncated writing 23 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-7,"error allocating memory"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 24 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3938:33: warning: 'molecule name not recognized' directive output truncated writing 28 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-4 || sim->ruless,"molecule name not recognized"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 29 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3947:17: warning: 'reaction not recognized' directive output truncated writing 23 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(r>=0,"reaction not recognized"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 24 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3945:26: warning: 'no first order reactions def...' directive output truncated writing 32 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(sim->rxnss[1],"no first order reactions defined"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 33 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3944:20: warning: 'cannot read reaction name' directive output truncated writing 25 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(itct==1,"cannot read reaction name"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 26 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3942:18: warning: 'reaction name is missing' directive output truncated writing 24 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(line2,"reaction name is missing"); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 25 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3940:22: warning: 'molecule state cannot be 'al..' directive output truncated writing 30 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(ms!=MSall,"molecule state cannot be 'all'"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 31 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3937:18: warning: 'cannot read molecule state v...' directive output truncated writing 32 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-3,"cannot read molecule state value"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 33 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3936:18: warning: 'mismatched or improper paren...' directive output truncated writing 56 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-2,"mismatched or improper parentheses around molecule state"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 57 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3935:18: warning: 'species is missing or cannot...' directive output truncated writing 36 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-1,"species is missing or cannot be read"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 37 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdpointsource(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2970:43: warning: 'not enough available molecul�y' directive output truncated writing 30 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(addmol(sim,num,i,pos,pos,1)==0,"not enough available molecules"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 31 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2969:27: warning: 'insufficient location dimens...' directive output truncated writing 32 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(itct==sim->dim,"insufficient location dimensions"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 33 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2965:18: warning: 'missing location' directive output truncated writing 16 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(line2,"missing location"); ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 17 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2963:17: warning: 'name not recognized' directive output truncated writing 19 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i>=1,"name not recognized"); ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 20 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2961:19: warning: 'number cannot be negative' directive output truncated writing 25 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(num>=0,"number cannot be negative"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 26 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2960:20: warning: 'read failure' directive output truncated writing 12 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(itct==2,"read failure"); ^~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 13 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdvolumesource(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2991:19: warning: 'missing argument' directive output truncated writing 16 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(line2,"missing argument"); ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 17 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2993:21: warning: 'read failure' directive output truncated writing 12 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(itct==2,"read failure"); ^~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 13 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2995:47: warning: 'not enough available molecul�y' directive output truncated writing 30 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(addmol(sim,num,i,poslo,poshi,1)==0,"not enough available molecules"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 31 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2989:18: warning: 'missing location' directive output truncated writing 16 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(line2,"missing location"); ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 17 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2987:17: warning: 'name not recognized' directive output truncated writing 19 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i>=1,"name not recognized"); ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 20 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2985:19: warning: 'number cannot be negative' directive output truncated writing 25 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(num>=0,"number cannot be negative"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 26 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2984:20: warning: 'read failure' directive output truncated writing 12 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(itct==2,"read failure"); ^~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 13 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolreact.c: In function 'int rxnsetrate(simptr, int, int, char*)': /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolreact.c:1376:50: warning: 'Both diffusion coefficients ...' directive output truncated writing 33 bytes into a region of size 4 [-Wformat-truncation=] else if(dsum<=0) {snprintf(erstr,sizeof(erstr),"Both diffusion coefficients are 0");return 4;} ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolreact.c:7: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 34 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolreact.c:1343:33: warning: 'reaction rate ' directive output truncated writing 14 bytes into a region of size 4 [-Wformat-truncation=] snprintf(erstr,sizeof(erstr),"reaction rate %s is undefined",rxn->rname); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolreact.c:7: /usr/include/bits/stdio2.h:64:35: note: '__builtin___snprintf_chk' output 28 or more bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolreact.c:1320:77: warning: 'reactions ' directive output truncated writing 10 bytes into a region of size 4 [-Wformat-truncation=] if(rxn->permit[ms1]!=rxn2->permit[ms1]) {snprintf(erstr,sizeof(erstr),"reactions %s and %s have the same reactant but different state permissions, which is not allowed",rxn->rname,rxn2->rname);return 2;} ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolreact.c:7: /usr/include/bits/stdio2.h:64:35: note: '__builtin___snprintf_chk' output 93 or more bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolreact.c:1332:70: warning: 'reaction ' directive output truncated writing 9 bytes into a region of size 4 [-Wformat-truncation=] if(!(rxn->prob>=0 && rxn->prob<=1)) {snprintf(erstr,sizeof(erstr),"reaction %s probability is %g, which is out of range",rxn->rname,rxn->prob);return 5;}} ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolreact.c:1332:70: note: assuming directive output of 12 bytes In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolreact.c:7: /usr/include/bits/stdio2.h:64:35: note: '__builtin___snprintf_chk' output 50 or more bytes (assuming 61) into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolreact.c:1310:49: warning: 'reaction ' directive output truncated writing 9 bytes into a region of size 4 [-Wformat-truncation=] if(rxn->rate<0) {snprintf(erstr,sizeof(erstr),"reaction %s rate is undefined",rxn->rname);return 1;} ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolreact.c:7: /usr/include/bits/stdio2.h:64:35: note: '__builtin___snprintf_chk' output 28 or more bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolreact.c:1302:49: warning: 'reaction ' directive output truncated writing 9 bytes into a region of size 4 [-Wformat-truncation=] if(rxn->rate<0) {snprintf(erstr,sizeof(erstr),"reaction %s rate is undefined",rxn->rname);return 1;} ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolreact.c:7: /usr/include/bits/stdio2.h:64:35: note: '__builtin___snprintf_chk' output 28 or more bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolreact.c:1298:49: warning: 'reaction ' directive output truncated writing 9 bytes into a region of size 4 [-Wformat-truncation=] if(rxn->rate<0) {snprintf(erstr,sizeof(erstr),"reaction %s rate is undefined",rxn->rname);return 1;} ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolreact.c:7: /usr/include/bits/stdio2.h:64:35: note: '__builtin___snprintf_chk' output 28 or more bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdfixmolcount(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3324:49: warning: 'not enough available molecul�y' directive output truncated writing 30 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(addmol(sim,num-ct,i,pos1,pos2,1)==0,"not enough available molecules"); } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 31 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3313:17: warning: 'name not recognized' directive output truncated writing 19 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i>=1,"name not recognized"); ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 20 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3311:19: warning: 'number cannot be negative' directive output truncated writing 25 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(num>=0,"number cannot be negative"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 26 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3310:20: warning: 'read failure' directive output truncated writing 12 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(itct==2,"read failure"); ^~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 13 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdfixmolcountrange(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3360:52: warning: 'not enough available molecul�y' directive output truncated writing 30 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(addmol(sim,lownum-ct,i,pos1,pos2,1)==0,"not enough available molecules"); } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 31 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3349:17: warning: 'species name not recognized' directive output truncated writing 27 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i>=1,"species name not recognized"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 28 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3347:55: warning: 'molecule numbers are out of ...' directive output truncated writing 34 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(lownum>=0 && highnum>=0 && highnum>=lownum,"molecule numbers are out of bounds"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 35 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3346:20: warning: 'read failure' directive output truncated writing 12 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(itct==3,"read failure"); ^~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 13 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdfixmolcountonsurf(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3408:67: warning: 'not enough available molecul�y' directive output truncated writing 30 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(addsurfmol(sim,num-ct,i,ms,NULL,NULL,s,PSall,NULL)==0,"not enough available molecules"); } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 31 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3396:17: warning: 'surface not recognized' directive output truncated writing 22 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(s>=0,"surface not recognized"); ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 23 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3394:23: warning: 'no surfaces defined' directive output truncated writing 19 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(sim->srfss,"no surfaces defined"); ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 20 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3393:19: warning: 'number cannot be negative' directive output truncated writing 25 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(num>=0,"number cannot be negative"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 26 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3392:20: warning: 'read failure' directive output truncated writing 12 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(itct==2,"read failure"); ^~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 13 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3390:18: warning: 'fixmolcountonsurf format: sp...' directive output truncated writing 55 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(line2,"fixmolcountonsurf format: species(state) number surface"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 56 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3388:38: warning: 'molecule state needs to be s...' directive output truncated writing 40 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(ms!=MSsoln && ms!=MSbsoln,"molecule state needs to be surface-bound"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 41 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3387:16: warning: 'molecule name needs to be fo...' directive output truncated writing 46 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i>0,"molecule name needs to be for a single species"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 47 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3386:18: warning: 'error allocating memory' directive output truncated writing 23 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-7,"error allocating memory"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 24 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3385:18: warning: 'molecule name not recognized' directive output truncated writing 28 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-4,"molecule name not recognized"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 29 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3384:18: warning: 'cannot read molecule state v...' directive output truncated writing 32 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-3,"cannot read molecule state value"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 33 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3383:18: warning: 'mismatched or improper paren...' directive output truncated writing 56 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-2,"mismatched or improper parentheses around molecule state"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 57 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3382:18: warning: 'species is missing or cannot...' directive output truncated writing 36 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-1,"species is missing or cannot be read"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 37 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolreact.c: In function 'int rxnsetproduct(simptr, int, int, char*)': /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolreact.c:1541:35: warning: 'Illegal input values' directive output truncated writing 20 bytes into a region of size 4 [-Wformat-truncation=] snprintf(erstr,sizeof(erstr),"Illegal input values");er=9; } ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolreact.c:7: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 21 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolreact.c:1533:35: warning: 'Maximum possible geminate bi...' directive output truncated writing 49 bytes into a region of size 4 [-Wformat-truncation=] snprintf(erstr,sizeof(erstr),"Maximum possible geminate binding probability is %g",-rpar);er=8; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolreact.c:1533:35: note: assuming directive output of 12 bytes In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolreact.c:7: /usr/include/bits/stdio2.h:64:35: note: '__builtin___snprintf_chk' output between 51 and 63 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolreact.c:1531:35: warning: 'Cannot create an unbinding r...' directive output truncated writing 61 bytes into a region of size 4 [-Wformat-truncation=] snprintf(erstr,sizeof(erstr),"Cannot create an unbinding radius due to illegal input values");er=7; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolreact.c:7: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 62 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolreact.c:1527:34: warning: 'Cannot set unbinding distanc...' directive output truncated writing 77 bytes into a region of size 4 [-Wformat-truncation=] snprintf(erstr,sizeof(erstr),"Cannot set unbinding distance because sum of product diffusion constants is 0");er=4; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolreact.c:7: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 78 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolreact.c:1517:34: warning: 'Binding radius of reaction p...' directive output truncated writing 48 bytes into a region of size 4 [-Wformat-truncation=] snprintf(erstr,sizeof(erstr),"Binding radius of reaction products is undefined");er=6; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolreact.c:7: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 49 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolreact.c:1511:34: warning: 'BUG: Undefined product place...' directive output truncated writing 56 bytes into a region of size 4 [-Wformat-truncation=] snprintf(erstr,sizeof(erstr),"BUG: Undefined product placement for reversible reaction");er=5; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolreact.c:7: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 57 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolreact.c:1495:34: warning: 'Illegal product parameter be...' directive output truncated writing 54 bytes into a region of size 4 [-Wformat-truncation=] snprintf(erstr,sizeof(erstr),"Illegal product parameter because products don't react");er=3; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolreact.c:7: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 55 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolreact.c:1443:33: warning: 'Illegal product parameter be...' directive output truncated writing 63 bytes into a region of size 4 [-Wformat-truncation=] snprintf(erstr,sizeof(erstr),"Illegal product parameter because reaction only has one product"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolreact.c:7: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 64 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolreact.c:1427:33: warning: 'Illegal product parameter be...' directive output truncated writing 58 bytes into a region of size 4 [-Wformat-truncation=] snprintf(erstr,sizeof(erstr),"Illegal product parameter because reaction has no products"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolreact.c:7: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 59 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdfixmolcountrangeonsurf(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3460:70: warning: 'not enough available molecul�y' directive output truncated writing 30 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(addsurfmol(sim,lownum-ct,i,ms,NULL,NULL,s,PSall,NULL)==0,"not enough available molecules"); } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 31 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3448:17: warning: 'surface not recognized' directive output truncated writing 22 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(s>=0,"surface not recognized"); ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 23 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3446:23: warning: 'no surfaces defined' directive output truncated writing 19 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(sim->srfss,"no surfaces defined"); ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 20 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3445:55: warning: 'molecule numbers are out of ...' directive output truncated writing 34 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(lownum>=0 && highnum>=0 && highnum>=lownum,"molecule numbers are out of bounds"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 35 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3444:20: warning: 'read failure' directive output truncated writing 12 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(itct==3,"read failure"); ^~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 13 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3442:18: warning: 'fixmolcountrangeonsurf forma...' directive output truncated writing 76 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(line2,"fixmolcountrangeonsurf format: species(state) low_number high_number surface"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 77 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3440:38: warning: 'molecule state needs to be s...' directive output truncated writing 40 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(ms!=MSsoln && ms!=MSbsoln,"molecule state needs to be surface-bound"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 41 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3439:16: warning: 'molecule name needs to be fo...' directive output truncated writing 46 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i>0,"molecule name needs to be for a single species"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 47 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3438:18: warning: 'error allocating memory' directive output truncated writing 23 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-7,"error allocating memory"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 24 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3437:18: warning: 'molecule name not recognized' directive output truncated writing 28 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-4,"molecule name not recognized"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 29 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3436:18: warning: 'cannot read molecule state v...' directive output truncated writing 32 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-3,"cannot read molecule state value"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 33 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3435:18: warning: 'mismatched or improper paren...' directive output truncated writing 56 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-2,"mismatched or improper parentheses around molecule state"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 57 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3434:18: warning: 'species is missing or cannot...' directive output truncated writing 36 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-1,"species is missing or cannot be read"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 37 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdfixmolcountincmpt(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3507:49: warning: 'not enough available molecul�y' directive output truncated writing 30 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(addcompartmol(sim,num-ct,i,cmpt)==0,"not enough available molecules"); } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 31 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3495:17: warning: 'compartment not recognized' directive output truncated writing 26 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(c>=0,"compartment not recognized"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 27 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3492:18: warning: 'compartment name missing' directive output truncated writing 24 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(line2,"compartment name missing"); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 25 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3490:17: warning: 'molecule name not recognized' directive output truncated writing 28 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i>=1,"molecule name not recognized"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 29 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3488:19: warning: 'number cannot be negative' directive output truncated writing 25 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(num>=0,"number cannot be negative"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 26 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3487:20: warning: 'read failure' directive output truncated writing 12 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(itct==2,"read failure"); ^~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 13 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3485:24: warning: 'compartments are undefined' directive output truncated writing 26 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(sim->cmptss,"compartments are undefined"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 27 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdfixmolcountrangeincmpt(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3553:52: warning: 'not enough available molecul�y' directive output truncated writing 30 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(addcompartmol(sim,lownum-ct,i,cmpt)==0,"not enough available molecules"); } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 31 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3541:17: warning: 'compartment not recognized' directive output truncated writing 26 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(c>=0,"compartment not recognized"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 27 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3538:18: warning: 'compartment name missing' directive output truncated writing 24 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(line2,"compartment name missing"); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 25 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3536:17: warning: 'molecule name not recognized' directive output truncated writing 28 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i>=1,"molecule name not recognized"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 29 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3534:20: warning: 'read failure' directive output truncated writing 12 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(itct==3,"read failure"); ^~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 13 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3532:24: warning: 'compartments are undefined' directive output truncated writing 26 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(sim->cmptss,"compartments are undefined"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 27 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdsetrateint(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3982:21: warning: 'reaction name not recognized' directive output truncated writing 28 bytes into a region of size 4 [-Wformat-truncation=] else SCMDCHECK(0,"reaction name not recognized"); }} ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 29 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3983:23: warning: 'internal rate cannot be nega...' directive output truncated writing 32 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(rateint>=0,"internal rate cannot be negative"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 33 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3972:20: warning: 'read failure' directive output truncated writing 12 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(itct==2,"read failure"); ^~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 13 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdshufflereactions(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:4026:28: warning: 'second species name not reco...' directive output truncated writing 34 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i2>=0 || i2==-5,"second species name not recognized"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 35 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:4024:28: warning: 'first species name not recog...' directive output truncated writing 33 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i1>=0 || i1==-5,"first species name not recognized"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 34 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:4022:20: warning: 'missing argument' directive output truncated writing 16 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(itct==2,"missing argument"); ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 17 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdporttransport(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:4076:20: warning: 'name of port2 is not recogni�y�' directive output truncated writing 31 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(prt2>=0,"name of port2 is not recognized"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 32 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 67%] Building CXX object CMakeFiles/smoldyn.dir/source/Smoldyn/smolrule.c.o /opt/rh/devtoolset-8/root/usr/bin/c++ -I/builddir/build/BUILD/smoldyn-2.61/source/lib -I/builddir/build/BUILD/smoldyn-2.61/source/Smoldyn -I/builddir/build/BUILD/smoldyn-2.61/source/NextSubVolume -I/builddir/build/BUILD/smoldyn-2.61/source/vtk -I/builddir/build/BUILD/smoldyn-2.61/build -isystem /usr/include/boost169/boost -isystem /usr/include/boost169 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -O2 -Wall -DNDEBUG -I/usr/include -o CMakeFiles/smoldyn.dir/source/Smoldyn/smolrule.c.o -c /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolrule.c In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:4074:20: warning: 'name of port1 is not recogni�y�' directive output truncated writing 31 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(prt1>=0,"name of port1 is not recognized"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 32 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:4072:20: warning: 'porttransport format: port1 ...' directive output truncated writing 33 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(itct==2,"porttransport format: port1 port2"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 34 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdsetreactionratemolcount(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:4222:19: warning: 'error allocating memory' directive output truncated writing 23 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-7,"error allocating memory"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 24 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:4221:34: warning: 'molecule name not recognized' directive output truncated writing 28 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-4 || sim->ruless,"molecule name not recognized"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 29 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:4220:19: warning: 'cannot read molecule state v...' directive output truncated writing 32 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-3,"cannot read molecule state value"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 33 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:4219:19: warning: 'mismatched or improper paren...' directive output truncated writing 56 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-2,"mismatched or improper parentheses around molecule state"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 57 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:4218:19: warning: 'species is missing or cannot...' directive output truncated writing 36 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-1,"species is missing or cannot be read"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 37 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:4216:23: warning: 'missing coefficient and/or s...' directive output truncated writing 45 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(itct==2,"missing coefficient and/or species parameters"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 46 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:4233:20: warning: 'error setting reaction rate' directive output truncated writing 27 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(er==0,"error setting reaction rate"); }} ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 28 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:4229:19: warning: 'error setting reaction rate' directive output truncated writing 27 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(er==0,"error setting reaction rate"); } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 28 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:4211:18: warning: 'unrecognized reaction name' directive output truncated writing 26 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(r>=0,"unrecognized reaction name"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 27 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:4209:21: warning: 'missing reaction name or coe...' directive output truncated writing 39 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(itct==2,"missing reaction name or coefficient c0"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 40 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdkillmolinsphere(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3203:18: warning: 'error allocating memory' directive output truncated writing 23 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-7,"error allocating memory"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 24 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3202:33: warning: 'molecule name not recognized' directive output truncated writing 28 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-4 || sim->ruless,"molecule name not recognized"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 29 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3211:18: warning: 'surface not recognized' directive output truncated writing 22 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(s>=0,"surface not recognized"); } ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 23 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3207:20: warning: 'cannot read surface name' directive output truncated writing 24 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(itct==1,"cannot read surface name"); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 25 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3205:18: warning: 'missing surface name' directive output truncated writing 20 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(line2,"missing surface name"); ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 21 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3201:18: warning: 'cannot read molecule state v...' directive output truncated writing 32 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-3,"cannot read molecule state value"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 33 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3200:18: warning: 'mismatched or improper paren...' directive output truncated writing 56 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-2,"mismatched or improper parentheses around molecule state"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 57 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3199:18: warning: 'species is missing or cannot...' directive output truncated writing 36 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-1,"species is missing or cannot be read"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 37 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdpause(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:327:64: warning: 'pause doesn't work without g...' directive output truncated writing 35 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(sim->graphss && sim->graphss->graphics!=0 && !tflag,"pause doesn't work without graphics"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 36 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdkeypress(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:345:18: warning: 'missing argument' directive output truncated writing 16 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(line2,"missing argument"); ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 17 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:349:64: warning: 'keypress doesn't work withou...' directive output truncated writing 38 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(sim->graphss && sim->graphss->graphics!=0 && !tflag,"keypress doesn't work without graphics"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 39 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:347:20: warning: 'cannot read character' directive output truncated writing 21 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(itct==1,"cannot read character"); ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 22 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdsetflag(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:360:18: warning: 'missing argument' directive output truncated writing 16 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(line2,"missing argument"); ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 17 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:362:20: warning: 'cannot read flag value' directive output truncated writing 22 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(itct==1,"cannot read flag value"); ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 23 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdsetrandseed(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:373:18: warning: 'missing argument' directive output truncated writing 16 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(line2,"missing argument"); ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 17 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:375:20: warning: 'cannot read seed' directive output truncated writing 16 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(itct==1,"cannot read seed"); ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 17 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdsetgraphics(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:393:19: warning: 'unrecognized graphics type' directive output truncated writing 26 bytes into a region of size 4 [-Wformat-truncation=] else SCMDCHECK(0,"unrecognized graphics type"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 27 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:390:20: warning: 'cannot read graphics type' directive output truncated writing 25 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(itct==1,"cannot read graphics type"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 26 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:388:18: warning: 'missing argument' directive output truncated writing 16 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(line2,"missing argument"); ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 17 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdsetgraphic_iter(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:406:19: warning: 'graphics iterations must be ' directive output truncated writing 30 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(iter>0,"graphics iterations must be >0"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 31 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:405:20: warning: 'cannot read graphics iterati' directive output truncated writing 31 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(itct==1,"cannot read graphics iterations"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 32 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:403:18: warning: 'missing argument' directive output truncated writing 16 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(line2,"missing argument"); ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 17 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdoverwrite(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:427:18: warning: 'missing argument' directive output truncated writing 16 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(line2,"missing argument"); ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 17 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:428:43: warning: 'failed to open file' directive output truncated writing 19 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(scmdoverwrite(sim->cmds,line2),"failed to open file"); ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 20 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdincrementfile(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:435:18: warning: 'missing argument' directive output truncated writing 16 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(line2,"missing argument"); ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 17 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:436:41: warning: 'failed to increment file' directive output truncated writing 24 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(scmdincfile(sim->cmds,line2),"failed to increment file"); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 25 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdecho(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:703:35: warning: 'no terminal quote on string' directive output truncated writing 27 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(termqt=strchr(str,'"'),"no terminal quote on string"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 28 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:700:36: warning: 'no starting quote on string' directive output truncated writing 27 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(line2=strchr(line2,'"'),"no starting quote on string"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 28 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:698:17: warning: 'file name not recognized' directive output truncated writing 24 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(fptr,"file name not recognized"); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 25 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdevaluate(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:726:17: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(!er,"%s",erstr); } ^~~~ ~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output between 1 and 256 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:722:18: warning: 'missing item to evaluate' directive output truncated writing 24 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(line2,"missing item to evaluate"); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 25 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:720:17: warning: 'file name not recognized' directive output truncated writing 24 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(fptr,"file name not recognized"); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 25 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdmolcountheader(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:740:22: warning: 'molecules are undefined' directive output truncated writing 23 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(sim->mols,"molecules are undefined"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 24 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:739:17: warning: 'file name not recognized' directive output truncated writing 24 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(fptr,"file name not recognized"); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 25 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdmolcountspecies(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1836:18: warning: 'error allocating memory' directive output truncated writing 23 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-7,"error allocating memory"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 24 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1835:33: warning: 'molecule name not recognized' directive output truncated writing 28 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-4 || sim->ruless,"molecule name not recognized"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 29 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1839:17: warning: 'file name not recognized' directive output truncated writing 24 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(fptr,"file name not recognized"); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 25 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1834:18: warning: 'cannot read molecule state v...' directive output truncated writing 32 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-3,"cannot read molecule state value"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 33 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1833:18: warning: 'mismatched or improper paren...' directive output truncated writing 56 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-2,"mismatched or improper parentheses around molecule state"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 57 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1832:18: warning: 'species is missing or cannot...' directive output truncated writing 36 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-1,"species is missing or cannot be read"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 37 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdmolcountspecieslist(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1863:19: warning: 'error allocating memory' directive output truncated writing 23 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-7,"error allocating memory"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 24 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1862:34: warning: 'molecule name not recognized' directive output truncated writing 28 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-4 || sim->ruless,"molecule name not recognized"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 29 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1861:19: warning: 'cannot read molecule state v...' directive output truncated writing 32 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-3,"cannot read molecule state value"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 33 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1860:19: warning: 'mismatched or improper paren...' directive output truncated writing 56 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-2,"mismatched or improper parentheses around molecule state"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 57 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1859:19: warning: 'species is missing or cannot...' directive output truncated writing 36 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-1,"species is missing or cannot be read"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 37 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1855:17: warning: 'file name not recognized' directive output truncated writing 24 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(fptr,"file name not recognized"); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 25 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdmollistsize(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1886:17: warning: 'file name not recognized' directive output truncated writing 24 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(fptr,"file name not recognized"); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 25 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1883:18: warning: 'molecule list name not recog...' directive output truncated writing 33 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(ll>=0,"molecule list name not recognized"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 34 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1881:44: warning: 'no molecule lists defined' directive output truncated writing 25 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(sim->mols && sim->mols->nlist>0,"no molecule lists defined"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 26 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:1880:20: warning: 'cannot read molecule list na..' directive output truncated writing 30 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(itct==1,"cannot read molecule list name"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 31 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdsavesim(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2232:17: warning: 'file name not recognized' directive output truncated writing 24 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(fptr,"file name not recognized"); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 25 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmddiagnostics(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2813:18: warning: 'missing argument' directive output truncated writing 16 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(line2,"missing argument"); ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 17 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2817:23: warning: 'diagnostic type not recogniz�y' directive output truncated writing 30 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(ss!=SSnone,"diagnostic type not recognized"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 31 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2815:20: warning: 'read failure' directive output truncated writing 12 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(itct==1,"read failure"); ^~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 13 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdexecutiontime(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2840:17: warning: 'file name not recognized' directive output truncated writing 24 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(fptr,"file name not recognized"); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 25 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdprintLattice(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2857:17: warning: 'file name not recognized' directive output truncated writing 24 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(fptr,"file name not recognized"); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 25 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdset(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2940:18: warning: 'missing argument' directive output truncated writing 16 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(line2,"missing argument"); ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 17 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2944:18: warning: 'missing statement text' directive output truncated writing 22 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(line2,"missing statement text"); ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 23 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2942:20: warning: 'missing statement' directive output truncated writing 17 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(itct==1,"missing statement"); ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 18 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdpointsource(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2957:18: warning: 'missing argument' directive output truncated writing 16 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(line2,"missing argument"); ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 17 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2958:22: warning: 'molecules are undefined' directive output truncated writing 23 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(sim->mols,"molecules are undefined"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 24 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdvolumesource(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2981:18: warning: 'missing argument' directive output truncated writing 16 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(line2,"missing argument"); ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 17 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2982:22: warning: 'molecules are undefined' directive output truncated writing 23 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(sim->mols,"molecules are undefined"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 24 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdgaussiansource(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3008:18: warning: 'missing argument' directive output truncated writing 16 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(line2,"missing argument"); ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 17 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3018:19: warning: 'missing argument' directive output truncated writing 16 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(line2,"missing argument"); ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 17 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3020:21: warning: 'read failure' directive output truncated writing 12 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(itct==2,"read failure"); ^~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 13 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3029:42: warning: 'not enough available molecul�y' directive output truncated writing 30 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(addmol(sim,1,i,pos,pos,0)==0,"not enough available molecules"); } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 31 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3016:18: warning: 'missing location' directive output truncated writing 16 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(line2,"missing location"); ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 17 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3014:17: warning: 'name not recognized' directive output truncated writing 19 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i>=1,"name not recognized"); ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 20 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3012:19: warning: 'number cannot be negative' directive output truncated writing 25 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(num>=0,"number cannot be negative"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 26 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3011:20: warning: 'read failure' directive output truncated writing 12 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(itct==2,"read failure"); ^~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 13 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3009:22: warning: 'molecules are undefined' directive output truncated writing 23 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(sim->mols,"molecules are undefined"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 24 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdfixmolcount(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3307:18: warning: 'missing argument' directive output truncated writing 16 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(line2,"missing argument"); ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 17 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3308:22: warning: 'molecules are undefined' directive output truncated writing 23 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(sim->mols,"molecules are undefined"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 24 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdfixmolcountrange(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3343:18: warning: 'missing argument' directive output truncated writing 16 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(line2,"missing argument"); ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 17 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3344:22: warning: 'molecules are undefined' directive output truncated writing 23 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(sim->mols,"molecules are undefined"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 24 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdfixmolcountonsurf(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3380:18: warning: 'missing argument' directive output truncated writing 16 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(line2,"missing argument"); ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 17 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdfixmolcountrangeonsurf(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3432:18: warning: 'missing argument' directive output truncated writing 16 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(line2,"missing argument"); ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 17 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdfixmolcountincmpt(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3483:18: warning: 'missing argument' directive output truncated writing 16 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(line2,"missing argument"); ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 17 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3484:22: warning: 'molecules are undefined' directive output truncated writing 23 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(sim->mols,"molecules are undefined"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 24 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdfixmolcountrangeincmpt(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3530:18: warning: 'missing argument' directive output truncated writing 16 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(line2,"missing argument"); ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 17 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3531:22: warning: 'molecules are undefined' directive output truncated writing 23 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(sim->mols,"molecules are undefined"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 24 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdreplacexyzmol(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3713:27: warning: 'insufficient dimensions ente��X' directive output truncated writing 31 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(itct==sim->dim,"insufficient dimensions entered"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 32 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3709:18: warning: 'missing position information' directive output truncated writing 28 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(line2,"missing position information"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 29 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3707:22: warning: 'molecule state cannot be 'al��' directive output truncated writing 30 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(ms!=MSall,"molecule state cannot be 'all'"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 31 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3706:16: warning: 'molecule name has to be for ...' directive output truncated writing 44 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i>0,"molecule name has to be for a single species"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 45 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3705:18: warning: 'error allocating memory' directive output truncated writing 23 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-7,"error allocating memory"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 24 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3704:18: warning: 'molecule name not recognized' directive output truncated writing 28 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-4,"molecule name not recognized"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 29 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3703:18: warning: 'cannot read molecule state v...' directive output truncated writing 32 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-3,"cannot read molecule state value"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 33 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3702:18: warning: 'mismatched or improper paren...' directive output truncated writing 56 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-2,"mismatched or improper parentheses around molecule state"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 57 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3701:18: warning: 'species is missing or cannot...' directive output truncated writing 36 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-1,"species is missing or cannot be read"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 37 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 70%] Building CXX object CMakeFiles/smoldyn.dir/source/Smoldyn/smolsim.c.o /opt/rh/devtoolset-8/root/usr/bin/c++ -I/builddir/build/BUILD/smoldyn-2.61/source/lib -I/builddir/build/BUILD/smoldyn-2.61/source/Smoldyn -I/builddir/build/BUILD/smoldyn-2.61/source/NextSubVolume -I/builddir/build/BUILD/smoldyn-2.61/source/vtk -I/builddir/build/BUILD/smoldyn-2.61/build -isystem /usr/include/boost169/boost -isystem /usr/include/boost169 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -O2 -Wall -DNDEBUG -I/usr/include -o CMakeFiles/smoldyn.dir/source/Smoldyn/smolsim.c.o -c /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolsim.c In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdreplacevolmol(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3767:32: warning: 'fraction out of bounds' directive output truncated writing 22 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(frac>=0 && frac<=1,"fraction out of bounds"); } ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 23 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3766:21: warning: 'cannot read fraction' directive output truncated writing 20 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(itct==1,"cannot read fraction"); ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 21 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3774:21: warning: 'read failure' directive output truncated writing 12 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(itct==2,"read failure"); ^~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 13 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3772:19: warning: 'missing argument' directive output truncated writing 16 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(line2,"missing argument"); ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 17 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3760:20: warning: 'cannot read fraction' directive output truncated writing 20 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(itct==1,"cannot read fraction"); ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 21 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3758:18: warning: 'missing fraction information' directive output truncated writing 28 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(line2,"missing fraction information"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 29 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3756:73: warning: 'cannot equilibrate between s...' directive output truncated writing 53 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK((ms1==MSsoln && ms2==MSsoln) || (ms1!=MSsoln && ms2!=MSsoln),"cannot equilibrate between solution and surface-bound"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 54 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3755:23: warning: 'molecule state cannot be 'al..' directive output truncated writing 30 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(ms2!=MSall,"molecule state cannot be 'all'"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 31 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3754:17: warning: 'molecule name has to be for ...' directive output truncated writing 44 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i2>0,"molecule name has to be for a single species"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 45 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3753:19: warning: 'error allocating memory' directive output truncated writing 23 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i2!=-7,"error allocating memory"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 24 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3752:19: warning: 'molecule name not recognized' directive output truncated writing 28 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i2!=-4,"molecule name not recognized"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 29 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3751:19: warning: 'cannot read molecule state v...' directive output truncated writing 32 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i2!=-3,"cannot read molecule state value"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 33 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3750:19: warning: 'mismatched or improper paren...' directive output truncated writing 56 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i2!=-2,"mismatched or improper parentheses around molecule state"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 57 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3749:19: warning: 'species is missing or cannot...' directive output truncated writing 36 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i2!=-1,"species is missing or cannot be read"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 37 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3746:23: warning: 'molecule state cannot be 'al..' directive output truncated writing 30 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(ms1!=MSall,"molecule state cannot be 'all'"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 31 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3745:17: warning: 'molecule name has to be for ...' directive output truncated writing 44 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i1>0,"molecule name has to be for a single species"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 45 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3744:19: warning: 'error allocating memory' directive output truncated writing 23 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i1!=-7,"error allocating memory"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 24 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3743:19: warning: 'molecule name not recognized' directive output truncated writing 28 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i1!=-4,"molecule name not recognized"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 29 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3742:19: warning: 'cannot read molecule state v...' directive output truncated writing 32 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i1!=-3,"cannot read molecule state value"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 33 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3741:19: warning: 'mismatched or improper paren...' directive output truncated writing 56 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i1!=-2,"mismatched or improper parentheses around molecule state"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 57 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3740:19: warning: 'species is missing or cannot...' directive output truncated writing 36 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i1!=-1,"species is missing or cannot be read"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 37 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdsetrateint(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3970:18: warning: 'missing argument' directive output truncated writing 16 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(line2,"missing argument"); ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 17 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdshufflemollist(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3996:18: warning: 'missing argument' directive output truncated writing 16 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(line2,"missing argument"); ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 17 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:4003:19: warning: 'list name not recognized' directive output truncated writing 24 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(ll>=0,"list name not recognized"); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 25 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3999:44: warning: 'no molecule lists' directive output truncated writing 17 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(sim->mols && sim->mols->nlist>0,"no molecule lists"); ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 18 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:3998:20: warning: 'read failure' directive output truncated writing 12 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(itct==1,"read failure"); ^~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 13 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdshufflereactions(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:4020:18: warning: 'missing argument' directive output truncated writing 16 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(line2,"missing argument"); ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 17 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdsettimestep(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:4051:18: warning: 'missing argument' directive output truncated writing 16 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(line2,"missing argument"); ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 17 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:4057:18: warning: 'error while setting the simu...' directive output truncated writing 44 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(er==0,"error while setting the simulation time step"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 45 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:4054:17: warning: 'time step must be >0' directive output truncated writing 20 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(dt>0,"time step must be >0"); ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 21 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:4053:20: warning: 'read failure' directive output truncated writing 12 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(itct==1,"read failure"); ^~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 13 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdporttransport(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:4069:18: warning: 'missing argument' directive output truncated writing 16 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(line2,"missing argument"); ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 17 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:4070:24: warning: 'no port superstructure is de...' directive output truncated writing 33 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(sim->portss,"no port superstructure is defined"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 34 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 72%] Building CXX object CMakeFiles/smoldyn.dir/source/Smoldyn/smolsurface.c.o /opt/rh/devtoolset-8/root/usr/bin/c++ -I/builddir/build/BUILD/smoldyn-2.61/source/lib -I/builddir/build/BUILD/smoldyn-2.61/source/Smoldyn -I/builddir/build/BUILD/smoldyn-2.61/source/NextSubVolume -I/builddir/build/BUILD/smoldyn-2.61/source/vtk -I/builddir/build/BUILD/smoldyn-2.61/build -isystem /usr/include/boost169/boost -isystem /usr/include/boost169 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -O2 -Wall -DNDEBUG -I/usr/include -o CMakeFiles/smoldyn.dir/source/Smoldyn/smolsurface.c.o -c /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolsurface.c In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdexcludebox(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:4098:21: warning: 'read failure' directive output truncated writing 12 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(itct==2,"read failure"); ^~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 13 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:4096:19: warning: 'missing argument' directive output truncated writing 16 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(line2,"missing argument"); ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 17 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdexcludesphere(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:4134:21: warning: 'failure reading center' directive output truncated writing 22 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(itct==1,"failure reading center"); ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 23 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:4132:19: warning: 'missing center argument' directive output truncated writing 23 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(line2,"missing center argument"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 24 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:4136:18: warning: 'missing radius' directive output truncated writing 14 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(line2,"missing radius"); ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 15 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:4138:20: warning: 'failure reading radius' directive output truncated writing 22 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(itct==1,"failure reading radius"); ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 23 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdsetreactionratemolcount(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:4207:18: warning: 'missing argument' directive output truncated writing 16 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(line2,"missing argument"); ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 17 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdtranslatecmpt(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:4313:18: warning: 'first argument should be com...' directive output truncated writing 41 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(line2,"first argument should be compartment name"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 42 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:4328:23: warning: 'cannot read translation valu...' directive output truncated writing 54 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(itct==dim,"cannot read translation values or wrong number of them"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 55 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:4324:36: warning: 'missing arguments for transl...' directive output truncated writing 40 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(line2=strnword(line2,2),"missing arguments for translation amount");; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 41 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:4322:20: warning: 'second argument should be co...' directive output truncated writing 36 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(itct==1,"second argument should be code value"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 37 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:4320:36: warning: 'second argument should be co...' directive output truncated writing 36 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(line2=strnword(line2,2),"second argument should be code value");; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 37 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:4317:17: warning: 'compartment name not recogni...' directive output truncated writing 31 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(c>=0,"compartment name not recognized"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 32 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:4315:20: warning: 'cannot read compartment name' directive output truncated writing 28 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(itct==1,"cannot read compartment name"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 29 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:4312:19: warning: 'no compartments defined' directive output truncated writing 23 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(cmptss,"no compartments defined"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 24 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmddiffusecmpt(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:4348:18: warning: 'first argument should be com...' directive output truncated writing 41 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(line2,"first argument should be compartment name"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 42 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:4374:23: warning: 'number of samples needs to b...' directive output truncated writing 32 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(nsample>0,"number of samples needs to be >0"); } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 33 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:4373:22: warning: 'bounding radius needs to be ..' directive output truncated writing 30 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(radius>0,"bounding radius needs to be >0"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 31 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:4372:29: warning: 'bounding compartment cannot ...' directive output truncated writing 65 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(cmptbound!=cmpt,"bounding compartment cannot be the same as the moving compartment"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 66 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:4370:18: warning: 'bounding compartment name no...' directive output truncated writing 40 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(c>=0,"bounding compartment name not recognized"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 41 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:4368:21: warning: 'cannot read bounding compart...' directive output truncated writing 71 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(itct==3,"cannot read bounding compartment name, radius, and/or number of samples"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 72 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:4363:23: warning: 'cannot read standard deviati...' directive output truncated writing 61 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(itct==dim,"cannot read standard deviation values or wrong number of them"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 62 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:4359:36: warning: 'missing arguments for standa...' directive output truncated writing 41 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(line2=strnword(line2,2),"missing arguments for standard deviations");; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 42 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:4357:20: warning: 'second argument should be co...' directive output truncated writing 36 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(itct==1,"second argument should be code value"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 37 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:4355:36: warning: 'second argument should be co...' directive output truncated writing 36 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(line2=strnword(line2,2),"second argument should be code value");; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 37 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:4352:17: warning: 'compartment name not recogni...' directive output truncated writing 31 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(c>=0,"compartment name not recognized"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 32 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:4350:20: warning: 'cannot read compartment name' directive output truncated writing 28 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(itct==1,"cannot read compartment name"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 29 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:4347:19: warning: 'no compartments defined' directive output truncated writing 23 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(cmptss,"no compartments defined"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 24 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdincludeecoli(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:4173:24: warning: 'system is not 3 dimensional' directive output truncated writing 27 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(sim->dim==3,"system is not 3 dimensional"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 28 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode docommand(void*, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:290:14: warning: 'command not recognized' directive output truncated writing 22 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(0,"command not recognized"); ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 23 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdifflag(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:453:18: warning: 'missing arguments' directive output truncated writing 17 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(line2,"missing arguments"); ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 18 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:456:42: warning: 'comparison symbol has to be ...' directive output truncated writing 38 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(ch=='<' || ch=='=' || ch=='>',"comparison symbol has to be <, =, or >"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 39 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:455:20: warning: 'cannot read comparison symbo...' directive output truncated writing 43 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(itct==2,"cannot read comparison symbol or flag value"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 44 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdifprob(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:469:18: warning: 'missing arguments' directive output truncated writing 17 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(line2,"missing arguments"); ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 18 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:472:27: warning: 'probability value needs to b...' directive output truncated writing 45 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(f1>=0 && f1<=1,"probability value needs to be between 0 and 1"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 46 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:471:20: warning: 'cannot read probability valu.' directive output truncated writing 29 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(itct==1,"cannot read probability value"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 30 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdifno(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:491:18: warning: 'error allocating memory' directive output truncated writing 23 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-7,"error allocating memory"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 24 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:490:33: warning: 'molecule name not recognized' directive output truncated writing 28 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-4 || sim->ruless,"molecule name not recognized"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 29 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:489:18: warning: 'cannot read molecule state v...' directive output truncated writing 32 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-3,"cannot read molecule state value"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 33 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:488:18: warning: 'mismatched or improper paren...' directive output truncated writing 56 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-2,"mismatched or improper parentheses around molecule state"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 57 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:487:18: warning: 'species is missing or cannot...' directive output truncated writing 36 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-1,"species is missing or cannot be read"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 37 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdifless(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:510:18: warning: 'error allocating memory' directive output truncated writing 23 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-7,"error allocating memory"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 24 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:509:33: warning: 'molecule name not recognized' directive output truncated writing 28 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-4 || sim->ruless,"molecule name not recognized"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 29 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:513:20: warning: 'cannot read value argument' directive output truncated writing 26 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(itct==1,"cannot read value argument"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 27 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:511:36: warning: 'missing value argument' directive output truncated writing 22 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(line2=strnword(line2,2),"missing value argument"); ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 23 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:508:18: warning: 'cannot read molecule state v...' directive output truncated writing 32 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-3,"cannot read molecule state value"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 33 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:507:18: warning: 'mismatched or improper paren...' directive output truncated writing 56 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-2,"mismatched or improper parentheses around molecule state"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 57 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:506:18: warning: 'species is missing or cannot...' directive output truncated writing 36 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-1,"species is missing or cannot be read"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 37 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdifmore(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:532:18: warning: 'error allocating memory' directive output truncated writing 23 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-7,"error allocating memory"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 24 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:531:33: warning: 'molecule name not recognized' directive output truncated writing 28 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-4 || sim->ruless,"molecule name not recognized"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 29 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:535:20: warning: 'cannot read value argument' directive output truncated writing 26 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(itct==1,"cannot read value argument"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 27 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:533:36: warning: 'missing value argument' directive output truncated writing 22 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(line2=strnword(line2,2),"missing value argument"); ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 23 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:530:18: warning: 'cannot read molecule state v...' directive output truncated writing 32 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-3,"cannot read molecule state value"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 33 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:529:18: warning: 'mismatched or improper paren...' directive output truncated writing 56 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-2,"mismatched or improper parentheses around molecule state"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 57 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:528:18: warning: 'species is missing or cannot...' directive output truncated writing 36 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-1,"species is missing or cannot be read"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 37 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdifincmpt(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:564:18: warning: 'error allocating memory' directive output truncated writing 23 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-7,"error allocating memory"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 24 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:563:33: warning: 'molecule name not recognized' directive output truncated writing 28 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-4 || sim->ruless,"molecule name not recognized"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 29 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:570:17: warning: 'compartment name not recogni�y�' directive output truncated writing 31 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(c>=0,"compartment name not recognized"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 32 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:568:42: warning: 'comparison symbol has to be ...' directive output truncated writing 38 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(ch=='<' || ch=='=' || ch=='>',"comparison symbol has to be <, =, or >"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 39 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:567:20: warning: 'cannot read symbol, value, a...' directive output truncated writing 55 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(itct==3,"cannot read symbol, value, and/or compartment arguments"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 56 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:565:36: warning: 'missing value argument' directive output truncated writing 22 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(line2=strnword(line2,2),"missing value argument"); ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 23 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:562:18: warning: 'cannot read molecule state v...' directive output truncated writing 32 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-3,"cannot read molecule state value"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 33 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:561:18: warning: 'mismatched or improper paren...' directive output truncated writing 56 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-2,"mismatched or improper parentheses around molecule state"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 57 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:560:18: warning: 'species is missing or cannot...' directive output truncated writing 36 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-1,"species is missing or cannot be read"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 37 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:558:18: warning: 'missing argument' directive output truncated writing 16 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(line2,"missing argument"); ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 17 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:557:22: warning: 'molecules are undefined' directive output truncated writing 23 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(sim->mols,"molecules are undefined"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 24 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:556:19: warning: 'no compartments defined' directive output truncated writing 23 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(cmptss,"no compartments defined"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 24 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdifchange(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:604:18: warning: 'error allocating memory' directive output truncated writing 23 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-7,"error allocating memory"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 24 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:603:33: warning: 'molecule name not recognized' directive output truncated writing 28 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-4 || sim->ruless,"molecule name not recognized"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 29 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:608:37: warning: 'missing conditional command' directive output truncated writing 27 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(line2=strnword(line2,3),"missing conditional command"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 28 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:607:20: warning: 'cannot read change or number...' directive output truncated writing 38 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(itct==2,"cannot read change or number arguments"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 39 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:605:36: warning: 'missing value argument' directive output truncated writing 22 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(line2=strnword(line2,2),"missing value argument"); ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 23 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:602:18: warning: 'cannot read molecule state v...' directive output truncated writing 32 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-3,"cannot read molecule state value"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 33 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:601:18: warning: 'mismatched or improper paren...' directive output truncated writing 56 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-2,"mismatched or improper parentheses around molecule state"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 57 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:600:18: warning: 'species is missing or cannot...' directive output truncated writing 36 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-1,"species is missing or cannot be read"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 37 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdif(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:633:37: warning: 'missing conditional command' directive output truncated writing 27 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(line2=strnword(line2,4),"missing conditional command"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 28 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:632:20: warning: 'cannot read command argument' directive output truncated writing 29 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(itct==3,"cannot read command arguments"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 30 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c: In function 'CMDcode cmdmeansqrdisp3(simptr, cmdptr, char*)': /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2544:18: warning: 'error allocating memory' directive output truncated writing 23 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-7,"error allocating memory"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 24 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2543:33: warning: 'molecule name not recognized' directive output truncated writing 28 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-4 || sim->ruless,"molecule name not recognized"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 29 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2564:32: warning: 'missing task to be accomplis...' directive output truncated writing 50 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(change<=0 || line2,"missing task to be accomplished if change is small"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 51 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2593:24: warning: 'insufficient allocated space' directive output truncated writing 28 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(ctrerstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 29 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2604:36: warning: 'not enough allocated space' directive output truncated writing 26 bytes into a region of size 4 [-Wformat-truncation=] if(cmd->i3==cmd->i1) {SCMDCHECK(0,"not enough allocated space");} ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 27 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2566:23: warning: 'error on setup' directive output truncated writing 14 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(cmd->i2!=2,"error on setup"); // failed before, don't try again ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 15 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2562:17: warning: 'file name not recognized' directive output truncated writing 24 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(fptr,"file name not recognized"); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 25 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2559:21: warning: 'max_mol has to be at least 1' directive output truncated writing 28 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(maxmol>0,"max_mol has to be at least 1"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 29 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2558:20: warning: 'cannot read start, report, m...' directive output truncated writing 57 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(itct==4,"cannot read start, report, max_mol, or change information"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 58 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2556:18: warning: 'insufficient arguments' directive output truncated writing 22 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(line2,"insufficient arguments"); ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 23 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2554:28: warning: 'invalid dimension value' directive output truncated writing 23 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(msddimdim,"invalid dimension value"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 24 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2548:20: warning: 'cannot read dimension inform...' directive output truncated writing 33 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(itct==1,"cannot read dimension information"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 34 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2546:18: warning: 'missing dimension informatio.' directive output truncated writing 29 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(line2,"missing dimension information"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 30 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2542:18: warning: 'cannot read molecule state v...' directive output truncated writing 32 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-3,"cannot read molecule state value"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 33 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2541:18: warning: 'mismatched or improper paren...' directive output truncated writing 56 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-2,"mismatched or improper parentheses around molecule state"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 57 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:19: /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:2540:18: warning: 'species is missing or cannot...' directive output truncated writing 36 bytes into a region of size 4 [-Wformat-truncation=] SCMDCHECK(i!=-1,"species is missing or cannot be read"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/lib/SimCommand.h:14:83: note: in definition of macro 'SCMDCHECK' #define SCMDCHECK(A,...) if(!(A)) {if(cmd) snprintf(cmd->erstr,sizeof(cmd->erstr),__VA_ARGS__);return CMDwarn;} else (void)0 ^~~~~~~~~~~ In file included from /usr/include/stdio.h:937, from /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolcmd.c:8: /usr/include/bits/stdio2.h:64:35: note: '__builtin_snprintf' output 37 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 75%] Building CXX object CMakeFiles/smoldyn.dir/source/Smoldyn/smolwall.c.o /opt/rh/devtoolset-8/root/usr/bin/c++ -I/builddir/build/BUILD/smoldyn-2.61/source/lib -I/builddir/build/BUILD/smoldyn-2.61/source/Smoldyn -I/builddir/build/BUILD/smoldyn-2.61/source/NextSubVolume -I/builddir/build/BUILD/smoldyn-2.61/source/vtk -I/builddir/build/BUILD/smoldyn-2.61/build -isystem /usr/include/boost169/boost -isystem /usr/include/boost169 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -O2 -Wall -DNDEBUG -I/usr/include -o CMakeFiles/smoldyn.dir/source/Smoldyn/smolwall.c.o -c /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smolwall.c [ 77%] Building CXX object CMakeFiles/smoldyn.dir/source/NextSubVolume/StructuredGrid.cpp.o /opt/rh/devtoolset-8/root/usr/bin/c++ -I/builddir/build/BUILD/smoldyn-2.61/source/lib -I/builddir/build/BUILD/smoldyn-2.61/source/Smoldyn -I/builddir/build/BUILD/smoldyn-2.61/source/NextSubVolume -I/builddir/build/BUILD/smoldyn-2.61/source/vtk -I/builddir/build/BUILD/smoldyn-2.61/build -isystem /usr/include/boost169/boost -isystem /usr/include/boost169 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -O2 -Wall -DNDEBUG -I/usr/include -o CMakeFiles/smoldyn.dir/source/NextSubVolume/StructuredGrid.cpp.o -c /builddir/build/BUILD/smoldyn-2.61/source/NextSubVolume/StructuredGrid.cpp [ 80%] Building CXX object CMakeFiles/smoldyn.dir/source/NextSubVolume/Species.cpp.o /opt/rh/devtoolset-8/root/usr/bin/c++ -I/builddir/build/BUILD/smoldyn-2.61/source/lib -I/builddir/build/BUILD/smoldyn-2.61/source/Smoldyn -I/builddir/build/BUILD/smoldyn-2.61/source/NextSubVolume -I/builddir/build/BUILD/smoldyn-2.61/source/vtk -I/builddir/build/BUILD/smoldyn-2.61/build -isystem /usr/include/boost169/boost -isystem /usr/include/boost169 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -O2 -Wall -DNDEBUG -I/usr/include -o CMakeFiles/smoldyn.dir/source/NextSubVolume/Species.cpp.o -c /builddir/build/BUILD/smoldyn-2.61/source/NextSubVolume/Species.cpp In file included from /builddir/build/BUILD/smoldyn-2.61/source/NextSubVolume/StructuredGrid.h:29, from /builddir/build/BUILD/smoldyn-2.61/source/NextSubVolume/StructuredGrid.cpp:8: /builddir/build/BUILD/smoldyn-2.61/source/NextSubVolume/Geometry.h: In member function 'Kairos::Rectangle Kairos::StructuredGrid::get_face_between(int, int) const': /builddir/build/BUILD/smoldyn-2.61/source/NextSubVolume/Geometry.h:219:21: warning: '' may be used uninitialized in this function [-Wmaybe-uninitialized] low(lower_corner) { ^ [ 82%] Building CXX object CMakeFiles/smoldyn.dir/source/NextSubVolume/ReactionEquation.cpp.o /opt/rh/devtoolset-8/root/usr/bin/c++ -I/builddir/build/BUILD/smoldyn-2.61/source/lib -I/builddir/build/BUILD/smoldyn-2.61/source/Smoldyn -I/builddir/build/BUILD/smoldyn-2.61/source/NextSubVolume -I/builddir/build/BUILD/smoldyn-2.61/source/vtk -I/builddir/build/BUILD/smoldyn-2.61/build -isystem /usr/include/boost169/boost -isystem /usr/include/boost169 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -O2 -Wall -DNDEBUG -I/usr/include -o CMakeFiles/smoldyn.dir/source/NextSubVolume/ReactionEquation.cpp.o -c /builddir/build/BUILD/smoldyn-2.61/source/NextSubVolume/ReactionEquation.cpp In file included from /opt/rh/devtoolset-8/root/usr/include/c++/8/vector:69, from /builddir/build/BUILD/smoldyn-2.61/source/NextSubVolume/Species.h:28, from /builddir/build/BUILD/smoldyn-2.61/source/NextSubVolume/ReactionEquation.h:28, from /builddir/build/BUILD/smoldyn-2.61/source/NextSubVolume/ReactionEquation.cpp:8: /opt/rh/devtoolset-8/root/usr/include/c++/8/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(std::vector<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {const Kairos::ReactionComponent&}; _Tp = Kairos::ReactionComponent; _Alloc = std::allocator]': /opt/rh/devtoolset-8/root/usr/include/c++/8/bits/vector.tcc:413:7: note: parameter passing for argument of type 'std::vector::iterator' {aka '__gnu_cxx::__normal_iterator >'} changed in GCC 7.1 vector<_Tp, _Alloc>:: ^~~~~~~~~~~~~~~~~~~ /opt/rh/devtoolset-8/root/usr/include/c++/8/bits/vector.tcc:413:7: note: parameter passing for argument of type 'std::vector::iterator' {aka '__gnu_cxx::__normal_iterator >'} changed in GCC 7.1 In file included from /opt/rh/devtoolset-8/root/usr/include/c++/8/vector:64, from /builddir/build/BUILD/smoldyn-2.61/source/NextSubVolume/Species.h:28, from /builddir/build/BUILD/smoldyn-2.61/source/NextSubVolume/ReactionEquation.h:28, from /builddir/build/BUILD/smoldyn-2.61/source/NextSubVolume/ReactionEquation.cpp:8: /opt/rh/devtoolset-8/root/usr/include/c++/8/bits/stl_vector.h: In function 'Kairos::ReactionSide& Kairos::operator+(Kairos::ReactionSide&, const Kairos::ReactionComponent&)': /opt/rh/devtoolset-8/root/usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 _M_realloc_insert(end(), __x); ^~~~~~~~~~~~~~~~~ /opt/rh/devtoolset-8/root/usr/include/c++/8/bits/stl_vector.h: In function 'Kairos::ReactionSide Kairos::operator+(const Kairos::ReactionComponent&, const Kairos::ReactionComponent&)': /opt/rh/devtoolset-8/root/usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 _M_realloc_insert(end(), __x); ^~~~~~~~~~~~~~~~~ /opt/rh/devtoolset-8/root/usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 _M_realloc_insert(end(), __x); ^~~~~~~~~~~~~~~~~ /opt/rh/devtoolset-8/root/usr/include/c++/8/bits/stl_vector.h: In function 'Kairos::ReactionSide Kairos::operator+(Kairos::Species&, const Kairos::ReactionComponent&)': /opt/rh/devtoolset-8/root/usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 _M_realloc_insert(end(), __x); ^~~~~~~~~~~~~~~~~ /opt/rh/devtoolset-8/root/usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 _M_realloc_insert(end(), __x); ^~~~~~~~~~~~~~~~~ /opt/rh/devtoolset-8/root/usr/include/c++/8/bits/stl_vector.h: In function 'Kairos::ReactionSide Kairos::operator+(const Kairos::ReactionComponent&, Kairos::Species&)': /opt/rh/devtoolset-8/root/usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 _M_realloc_insert(end(), __x); ^~~~~~~~~~~~~~~~~ /opt/rh/devtoolset-8/root/usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 _M_realloc_insert(end(), __x); ^~~~~~~~~~~~~~~~~ /opt/rh/devtoolset-8/root/usr/include/c++/8/bits/stl_vector.h: In function 'Kairos::ReactionSide Kairos::operator+(Kairos::Species&, Kairos::Species&)': /opt/rh/devtoolset-8/root/usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 _M_realloc_insert(end(), __x); ^~~~~~~~~~~~~~~~~ [ 85%] Building CXX object CMakeFiles/smoldyn.dir/source/NextSubVolume/NextSubvolumeMethod.cpp.o /opt/rh/devtoolset-8/root/usr/bin/c++ -I/builddir/build/BUILD/smoldyn-2.61/source/lib -I/builddir/build/BUILD/smoldyn-2.61/source/Smoldyn -I/builddir/build/BUILD/smoldyn-2.61/source/NextSubVolume -I/builddir/build/BUILD/smoldyn-2.61/source/vtk -I/builddir/build/BUILD/smoldyn-2.61/build -isystem /usr/include/boost169/boost -isystem /usr/include/boost169 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -O2 -Wall -DNDEBUG -I/usr/include -o CMakeFiles/smoldyn.dir/source/NextSubVolume/NextSubvolumeMethod.cpp.o -c /builddir/build/BUILD/smoldyn-2.61/source/NextSubVolume/NextSubvolumeMethod.cpp /opt/rh/devtoolset-8/root/usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 _M_realloc_insert(end(), __x); ^~~~~~~~~~~~~~~~~ /opt/rh/devtoolset-8/root/usr/include/c++/8/bits/stl_vector.h: In function 'Kairos::ReactionEquation Kairos::operator>>(int, const Kairos::ReactionComponent&)': /opt/rh/devtoolset-8/root/usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 _M_realloc_insert(end(), __x); ^~~~~~~~~~~~~~~~~ /opt/rh/devtoolset-8/root/usr/include/c++/8/bits/stl_vector.h: In function 'Kairos::ReactionEquation Kairos::operator>>(const Kairos::ReactionComponent&, int)': /opt/rh/devtoolset-8/root/usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 _M_realloc_insert(end(), __x); ^~~~~~~~~~~~~~~~~ /opt/rh/devtoolset-8/root/usr/include/c++/8/bits/stl_vector.h: In function 'Kairos::ReactionEquation Kairos::operator>>(int, Kairos::Species&)': /opt/rh/devtoolset-8/root/usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 _M_realloc_insert(end(), __x); ^~~~~~~~~~~~~~~~~ /opt/rh/devtoolset-8/root/usr/include/c++/8/bits/stl_vector.h: In function 'Kairos::ReactionEquation Kairos::operator>>(Kairos::Species&, int)': /opt/rh/devtoolset-8/root/usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 _M_realloc_insert(end(), __x); ^~~~~~~~~~~~~~~~~ /opt/rh/devtoolset-8/root/usr/include/c++/8/bits/stl_vector.h: In function 'Kairos::ReactionEquation Kairos::operator>>(const Kairos::ReactionSide&, const Kairos::ReactionComponent&)': /opt/rh/devtoolset-8/root/usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 _M_realloc_insert(end(), __x); ^~~~~~~~~~~~~~~~~ /opt/rh/devtoolset-8/root/usr/include/c++/8/bits/stl_vector.h: In function 'Kairos::ReactionEquation Kairos::operator>>(const Kairos::ReactionComponent&, const Kairos::ReactionSide&)': /opt/rh/devtoolset-8/root/usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 _M_realloc_insert(end(), __x); ^~~~~~~~~~~~~~~~~ /opt/rh/devtoolset-8/root/usr/include/c++/8/bits/stl_vector.h: In function 'Kairos::ReactionEquation Kairos::operator>>(const Kairos::ReactionComponent&, const Kairos::ReactionComponent&)': /opt/rh/devtoolset-8/root/usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 _M_realloc_insert(end(), __x); ^~~~~~~~~~~~~~~~~ /opt/rh/devtoolset-8/root/usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 _M_realloc_insert(end(), __x); ^~~~~~~~~~~~~~~~~ /opt/rh/devtoolset-8/root/usr/include/c++/8/bits/stl_vector.h: In function 'Kairos::ReactionEquation Kairos::operator>>(Kairos::Species&, const Kairos::ReactionSide&)': /opt/rh/devtoolset-8/root/usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 _M_realloc_insert(end(), __x); ^~~~~~~~~~~~~~~~~ /opt/rh/devtoolset-8/root/usr/include/c++/8/bits/stl_vector.h: In function 'Kairos::ReactionEquation Kairos::operator>>(const Kairos::ReactionSide&, Kairos::Species&)': /opt/rh/devtoolset-8/root/usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 _M_realloc_insert(end(), __x); ^~~~~~~~~~~~~~~~~ /opt/rh/devtoolset-8/root/usr/include/c++/8/bits/stl_vector.h: In function 'Kairos::ReactionEquation Kairos::operator>>(const Kairos::ReactionComponent&, Kairos::Species&)': /opt/rh/devtoolset-8/root/usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 _M_realloc_insert(end(), __x); ^~~~~~~~~~~~~~~~~ /opt/rh/devtoolset-8/root/usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 _M_realloc_insert(end(), __x); ^~~~~~~~~~~~~~~~~ /opt/rh/devtoolset-8/root/usr/include/c++/8/bits/stl_vector.h: In function 'Kairos::ReactionEquation Kairos::operator>>(Kairos::Species&, const Kairos::ReactionComponent&)': /opt/rh/devtoolset-8/root/usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 _M_realloc_insert(end(), __x); ^~~~~~~~~~~~~~~~~ /opt/rh/devtoolset-8/root/usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 _M_realloc_insert(end(), __x); ^~~~~~~~~~~~~~~~~ /opt/rh/devtoolset-8/root/usr/include/c++/8/bits/stl_vector.h: In function 'Kairos::ReactionEquation Kairos::operator>>(Kairos::Species&, Kairos::Species&)': /opt/rh/devtoolset-8/root/usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 _M_realloc_insert(end(), __x); ^~~~~~~~~~~~~~~~~ /opt/rh/devtoolset-8/root/usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 _M_realloc_insert(end(), __x); ^~~~~~~~~~~~~~~~~ In file included from /opt/rh/devtoolset-8/root/usr/include/c++/8/vector:69, from /builddir/build/BUILD/smoldyn-2.61/source/NextSubVolume/Species.h:28, from /builddir/build/BUILD/smoldyn-2.61/source/NextSubVolume/ReactionEquation.h:28, from /builddir/build/BUILD/smoldyn-2.61/source/NextSubVolume/ReactionEquation.cpp:8: /opt/rh/devtoolset-8/root/usr/include/c++/8/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(std::vector<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {Kairos::ReactionComponent}; _Tp = Kairos::ReactionComponent; _Alloc = std::allocator]': /opt/rh/devtoolset-8/root/usr/include/c++/8/bits/vector.tcc:413:7: note: parameter passing for argument of type 'std::vector::iterator' {aka '__gnu_cxx::__normal_iterator >'} changed in GCC 7.1 vector<_Tp, _Alloc>:: ^~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/smoldyn-2.61/source/NextSubVolume/ReactionEquation.cpp:8: /builddir/build/BUILD/smoldyn-2.61/source/NextSubVolume/ReactionEquation.h: In function 'Kairos::ReactionSide& Kairos::operator+(Kairos::ReactionSide&, Kairos::Species&)': /builddir/build/BUILD/smoldyn-2.61/source/NextSubVolume/ReactionEquation.h:41:11: warning: '.Kairos::ReactionComponent::tmp' may be used uninitialized in this function [-Wmaybe-uninitialized] tmp(arg.tmp){} ~~~~^~~ In file included from /opt/rh/devtoolset-8/root/usr/include/c++/8/vector:69, from /builddir/build/BUILD/smoldyn-2.61/source/NextSubVolume/Species.h:28, from /builddir/build/BUILD/smoldyn-2.61/source/NextSubVolume/ReactionEquation.h:28, from /builddir/build/BUILD/smoldyn-2.61/source/NextSubVolume/ReactionEquation.cpp:8: /opt/rh/devtoolset-8/root/usr/include/c++/8/bits/vector.tcc:109:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 _M_realloc_insert(end(), std::forward<_Args>(__args)...); ^~~~~~~~~~~~~~~~~ [ 87%] Building CXX object CMakeFiles/smoldyn.dir/source/NextSubVolume/Kairos.cpp.o /opt/rh/devtoolset-8/root/usr/bin/c++ -I/builddir/build/BUILD/smoldyn-2.61/source/lib -I/builddir/build/BUILD/smoldyn-2.61/source/Smoldyn -I/builddir/build/BUILD/smoldyn-2.61/source/NextSubVolume -I/builddir/build/BUILD/smoldyn-2.61/source/vtk -I/builddir/build/BUILD/smoldyn-2.61/build -isystem /usr/include/boost169/boost -isystem /usr/include/boost169 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -O2 -Wall -DNDEBUG -I/usr/include -o CMakeFiles/smoldyn.dir/source/NextSubVolume/Kairos.cpp.o -c /builddir/build/BUILD/smoldyn-2.61/source/NextSubVolume/Kairos.cpp [ 90%] Building CXX object CMakeFiles/smoldyn.dir/source/NextSubVolume/Io.cpp.o /opt/rh/devtoolset-8/root/usr/bin/c++ -I/builddir/build/BUILD/smoldyn-2.61/source/lib -I/builddir/build/BUILD/smoldyn-2.61/source/Smoldyn -I/builddir/build/BUILD/smoldyn-2.61/source/NextSubVolume -I/builddir/build/BUILD/smoldyn-2.61/source/vtk -I/builddir/build/BUILD/smoldyn-2.61/build -isystem /usr/include/boost169/boost -isystem /usr/include/boost169 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -O2 -Wall -DNDEBUG -I/usr/include -o CMakeFiles/smoldyn.dir/source/NextSubVolume/Io.cpp.o -c /builddir/build/BUILD/smoldyn-2.61/source/NextSubVolume/Io.cpp [ 92%] Building CXX object CMakeFiles/smoldyn.dir/source/NextSubVolume/Geometry.cpp.o /opt/rh/devtoolset-8/root/usr/bin/c++ -I/builddir/build/BUILD/smoldyn-2.61/source/lib -I/builddir/build/BUILD/smoldyn-2.61/source/Smoldyn -I/builddir/build/BUILD/smoldyn-2.61/source/NextSubVolume -I/builddir/build/BUILD/smoldyn-2.61/source/vtk -I/builddir/build/BUILD/smoldyn-2.61/build -isystem /usr/include/boost169/boost -isystem /usr/include/boost169 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -O2 -Wall -DNDEBUG -I/usr/include -o CMakeFiles/smoldyn.dir/source/NextSubVolume/Geometry.cpp.o -c /builddir/build/BUILD/smoldyn-2.61/source/NextSubVolume/Geometry.cpp [ 95%] Building CXX object CMakeFiles/smoldyn.dir/source/NextSubVolume/nsvc.cpp.o /opt/rh/devtoolset-8/root/usr/bin/c++ -I/builddir/build/BUILD/smoldyn-2.61/source/lib -I/builddir/build/BUILD/smoldyn-2.61/source/Smoldyn -I/builddir/build/BUILD/smoldyn-2.61/source/NextSubVolume -I/builddir/build/BUILD/smoldyn-2.61/source/vtk -I/builddir/build/BUILD/smoldyn-2.61/build -isystem /usr/include/boost169/boost -isystem /usr/include/boost169 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -O2 -Wall -DNDEBUG -I/usr/include -o CMakeFiles/smoldyn.dir/source/NextSubVolume/nsvc.cpp.o -c /builddir/build/BUILD/smoldyn-2.61/source/NextSubVolume/nsvc.cpp [ 97%] Building CXX object CMakeFiles/smoldyn.dir/source/Smoldyn/smoldyn.c.o /opt/rh/devtoolset-8/root/usr/bin/c++ -I/builddir/build/BUILD/smoldyn-2.61/source/lib -I/builddir/build/BUILD/smoldyn-2.61/source/Smoldyn -I/builddir/build/BUILD/smoldyn-2.61/source/NextSubVolume -I/builddir/build/BUILD/smoldyn-2.61/source/vtk -I/builddir/build/BUILD/smoldyn-2.61/build -isystem /usr/include/boost169/boost -isystem /usr/include/boost169 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -O2 -Wall -DNDEBUG -I/usr/include -o CMakeFiles/smoldyn.dir/source/Smoldyn/smoldyn.c.o -c /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smoldyn.c /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smoldyn.c: In function 'int main(int, char**)': /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smoldyn.c:45:9: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets(root,STRCHAR,stdin); ~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/smoldyn-2.61/source/Smoldyn/smoldyn.c:48:9: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets(flags,STRCHAR,stdin); ~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /opt/rh/devtoolset-8/root/usr/include/c++/8/vector:69, from /builddir/build/BUILD/smoldyn-2.61/source/NextSubVolume/NextSubvolumeMethod.h:28, from /builddir/build/BUILD/smoldyn-2.61/source/NextSubVolume/NextSubvolumeMethod.cpp:8: /opt/rh/devtoolset-8/root/usr/include/c++/8/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(std::vector<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {const Kairos::Vector&}; _Tp = Kairos::Vector; _Alloc = std::allocator >]': /opt/rh/devtoolset-8/root/usr/include/c++/8/bits/vector.tcc:413:7: note: parameter passing for argument of type 'std::vector >::iterator' {aka '__gnu_cxx::__normal_iterator*, std::vector > >'} changed in GCC 7.1 vector<_Tp, _Alloc>:: ^~~~~~~~~~~~~~~~~~~ /opt/rh/devtoolset-8/root/usr/include/c++/8/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(std::vector<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {double}; _Tp = double; _Alloc = std::allocator]': /opt/rh/devtoolset-8/root/usr/include/c++/8/bits/vector.tcc:413:7: note: parameter passing for argument of type 'std::vector::iterator' {aka '__gnu_cxx::__normal_iterator >'} changed in GCC 7.1 /opt/rh/devtoolset-8/root/usr/include/c++/8/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(std::vector<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {Kairos::ReactionComponent}; _Tp = Kairos::ReactionComponent; _Alloc = std::allocator]': /opt/rh/devtoolset-8/root/usr/include/c++/8/bits/vector.tcc:413:7: note: parameter passing for argument of type 'std::vector::iterator' {aka '__gnu_cxx::__normal_iterator >'} changed in GCC 7.1 /opt/rh/devtoolset-8/root/usr/include/c++/8/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {Kairos::ReactionComponent}; _Tp = Kairos::ReactionComponent; _Alloc = std::allocator]': /opt/rh/devtoolset-8/root/usr/include/c++/8/bits/vector.tcc:109:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 _M_realloc_insert(end(), std::forward<_Args>(__args)...); ^~~~~~~~~~~~~~~~~ /opt/rh/devtoolset-8/root/usr/include/c++/8/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(std::vector<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {Kairos::Vector}; _Tp = Kairos::Vector; _Alloc = std::allocator >]': /opt/rh/devtoolset-8/root/usr/include/c++/8/bits/vector.tcc:413:7: note: parameter passing for argument of type 'std::vector >::iterator' {aka '__gnu_cxx::__normal_iterator*, std::vector > >'} changed in GCC 7.1 vector<_Tp, _Alloc>:: ^~~~~~~~~~~~~~~~~~~ In file included from /opt/rh/devtoolset-8/root/usr/include/c++/8/vector:64, from /builddir/build/BUILD/smoldyn-2.61/source/NextSubVolume/NextSubvolumeMethod.h:28, from /builddir/build/BUILD/smoldyn-2.61/source/NextSubVolume/NextSubvolumeMethod.cpp:8: /opt/rh/devtoolset-8/root/usr/include/c++/8/bits/stl_vector.h: In member function 'void Kairos::NextSubvolumeMethod::react(Kairos::ReactionEquation&)': /opt/rh/devtoolset-8/root/usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator*, std::vector > >' changed in GCC 7.1 _M_realloc_insert(end(), __x); ^~~~~~~~~~~~~~~~~ /opt/rh/devtoolset-8/root/usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator*, std::vector > >' changed in GCC 7.1 _M_realloc_insert(end(), __x); ^~~~~~~~~~~~~~~~~ /opt/rh/devtoolset-8/root/usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator*, std::vector > >' changed in GCC 7.1 _M_realloc_insert(end(), __x); ^~~~~~~~~~~~~~~~~ In file included from /opt/rh/devtoolset-8/root/usr/include/c++/8/vector:69, from /builddir/build/BUILD/smoldyn-2.61/source/NextSubVolume/NextSubvolumeMethod.h:28, from /builddir/build/BUILD/smoldyn-2.61/source/NextSubVolume/NextSubvolumeMethod.cpp:8: /opt/rh/devtoolset-8/root/usr/include/c++/8/bits/vector.tcc:109:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator*, std::vector > >' changed in GCC 7.1 _M_realloc_insert(end(), std::forward<_Args>(__args)...); ^~~~~~~~~~~~~~~~~ /opt/rh/devtoolset-8/root/usr/include/c++/8/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(std::vector<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {Kairos::ReactionsWithSameRateAndLHS}; _Tp = Kairos::ReactionsWithSameRateAndLHS; _Alloc = std::allocator]': /opt/rh/devtoolset-8/root/usr/include/c++/8/bits/vector.tcc:413:7: note: parameter passing for argument of type 'std::vector::iterator' {aka '__gnu_cxx::__normal_iterator >'} changed in GCC 7.1 vector<_Tp, _Alloc>:: ^~~~~~~~~~~~~~~~~~~ /opt/rh/devtoolset-8/root/usr/include/c++/8/bits/vector.tcc:413:7: note: parameter passing for argument of type 'std::vector::iterator' {aka '__gnu_cxx::__normal_iterator >'} changed in GCC 7.1 /opt/rh/devtoolset-8/root/usr/include/c++/8/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(std::vector<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {Kairos::ReactionList}; _Tp = Kairos::ReactionList; _Alloc = std::allocator]': /opt/rh/devtoolset-8/root/usr/include/c++/8/bits/vector.tcc:413:7: note: parameter passing for argument of type 'std::vector::iterator' {aka '__gnu_cxx::__normal_iterator >'} changed in GCC 7.1 /opt/rh/devtoolset-8/root/usr/include/c++/8/bits/vector.tcc:413:7: note: parameter passing for argument of type 'std::vector::iterator' {aka '__gnu_cxx::__normal_iterator >'} changed in GCC 7.1 /opt/rh/devtoolset-8/root/usr/include/c++/8/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {Kairos::ReactionList}; _Tp = Kairos::ReactionList; _Alloc = std::allocator]': /opt/rh/devtoolset-8/root/usr/include/c++/8/bits/vector.tcc:109:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 _M_realloc_insert(end(), std::forward<_Args>(__args)...); ^~~~~~~~~~~~~~~~~ In file included from /opt/rh/devtoolset-8/root/usr/include/c++/8/algorithm:62, from /usr/include/boost169/boost/heap/fibonacci_heap.hpp:12, from /builddir/build/BUILD/smoldyn-2.61/source/NextSubVolume/NextSubvolumeMethod.h:35, from /builddir/build/BUILD/smoldyn-2.61/source/NextSubVolume/NextSubvolumeMethod.cpp:8: /opt/rh/devtoolset-8/root/usr/include/c++/8/bits/stl_algo.h: In function 'void std::__unguarded_linear_insert(_RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator >; _Compare = __gnu_cxx::__ops::_Val_less_iter]': /opt/rh/devtoolset-8/root/usr/include/c++/8/bits/stl_algo.h:1821:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 __unguarded_linear_insert(_RandomAccessIterator __last, ^~~~~~~~~~~~~~~~~~~~~~~~~ /opt/rh/devtoolset-8/root/usr/include/c++/8/bits/stl_algo.h: In function 'void std::__insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator >; _Compare = __gnu_cxx::__ops::_Iter_less_iter]': /opt/rh/devtoolset-8/root/usr/include/c++/8/bits/stl_algo.h:1840:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 __insertion_sort(_RandomAccessIterator __first, ^~~~~~~~~~~~~~~~ /opt/rh/devtoolset-8/root/usr/include/c++/8/bits/stl_algo.h:1840:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 In file included from /opt/rh/devtoolset-8/root/usr/include/c++/8/vector:69, from /builddir/build/BUILD/smoldyn-2.61/source/NextSubVolume/NextSubvolumeMethod.h:28, from /builddir/build/BUILD/smoldyn-2.61/source/NextSubVolume/NextSubvolumeMethod.cpp:8: /opt/rh/devtoolset-8/root/usr/include/c++/8/bits/vector.tcc: In member function 'std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::_M_erase(std::vector<_Tp, _Alloc>::iterator) [with _Tp = Kairos::ReactionsWithSameRateAndLHS; _Alloc = std::allocator]': /opt/rh/devtoolset-8/root/usr/include/c++/8/bits/vector.tcc:159:5: note: parameter passing for argument of type 'std::vector::iterator' {aka '__gnu_cxx::__normal_iterator >'} changed in GCC 7.1 vector<_Tp, _Alloc>:: ^~~~~~~~~~~~~~~~~~~ In file included from /opt/rh/devtoolset-8/root/usr/include/c++/8/vector:64, from /builddir/build/BUILD/smoldyn-2.61/source/NextSubVolume/NextSubvolumeMethod.h:28, from /builddir/build/BUILD/smoldyn-2.61/source/NextSubVolume/NextSubvolumeMethod.cpp:8: /opt/rh/devtoolset-8/root/usr/include/c++/8/bits/stl_vector.h: In member function 'double Kairos::ReactionList::delete_reaction(const Kairos::ReactionEquation&)': /opt/rh/devtoolset-8/root/usr/include/c++/8/bits/stl_vector.h:1318:58: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 { return _M_erase(begin() + (__position - cbegin())); } ^ In file included from /opt/rh/devtoolset-8/root/usr/include/c++/8/bits/stl_algo.h:61, from /opt/rh/devtoolset-8/root/usr/include/c++/8/algorithm:62, from /usr/include/boost169/boost/heap/fibonacci_heap.hpp:12, from /builddir/build/BUILD/smoldyn-2.61/source/NextSubVolume/NextSubvolumeMethod.h:35, from /builddir/build/BUILD/smoldyn-2.61/source/NextSubVolume/NextSubvolumeMethod.cpp:8: /opt/rh/devtoolset-8/root/usr/include/c++/8/bits/stl_heap.h: In function 'void std::__adjust_heap(_RandomAccessIterator, _Distance, _Distance, _Tp, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator >; _Distance = int; _Tp = Kairos::ReactionComponent; _Compare = __gnu_cxx::__ops::_Iter_less_iter]': /opt/rh/devtoolset-8/root/usr/include/c++/8/bits/stl_heap.h:214:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 __adjust_heap(_RandomAccessIterator __first, _Distance __holeIndex, ^~~~~~~~~~~~~ In file included from /opt/rh/devtoolset-8/root/usr/include/c++/8/algorithm:62, from /usr/include/boost169/boost/heap/fibonacci_heap.hpp:12, from /builddir/build/BUILD/smoldyn-2.61/source/NextSubVolume/NextSubvolumeMethod.h:35, from /builddir/build/BUILD/smoldyn-2.61/source/NextSubVolume/NextSubvolumeMethod.cpp:8: /opt/rh/devtoolset-8/root/usr/include/c++/8/bits/stl_algo.h: In function 'void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator >; _Size = int; _Compare = __gnu_cxx::__ops::_Iter_less_iter]': /opt/rh/devtoolset-8/root/usr/include/c++/8/bits/stl_algo.h:1940:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 __introsort_loop(_RandomAccessIterator __first, ^~~~~~~~~~~~~~~~ /opt/rh/devtoolset-8/root/usr/include/c++/8/bits/stl_algo.h:1940:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 /opt/rh/devtoolset-8/root/usr/include/c++/8/bits/stl_algo.h:1954:25: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 std::__introsort_loop(__cut, __last, __depth_limit, __comp); ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/rh/devtoolset-8/root/usr/include/c++/8/bits/stl_algo.h: In member function 'void Kairos::ReactionList::add_reaction(double, const Kairos::ReactionEquation&)': /opt/rh/devtoolset-8/root/usr/include/c++/8/bits/stl_algo.h:1968:25: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 std::__introsort_loop(__first, __last, ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ std::__lg(__last - __first) * 2, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __comp); ~~~~~~~ /opt/rh/devtoolset-8/root/usr/include/c++/8/bits/stl_algo.h:1885:25: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 std::__insertion_sort(__first, __first + int(_S_threshold), __comp); ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/rh/devtoolset-8/root/usr/include/c++/8/bits/stl_algo.h:1890:23: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 std::__insertion_sort(__first, __last, __comp); ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /opt/rh/devtoolset-8/root/usr/include/c++/8/vector:69, from /builddir/build/BUILD/smoldyn-2.61/source/NextSubVolume/NextSubvolumeMethod.h:28, from /builddir/build/BUILD/smoldyn-2.61/source/NextSubVolume/NextSubvolumeMethod.cpp:8: /opt/rh/devtoolset-8/root/usr/include/c++/8/bits/vector.tcc:109:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 _M_realloc_insert(end(), std::forward<_Args>(__args)...); ^~~~~~~~~~~~~~~~~ /opt/rh/devtoolset-8/root/usr/include/c++/8/bits/vector.tcc:109:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 _M_realloc_insert(end(), std::forward<_Args>(__args)...); ^~~~~~~~~~~~~~~~~ In file included from /opt/rh/devtoolset-8/root/usr/include/c++/8/vector:69, from /builddir/build/BUILD/smoldyn-2.61/source/NextSubVolume/Species.h:28, from /builddir/build/BUILD/smoldyn-2.61/source/NextSubVolume/Kairos.h:28, from /builddir/build/BUILD/smoldyn-2.61/source/NextSubVolume/nsvc.h:36, from /builddir/build/BUILD/smoldyn-2.61/source/NextSubVolume/nsvc.cpp:26: /opt/rh/devtoolset-8/root/usr/include/c++/8/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(std::vector<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {Kairos::ReactionComponent}; _Tp = Kairos::ReactionComponent; _Alloc = std::allocator]': /opt/rh/devtoolset-8/root/usr/include/c++/8/bits/vector.tcc:413:7: note: parameter passing for argument of type 'std::vector::iterator' {aka '__gnu_cxx::__normal_iterator >'} changed in GCC 7.1 vector<_Tp, _Alloc>:: ^~~~~~~~~~~~~~~~~~~ /opt/rh/devtoolset-8/root/usr/include/c++/8/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {Kairos::ReactionComponent}; _Tp = Kairos::ReactionComponent; _Alloc = std::allocator]': /opt/rh/devtoolset-8/root/usr/include/c++/8/bits/vector.tcc:109:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 _M_realloc_insert(end(), std::forward<_Args>(__args)...); ^~~~~~~~~~~~~~~~~ [100%] Linking CXX executable smoldyn /usr/bin/cmake3 -E cmake_link_script CMakeFiles/smoldyn.dir/link.txt --verbose=1 /opt/rh/devtoolset-8/root/usr/bin/c++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -O2 -Wall -DNDEBUG -I/usr/include -Wl,-z,relro -rdynamic CMakeFiles/smoldyn.dir/source/lib/Geometry.c.o CMakeFiles/smoldyn.dir/source/lib/List.c.o CMakeFiles/smoldyn.dir/source/lib/math2.c.o CMakeFiles/smoldyn.dir/source/lib/opengl2.c.o CMakeFiles/smoldyn.dir/source/lib/parse.c.o CMakeFiles/smoldyn.dir/source/lib/queue.c.o CMakeFiles/smoldyn.dir/source/lib/random2.c.o CMakeFiles/smoldyn.dir/source/lib/Rn.c.o CMakeFiles/smoldyn.dir/source/lib/RnSort.c.o CMakeFiles/smoldyn.dir/source/lib/rxnparam.c.o CMakeFiles/smoldyn.dir/source/lib/SimCommand.c.o CMakeFiles/smoldyn.dir/source/lib/Sphere.c.o CMakeFiles/smoldyn.dir/source/lib/string2.c.o CMakeFiles/smoldyn.dir/source/lib/SurfaceParam.c.o CMakeFiles/smoldyn.dir/source/lib/Zn.c.o CMakeFiles/smoldyn.dir/source/lib/SFMT/SFMT.c.o CMakeFiles/smoldyn.dir/source/Smoldyn/smolbng.c.o CMakeFiles/smoldyn.dir/source/Smoldyn/smolboxes.c.o CMakeFiles/smoldyn.dir/source/Smoldyn/smolcmd.c.o CMakeFiles/smoldyn.dir/source/Smoldyn/smolcomparts.c.o CMakeFiles/smoldyn.dir/source/Smoldyn/smolfilament.c.o CMakeFiles/smoldyn.dir/source/Smoldyn/smolgraphics.c.o CMakeFiles/smoldyn.dir/source/Smoldyn/smolmolec.c.o CMakeFiles/smoldyn.dir/source/Smoldyn/smolport.c.o CMakeFiles/smoldyn.dir/source/Smoldyn/smollattice.c.o CMakeFiles/smoldyn.dir/source/Smoldyn/smolreact.c.o CMakeFiles/smoldyn.dir/source/Smoldyn/smolrule.c.o CMakeFiles/smoldyn.dir/source/Smoldyn/smolsim.c.o CMakeFiles/smoldyn.dir/source/Smoldyn/smolsurface.c.o CMakeFiles/smoldyn.dir/source/Smoldyn/smolwall.c.o CMakeFiles/smoldyn.dir/source/NextSubVolume/StructuredGrid.cpp.o CMakeFiles/smoldyn.dir/source/NextSubVolume/Species.cpp.o CMakeFiles/smoldyn.dir/source/NextSubVolume/ReactionEquation.cpp.o CMakeFiles/smoldyn.dir/source/NextSubVolume/NextSubvolumeMethod.cpp.o CMakeFiles/smoldyn.dir/source/NextSubVolume/Kairos.cpp.o CMakeFiles/smoldyn.dir/source/NextSubVolume/Io.cpp.o CMakeFiles/smoldyn.dir/source/NextSubVolume/Geometry.cpp.o CMakeFiles/smoldyn.dir/source/NextSubVolume/nsvc.cpp.o CMakeFiles/smoldyn.dir/source/Smoldyn/smoldyn.c.o -o smoldyn -lGL -lGLU -lglut -lXmu -lXi -ltiff -lz make[2]: Leaving directory `/builddir/build/BUILD/smoldyn-2.61/build' [100%] Built target smoldyn make[1]: Leaving directory `/builddir/build/BUILD/smoldyn-2.61/build' /usr/bin/cmake3 -E cmake_progress_start /builddir/build/BUILD/smoldyn-2.61/build/CMakeFiles 0 ~/build/BUILD/smoldyn-2.61 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.cpBzTa + popd + exit 0 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/smoldyn-2.61-3.el7.arm '!=' / ']' + rm -rf /builddir/build/BUILDROOT/smoldyn-2.61-3.el7.arm ++ dirname /builddir/build/BUILDROOT/smoldyn-2.61-3.el7.arm + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/smoldyn-2.61-3.el7.arm + cd smoldyn-2.61 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/smoldyn-2.61-3.el7.arm -C build make: Entering directory `/builddir/build/BUILD/smoldyn-2.61/build' /usr/bin/cmake3 -S/builddir/build/BUILD/smoldyn-2.61 -B/builddir/build/BUILD/smoldyn-2.61/build --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake3 -E cmake_progress_start /builddir/build/BUILD/smoldyn-2.61/build/CMakeFiles /builddir/build/BUILD/smoldyn-2.61/build/CMakeFiles/progress.marks /usr/bin/make -f CMakeFiles/Makefile2 all make[1]: Entering directory `/builddir/build/BUILD/smoldyn-2.61/build' /usr/bin/make -f CMakeFiles/smoldyn.dir/build.make CMakeFiles/smoldyn.dir/depend make[2]: Entering directory `/builddir/build/BUILD/smoldyn-2.61/build' cd /builddir/build/BUILD/smoldyn-2.61/build && /usr/bin/cmake3 -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/smoldyn-2.61 /builddir/build/BUILD/smoldyn-2.61 /builddir/build/BUILD/smoldyn-2.61/build /builddir/build/BUILD/smoldyn-2.61/build /builddir/build/BUILD/smoldyn-2.61/build/CMakeFiles/smoldyn.dir/DependInfo.cmake --color= make[2]: Leaving directory `/builddir/build/BUILD/smoldyn-2.61/build' /usr/bin/make -f CMakeFiles/smoldyn.dir/build.make CMakeFiles/smoldyn.dir/build make[2]: Entering directory `/builddir/build/BUILD/smoldyn-2.61/build' make[2]: Nothing to be done for `CMakeFiles/smoldyn.dir/build'. make[2]: Leaving directory `/builddir/build/BUILD/smoldyn-2.61/build' [100%] Built target smoldyn make[1]: Leaving directory `/builddir/build/BUILD/smoldyn-2.61/build' /usr/bin/cmake3 -E cmake_progress_start /builddir/build/BUILD/smoldyn-2.61/build/CMakeFiles 0 /usr/bin/make -f CMakeFiles/Makefile2 preinstall make[1]: Entering directory `/builddir/build/BUILD/smoldyn-2.61/build' make[1]: Nothing to be done for `preinstall'. make[1]: Leaving directory `/builddir/build/BUILD/smoldyn-2.61/build' Install the project... /usr/bin/cmake3 -P cmake_install.cmake -- Install configuration: "Release" -- Installing: /builddir/build/BUILDROOT/smoldyn-2.61-3.el7.arm/usr/bin/smoldyn make: Leaving directory `/builddir/build/BUILD/smoldyn-2.61/build' + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 /builddir/build/BUILD/smoldyn-2.61 extracting debug info from /builddir/build/BUILDROOT/smoldyn-2.61-3.el7.arm/usr/bin/smoldyn dwz: Too few files for multifile optimization /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 3171 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: smoldyn-2.61-3.el7.armv7hl Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.JsNFzm + umask 022 + cd /builddir/build/BUILD + cd smoldyn-2.61 + DOCDIR=/builddir/build/BUILDROOT/smoldyn-2.61-3.el7.arm/usr/share/doc/smoldyn-2.61 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/smoldyn-2.61-3.el7.arm/usr/share/doc/smoldyn-2.61 + cp -pr source/lib/SFMT/SFMT-README.txt /builddir/build/BUILDROOT/smoldyn-2.61-3.el7.arm/usr/share/doc/smoldyn-2.61 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.EwLpcB + exit 0 + umask 022 + cd /builddir/build/BUILD + cd smoldyn-2.61 + LICENSEDIR=/builddir/build/BUILDROOT/smoldyn-2.61-3.el7.arm/usr/share/licenses/smoldyn-2.61 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/smoldyn-2.61-3.el7.arm/usr/share/licenses/smoldyn-2.61 + cp -pr License.txt /builddir/build/BUILDROOT/smoldyn-2.61-3.el7.arm/usr/share/licenses/smoldyn-2.61 + cp -pr source/lib/SFMT/SFMT-LICENSE.txt /builddir/build/BUILDROOT/smoldyn-2.61-3.el7.arm/usr/share/licenses/smoldyn-2.61 + exit 0 Provides: bundled(SFMT) = 1.3.3 smoldyn = 2.61-3.el7 smoldyn(armv7hl-32) = 2.61-3.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-armhf.so.3 ld-linux-armhf.so.3(GLIBC_2.4) libGL.so.1 libGLU.so.1 libXi.so.6 libXmu.so.6 libc.so.6 libc.so.6(GLIBC_2.4) libgcc_s.so.1 libgcc_s.so.1(GCC_3.5) libglut.so.3 libm.so.6 libm.so.6(GLIBC_2.4) libstdc++.so.6 libstdc++.so.6(CXXABI_1.3) libstdc++.so.6(CXXABI_ARM_1.3.3) libstdc++.so.6(GLIBCXX_3.4) libstdc++.so.6(GLIBCXX_3.4.11) libstdc++.so.6(GLIBCXX_3.4.9) libtiff.so.5 libtiff.so.5(LIBTIFF_4.0) libz.so.1 rtld(GNU_HASH) Processing files: smoldyn-doc-2.61-3.el7.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.b4UMHi + umask 022 + cd /builddir/build/BUILD + cd smoldyn-2.61 + DOCDIR=/builddir/build/BUILDROOT/smoldyn-2.61-3.el7.arm/usr/share/doc/smoldyn-doc-2.61 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/smoldyn-2.61-3.el7.arm/usr/share/doc/smoldyn-doc-2.61 + cp -pr documentation/BioNetGen documentation/SmolCrowd documentation/SmolEmulate documentation/Smoldyn documentation/libSteve documentation/wrl2smol /builddir/build/BUILDROOT/smoldyn-2.61-3.el7.arm/usr/share/doc/smoldyn-doc-2.61 + exit 0 Provides: smoldyn-doc = 2.61-3.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: smoldyn-debuginfo-2.61-3.el7.armv7hl Provides: smoldyn-debuginfo = 2.61-3.el7 smoldyn-debuginfo(armv7hl-32) = 2.61-3.el7 Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/smoldyn-2.61-3.el7.arm Wrote: /builddir/build/RPMS/smoldyn-2.61-3.el7.armv7hl.rpm Wrote: /builddir/build/RPMS/smoldyn-doc-2.61-3.el7.noarch.rpm Wrote: /builddir/build/RPMS/smoldyn-debuginfo-2.61-3.el7.armv7hl.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.4q4V2P + umask 022 + cd /builddir/build/BUILD + cd smoldyn-2.61 + /usr/bin/rm -rf /builddir/build/BUILDROOT/smoldyn-2.61-3.el7.arm + exit 0 Child return code was: 0