>>> Building on exopi-4 under cad/necpp DIST = [cad/necpp:necpp-1.2.3.tar.gz] FULLPKGNAME = necpp-1.2.3p8 distfiles size=674845 >>> Running build in cad/necpp at 1734771581.54 ===> cad/necpp ===> Building from scratch necpp-1.2.3p8 ===> Verifying specs: c m c++ c++abi pthread ===> found c.100.3 m.10.1 c++.10.0 c++abi.7.0 pthread.27.1 ===> Checking files for necpp-1.2.3p8 `/exopi-cvs/ports/distfiles/necpp-1.2.3.tar.gz' is up to date. >> (SHA256) all files: OK ===> Extracting for necpp-1.2.3p8 ===> Patching for necpp-1.2.3p8 ===> Applying OpenBSD patch patch-src_c_geometry_cpp Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: src/c_geometry.cpp |--- src/c_geometry.cpp.orig |+++ src/c_geometry.cpp -------------------------- Patching file src/c_geometry.cpp using Plan A... Hunk #1 succeeded at 20. done ===> Applying OpenBSD patch patch-src_nec2cpp_cpp Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: src/nec2cpp.cpp |--- src/nec2cpp.cpp.orig |+++ src/nec2cpp.cpp -------------------------- Patching file src/nec2cpp.cpp using Plan A... Hunk #1 succeeded at 51. done ===> Applying OpenBSD patch patch-src_safe_array_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: src/safe_array.h |--- src/safe_array.h.orig |+++ src/safe_array.h -------------------------- Patching file src/safe_array.h using Plan A... Hunk #1 succeeded at 19. done ===> Compiler link: clang -> /usr/bin/clang ===> Compiler link: clang++ -> /usr/bin/clang++ ===> Compiler link: cc -> /usr/bin/cc ===> Compiler link: c++ -> /usr/bin/c++ ===> Generating configure for necpp-1.2.3p8 ===> Configuring for necpp-1.2.3p8 Using /exopi-obj/pobj/necpp-1.2.3/config.site (generated) configure: loading site script /exopi-obj/pobj/necpp-1.2.3/config.site checking for a BSD-compatible install... /exopi-obj/pobj/necpp-1.2.3/bin/install -c checking whether build environment is sane... yes checking for gawk... (cached) awk checking whether make sets $(MAKE)... (cached) yes checking for C++ compiler default output file name... a.out checking whether the C++ compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... (cached) o checking whether we are using the GNU C++ compiler... (cached) yes checking whether c++ accepts -g... (cached) yes checking for style of include used by make... GNU checking dependency style of c++... gcc3 checking build system type... x86_64-unknown-openbsd7.6 checking host system type... x86_64-unknown-openbsd7.6 checking for gcc... cc checking whether we are using the GNU C compiler... (cached) yes checking whether cc accepts -g... (cached) yes checking for cc option to accept ANSI C... none needed checking dependency style of cc... gcc3 checking for a sed that does not truncate output... (cached) /usr/bin/sed checking for egrep... (cached) grep -E checking for ld used by cc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognise dependent libraries... file_magic ELF [0-9][0-9]*-bit [LM]SB shared object checking how to run the C preprocessor... cc -E checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking how to run the C++ preprocessor... c++ -E checking for g77... no checking for f77... no checking for xlf... no checking for frt... no checking for pgf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for f90... no checking for xlf90... no checking for pgf90... no checking for epcf90... no checking for f95... no checking for fort... no checking for xlf95... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for gfortran... no checking whether we are using the GNU Fortran 77 compiler... (cached) yes checking whether accepts -g... (cached) yes checking the maximum length of command line arguments... (cached) 131072 checking command to parse /usr/bin/nm -B output from cc object... ok checking for objdir... .libs checking for ar... (cached) ar checking for ranlib... (cached) ranlib checking for strip... (cached) strip checking if cc static flag works... yes checking if cc supports -fno-rtti -fno-exceptions... yes checking for cc option to produce PIC... -fPIC checking if cc PIC flag -fPIC works... yes checking if cc supports -c -o file.o... yes checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... yes checking dynamic linker characteristics... openbsd7.6 ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by c++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the c++ linker (/usr/bin/ld) supports shared libraries... no checking for c++ option to produce PIC... -fPIC checking if c++ PIC flag -fPIC works... yes checking if c++ supports -c -o file.o... yes checking whether the c++ linker (/usr/bin/ld) supports shared libraries... no checking dynamic linker characteristics... openbsd7.6 ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes appending configuration tag "F77" to libtool configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: executing depfiles commands ===> Building for necpp-1.2.3p8 /usr/bin/make all-recursive Making all in src if /usr/bin/libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I.. -O2 -pipe -MT c_evlcom.lo -MD -MP -MF ".deps/c_evlcom.Tpo" -c -o c_evlcom.lo `test -f 'c_evlcom.cpp' || echo './'`c_evlcom.cpp; then mv -f ".deps/c_evlcom.Tpo" ".deps/c_evlcom.Plo"; else rm -f ".deps/c_evlcom.Tpo"; exit 1; fi c++ -DHAVE_CONFIG_H -I. -I. -I.. -O2 -pipe -MT c_evlcom.lo -MD -MP -MF .deps/c_evlcom.Tpo -c c_evlcom.cpp -fPIC -DPIC -o .libs/c_evlcom.o c_evlcom.cpp:695:11: warning: Some strange code below. Why use the norm of a vector as an index? [-W#pragma-messages] #pragma message("Some strange code below. Why use the norm of a vector as an index?") ^ 1 warning generated. c++ -DHAVE_CONFIG_H -I. -I. -I.. -O2 -pipe -MT c_evlcom.lo -MD -MP -MF .deps/c_evlcom.Tpo -c c_evlcom.cpp -o c_evlcom.o c_evlcom.cpp:695:11: warning: Some strange code below. Why use the norm of a vector as an index? [-W#pragma-messages] #pragma message("Some strange code below. Why use the norm of a vector as an index?") ^ 1 warning generated. if /usr/bin/libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I.. -O2 -pipe -MT c_geometry.lo -MD -MP -MF ".deps/c_geometry.Tpo" -c -o c_geometry.lo `test -f 'c_geometry.cpp' || echo './'`c_geometry.cpp; then mv -f ".deps/c_geometry.Tpo" ".deps/c_geometry.Plo"; else rm -f ".deps/c_geometry.Tpo"; exit 1; fi c++ -DHAVE_CONFIG_H -I. -I. -I.. -O2 -pipe -MT c_geometry.lo -MD -MP -MF .deps/c_geometry.Tpo -c c_geometry.cpp -fPIC -DPIC -o .libs/c_geometry.o In file included from c_geometry.cpp:21: In file included from ./nec_context.h:28: In file included from ./nec_radiation_pattern.h:22: ./nec_results.h:324:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] oh.padding(" "); ^ ./nec_results.h:327:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] oh.padding(" "); oh.real_out(7,2, gain, false); oh.separator(); ^ ./nec_results.h:328:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] oh.padding(" "); oh.real_out(11,4, magnitude); ^ c_geometry.cpp:157:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "GW", "GX", "GR", "GS", "GE", "GM", \ ^ c_geometry.cpp:157:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "GW", "GX", "GR", "GS", "GE", "GM", \ ^ c_geometry.cpp:157:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "GW", "GX", "GR", "GS", "GE", "GM", \ ^ c_geometry.cpp:157:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "GW", "GX", "GR", "GS", "GE", "GM", \ ^ c_geometry.cpp:157:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "GW", "GX", "GR", "GS", "GE", "GM", \ ^ c_geometry.cpp:157:33: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "GW", "GX", "GR", "GS", "GE", "GM", \ ^ c_geometry.cpp:158:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "SP", "SM", "GA", "SC", "GH", "GF" ^ c_geometry.cpp:158:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "SP", "SM", "GA", "SC", "GH", "GF" ^ c_geometry.cpp:158:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "SP", "SM", "GA", "SC", "GH", "GF" ^ c_geometry.cpp:158:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "SP", "SM", "GA", "SC", "GH", "GF" ^ c_geometry.cpp:158:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "SP", "SM", "GA", "SC", "GH", "GF" ^ c_geometry.cpp:158:33: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "SP", "SM", "GA", "SC", "GH", "GF" ^ c_geometry.cpp:918:5: warning: use of unary operator that may be intended as compound assignment (-=) zx=- sth; ^~ c_geometry.cpp:1113:8: warning: use of unary operator that may be intended as compound assignment (-=) z[nx]=- e1; ^~ c_geometry.cpp:1116:9: warning: use of unary operator that may be intended as compound assignment (-=) z2[nx]=- e2; ^~ c_geometry.cpp:1162:10: warning: use of unary operator that may be intended as compound assignment (-=) pz[nx]=- pz[i]; ^~ c_geometry.cpp:1165:11: warning: use of unary operator that may be intended as compound assignment (-=) t1z[nx]=- t1z[i]; ^~ c_geometry.cpp:1168:11: warning: use of unary operator that may be intended as compound assignment (-=) t2z[nx]=- t2z[i]; ^~ c_geometry.cpp:1169:13: warning: use of unary operator that may be intended as compound assignment (-=) psalp[nx]=- psalp[i]; ^~ c_geometry.cpp:1213:9: warning: use of unary operator that may be intended as compound assignment (-=) y[nx]=- e1; ^~ c_geometry.cpp:1216:10: warning: use of unary operator that may be intended as compound assignment (-=) y2[nx]=- e2; ^~ c_geometry.cpp:1262:11: warning: use of unary operator that may be intended as compound assignment (-=) py[nx]=- py[i]; ^~ c_geometry.cpp:1265:12: warning: use of unary operator that may be intended as compound assignment (-=) t1y[nx]=- t1y[i]; ^~ c_geometry.cpp:1268:12: warning: use of unary operator that may be intended as compound assignment (-=) t2y[nx]=- t2y[i]; ^~ c_geometry.cpp:1270:14: warning: use of unary operator that may be intended as compound assignment (-=) psalp[nx]=- psalp[i]; ^~ c_geometry.cpp:1314:9: warning: use of unary operator that may be intended as compound assignment (-=) x[nx]=- e1; ^~ c_geometry.cpp:1317:10: warning: use of unary operator that may be intended as compound assignment (-=) x2[nx]=- e2; ^~ c_geometry.cpp:1362:10: warning: use of unary operator that may be intended as compound assignment (-=) px[nx]=- px[i]; ^~ c_geometry.cpp:1365:11: warning: use of unary operator that may be intended as compound assignment (-=) t1x[nx]=- t1x[i]; ^~ c_geometry.cpp:1368:11: warning: use of unary operator that may be intended as compound assignment (-=) t2x[nx]=- t2x[i]; ^~ c_geometry.cpp:1371:13: warning: use of unary operator that may be intended as compound assignment (-=) psalp[nx]=- psalp[i]; ^~ c_geometry.cpp:1831:7: warning: use of unary operator that may be intended as compound assignment (-=) ix=- ix; ^~ c_geometry.cpp:2297:28: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ( (line_buf[line_idx] == '\0') ) ~~~~~~~~~~~~~~~~~~~^~~~~~~ c_geometry.cpp:2297:28: note: remove extraneous parentheses around the comparison to silence this warning if ( (line_buf[line_idx] == '\0') ) ~ ^ ~ c_geometry.cpp:2297:28: note: use '=' to turn this equality comparison into an assignment if ( (line_buf[line_idx] == '\0') ) ^~ = c_geometry.cpp:2359:28: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ( (line_buf[line_idx] == '\0') ) ~~~~~~~~~~~~~~~~~~~^~~~~~~ c_geometry.cpp:2359:28: note: remove extraneous parentheses around the comparison to silence this warning if ( (line_buf[line_idx] == '\0') ) ~ ^ ~ c_geometry.cpp:2359:28: note: use '=' to turn this equality comparison into an assignment if ( (line_buf[line_idx] == '\0') ) ^~ = c_geometry.cpp:2452:9: warning: use of unary operator that may be intended as compound assignment (-=) jcox=- jcox; ^~ c_geometry.cpp:2456:9: warning: use of unary operator that may be intended as compound assignment (-=) jend=- jend; ^~ c_geometry.cpp:2502:14: warning: use of unary operator that may be intended as compound assignment (-=) bx[jsnox] =- bx[jsnox]; ^~ c_geometry.cpp:2508:5: warning: use of unary operator that may be intended as compound assignment (-=) pm=- pp; ^~ c_geometry.cpp:2698:8: warning: use of unary operator that may be intended as compound assignment (-=) jcox=- jcox; ^~ c_geometry.cpp:2700:8: warning: use of unary operator that may be intended as compound assignment (-=) jend=- jend; ^~ c_geometry.cpp:2799:9: warning: use of unary operator that may be intended as compound assignment (-=) jcox=- jcox; ^~ c_geometry.cpp:2802:8: warning: use of unary operator that may be intended as compound assignment (-=) sig=- sig; ^~ c_geometry.cpp:2803:9: warning: use of unary operator that may be intended as compound assignment (-=) jend=- jend; ^~ c_geometry.cpp:2853:8: warning: use of unary operator that may be intended as compound assignment (-=) *bb=- *bb; ^~ c_geometry.cpp:2859:5: warning: use of unary operator that may be intended as compound assignment (-=) pm=- pp; ^~ 48 warnings generated. c++ -DHAVE_CONFIG_H -I. -I. -I.. -O2 -pipe -MT c_geometry.lo -MD -MP -MF .deps/c_geometry.Tpo -c c_geometry.cpp -o c_geometry.o In file included from c_geometry.cpp:21: In file included from ./nec_context.h:28: In file included from ./nec_radiation_pattern.h:22: ./nec_results.h:324:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] oh.padding(" "); ^ ./nec_results.h:327:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] oh.padding(" "); oh.real_out(7,2, gain, false); oh.separator(); ^ ./nec_results.h:328:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] oh.padding(" "); oh.real_out(11,4, magnitude); ^ c_geometry.cpp:157:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "GW", "GX", "GR", "GS", "GE", "GM", \ ^ c_geometry.cpp:157:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "GW", "GX", "GR", "GS", "GE", "GM", \ ^ c_geometry.cpp:157:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "GW", "GX", "GR", "GS", "GE", "GM", \ ^ c_geometry.cpp:157:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "GW", "GX", "GR", "GS", "GE", "GM", \ ^ c_geometry.cpp:157:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "GW", "GX", "GR", "GS", "GE", "GM", \ ^ c_geometry.cpp:157:33: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "GW", "GX", "GR", "GS", "GE", "GM", \ ^ c_geometry.cpp:158:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "SP", "SM", "GA", "SC", "GH", "GF" ^ c_geometry.cpp:158:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "SP", "SM", "GA", "SC", "GH", "GF" ^ c_geometry.cpp:158:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "SP", "SM", "GA", "SC", "GH", "GF" ^ c_geometry.cpp:158:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "SP", "SM", "GA", "SC", "GH", "GF" ^ c_geometry.cpp:158:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "SP", "SM", "GA", "SC", "GH", "GF" ^ c_geometry.cpp:158:33: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "SP", "SM", "GA", "SC", "GH", "GF" ^ c_geometry.cpp:918:5: warning: use of unary operator that may be intended as compound assignment (-=) zx=- sth; ^~ c_geometry.cpp:1113:8: warning: use of unary operator that may be intended as compound assignment (-=) z[nx]=- e1; ^~ c_geometry.cpp:1116:9: warning: use of unary operator that may be intended as compound assignment (-=) z2[nx]=- e2; ^~ c_geometry.cpp:1162:10: warning: use of unary operator that may be intended as compound assignment (-=) pz[nx]=- pz[i]; ^~ c_geometry.cpp:1165:11: warning: use of unary operator that may be intended as compound assignment (-=) t1z[nx]=- t1z[i]; ^~ c_geometry.cpp:1168:11: warning: use of unary operator that may be intended as compound assignment (-=) t2z[nx]=- t2z[i]; ^~ c_geometry.cpp:1169:13: warning: use of unary operator that may be intended as compound assignment (-=) psalp[nx]=- psalp[i]; ^~ c_geometry.cpp:1213:9: warning: use of unary operator that may be intended as compound assignment (-=) y[nx]=- e1; ^~ c_geometry.cpp:1216:10: warning: use of unary operator that may be intended as compound assignment (-=) y2[nx]=- e2; ^~ c_geometry.cpp:1262:11: warning: use of unary operator that may be intended as compound assignment (-=) py[nx]=- py[i]; ^~ c_geometry.cpp:1265:12: warning: use of unary operator that may be intended as compound assignment (-=) t1y[nx]=- t1y[i]; ^~ c_geometry.cpp:1268:12: warning: use of unary operator that may be intended as compound assignment (-=) t2y[nx]=- t2y[i]; ^~ c_geometry.cpp:1270:14: warning: use of unary operator that may be intended as compound assignment (-=) psalp[nx]=- psalp[i]; ^~ c_geometry.cpp:1314:9: warning: use of unary operator that may be intended as compound assignment (-=) x[nx]=- e1; ^~ c_geometry.cpp:1317:10: warning: use of unary operator that may be intended as compound assignment (-=) x2[nx]=- e2; ^~ c_geometry.cpp:1362:10: warning: use of unary operator that may be intended as compound assignment (-=) px[nx]=- px[i]; ^~ c_geometry.cpp:1365:11: warning: use of unary operator that may be intended as compound assignment (-=) t1x[nx]=- t1x[i]; ^~ c_geometry.cpp:1368:11: warning: use of unary operator that may be intended as compound assignment (-=) t2x[nx]=- t2x[i]; ^~ c_geometry.cpp:1371:13: warning: use of unary operator that may be intended as compound assignment (-=) psalp[nx]=- psalp[i]; ^~ c_geometry.cpp:1831:7: warning: use of unary operator that may be intended as compound assignment (-=) ix=- ix; ^~ c_geometry.cpp:2297:28: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ( (line_buf[line_idx] == '\0') ) ~~~~~~~~~~~~~~~~~~~^~~~~~~ c_geometry.cpp:2297:28: note: remove extraneous parentheses around the comparison to silence this warning if ( (line_buf[line_idx] == '\0') ) ~ ^ ~ c_geometry.cpp:2297:28: note: use '=' to turn this equality comparison into an assignment if ( (line_buf[line_idx] == '\0') ) ^~ = c_geometry.cpp:2359:28: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ( (line_buf[line_idx] == '\0') ) ~~~~~~~~~~~~~~~~~~~^~~~~~~ c_geometry.cpp:2359:28: note: remove extraneous parentheses around the comparison to silence this warning if ( (line_buf[line_idx] == '\0') ) ~ ^ ~ c_geometry.cpp:2359:28: note: use '=' to turn this equality comparison into an assignment if ( (line_buf[line_idx] == '\0') ) ^~ = c_geometry.cpp:2452:9: warning: use of unary operator that may be intended as compound assignment (-=) jcox=- jcox; ^~ c_geometry.cpp:2456:9: warning: use of unary operator that may be intended as compound assignment (-=) jend=- jend; ^~ c_geometry.cpp:2502:14: warning: use of unary operator that may be intended as compound assignment (-=) bx[jsnox] =- bx[jsnox]; ^~ c_geometry.cpp:2508:5: warning: use of unary operator that may be intended as compound assignment (-=) pm=- pp; ^~ c_geometry.cpp:2698:8: warning: use of unary operator that may be intended as compound assignment (-=) jcox=- jcox; ^~ c_geometry.cpp:2700:8: warning: use of unary operator that may be intended as compound assignment (-=) jend=- jend; ^~ c_geometry.cpp:2799:9: warning: use of unary operator that may be intended as compound assignment (-=) jcox=- jcox; ^~ c_geometry.cpp:2802:8: warning: use of unary operator that may be intended as compound assignment (-=) sig=- sig; ^~ c_geometry.cpp:2803:9: warning: use of unary operator that may be intended as compound assignment (-=) jend=- jend; ^~ c_geometry.cpp:2853:8: warning: use of unary operator that may be intended as compound assignment (-=) *bb=- *bb; ^~ c_geometry.cpp:2859:5: warning: use of unary operator that may be intended as compound assignment (-=) pm=- pp; ^~ 48 warnings generated. if /usr/bin/libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I.. -O2 -pipe -MT c_ggrid.lo -MD -MP -MF ".deps/c_ggrid.Tpo" -c -o c_ggrid.lo `test -f 'c_ggrid.cpp' || echo './'`c_ggrid.cpp; then mv -f ".deps/c_ggrid.Tpo" ".deps/c_ggrid.Plo"; else rm -f ".deps/c_ggrid.Tpo"; exit 1; fi c++ -DHAVE_CONFIG_H -I. -I. -I.. -O2 -pipe -MT c_ggrid.lo -MD -MP -MF .deps/c_ggrid.Tpo -c c_ggrid.cpp -fPIC -DPIC -o .libs/c_ggrid.o c++ -DHAVE_CONFIG_H -I. -I. -I.. -O2 -pipe -MT c_ggrid.lo -MD -MP -MF .deps/c_ggrid.Tpo -c c_ggrid.cpp -o c_ggrid.o if /usr/bin/libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I.. -O2 -pipe -MT c_plot_card.lo -MD -MP -MF ".deps/c_plot_card.Tpo" -c -o c_plot_card.lo `test -f 'c_plot_card.cpp' || echo './'`c_plot_card.cpp; then mv -f ".deps/c_plot_card.Tpo" ".deps/c_plot_card.Plo"; else rm -f ".deps/c_plot_card.Tpo"; exit 1; fi c++ -DHAVE_CONFIG_H -I. -I. -I.. -O2 -pipe -MT c_plot_card.lo -MD -MP -MF .deps/c_plot_card.Tpo -c c_plot_card.cpp -fPIC -DPIC -o .libs/c_plot_card.o c++ -DHAVE_CONFIG_H -I. -I. -I.. -O2 -pipe -MT c_plot_card.lo -MD -MP -MF .deps/c_plot_card.Tpo -c c_plot_card.cpp -o c_plot_card.o if /usr/bin/libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I.. -O2 -pipe -MT libNEC.lo -MD -MP -MF ".deps/libNEC.Tpo" -c -o libNEC.lo `test -f 'libNEC.cpp' || echo './'`libNEC.cpp; then mv -f ".deps/libNEC.Tpo" ".deps/libNEC.Plo"; else rm -f ".deps/libNEC.Tpo"; exit 1; fi c++ -DHAVE_CONFIG_H -I. -I. -I.. -O2 -pipe -MT libNEC.lo -MD -MP -MF .deps/libNEC.Tpo -c libNEC.cpp -fPIC -DPIC -o .libs/libNEC.o In file included from libNEC.cpp:22: In file included from ./nec_context.h:28: In file included from ./nec_radiation_pattern.h:22: ./nec_results.h:324:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] oh.padding(" "); ^ ./nec_results.h:327:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] oh.padding(" "); oh.real_out(7,2, gain, false); oh.separator(); ^ ./nec_results.h:328:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] oh.padding(" "); oh.real_out(11,4, magnitude); ^ 3 warnings generated. c++ -DHAVE_CONFIG_H -I. -I. -I.. -O2 -pipe -MT libNEC.lo -MD -MP -MF .deps/libNEC.Tpo -c libNEC.cpp -o libNEC.o In file included from libNEC.cpp:22: In file included from ./nec_context.h:28: In file included from ./nec_radiation_pattern.h:22: ./nec_results.h:324:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] oh.padding(" "); ^ ./nec_results.h:327:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] oh.padding(" "); oh.real_out(7,2, gain, false); oh.separator(); ^ ./nec_results.h:328:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] oh.padding(" "); oh.real_out(11,4, magnitude); ^ 3 warnings generated. if /usr/bin/libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I.. -O2 -pipe -MT matrix_algebra.lo -MD -MP -MF ".deps/matrix_algebra.Tpo" -c -o matrix_algebra.lo `test -f 'matrix_algebra.cpp' || echo './'`matrix_algebra.cpp; then mv -f ".deps/matrix_algebra.Tpo" ".deps/matrix_algebra.Plo"; else rm -f ".deps/matrix_algebra.Tpo"; exit 1; fi c++ -DHAVE_CONFIG_H -I. -I. -I.. -O2 -pipe -MT matrix_algebra.lo -MD -MP -MF .deps/matrix_algebra.Tpo -c matrix_algebra.cpp -fPIC -DPIC -o .libs/matrix_algebra.o c++ -DHAVE_CONFIG_H -I. -I. -I.. -O2 -pipe -MT matrix_algebra.lo -MD -MP -MF .deps/matrix_algebra.Tpo -c matrix_algebra.cpp -o matrix_algebra.o if /usr/bin/libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I.. -O2 -pipe -MT misc.lo -MD -MP -MF ".deps/misc.Tpo" -c -o misc.lo `test -f 'misc.cpp' || echo './'`misc.cpp; then mv -f ".deps/misc.Tpo" ".deps/misc.Plo"; else rm -f ".deps/misc.Tpo"; exit 1; fi c++ -DHAVE_CONFIG_H -I. -I. -I.. -O2 -pipe -MT misc.lo -MD -MP -MF .deps/misc.Tpo -c misc.cpp -fPIC -DPIC -o .libs/misc.o c++ -DHAVE_CONFIG_H -I. -I. -I.. -O2 -pipe -MT misc.lo -MD -MP -MF .deps/misc.Tpo -c misc.cpp -o misc.o if /usr/bin/libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I.. -O2 -pipe -MT nec_context.lo -MD -MP -MF ".deps/nec_context.Tpo" -c -o nec_context.lo `test -f 'nec_context.cpp' || echo './'`nec_context.cpp; then mv -f ".deps/nec_context.Tpo" ".deps/nec_context.Plo"; else rm -f ".deps/nec_context.Tpo"; exit 1; fi c++ -DHAVE_CONFIG_H -I. -I. -I.. -O2 -pipe -MT nec_context.lo -MD -MP -MF .deps/nec_context.Tpo -c nec_context.cpp -fPIC -DPIC -o .libs/nec_context.o In file included from nec_context.cpp:20: In file included from ./nec_context.h:28: In file included from ./nec_radiation_pattern.h:22: ./nec_results.h:324:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] oh.padding(" "); ^ ./nec_results.h:327:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] oh.padding(" "); oh.real_out(7,2, gain, false); oh.separator(); ^ ./nec_results.h:328:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] oh.padding(" "); oh.real_out(11,4, magnitude); ^ nec_context.cpp:24:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] static char* hpol[3] = { "LINEAR", "RIGHT", "LEFT" }; ^ nec_context.cpp:24:36: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] static char* hpol[3] = { "LINEAR", "RIGHT", "LEFT" }; ^ nec_context.cpp:24:45: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] static char* hpol[3] = { "LINEAR", "RIGHT", "LEFT" }; ^ nec_context.cpp:1495:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char *pnet[3] = { " ", "STRAIGHT", " CROSSED" }; ^ nec_context.cpp:1495:32: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char *pnet[3] = { " ", "STRAIGHT", " CROSSED" }; ^ nec_context.cpp:1495:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char *pnet[3] = { " ", "STRAIGHT", " CROSSED" }; ^ nec_context.cpp:2232:40: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] zli[istepx], zlc[istepx],0.,0.,0.," SERIES "); ^ nec_context.cpp:2237:40: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] zli[istepx], zlc[istepx],0.,0.,0.,"PARALLEL"); ^ nec_context.cpp:2242:41: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] zli[istepx], zlc[istepx],0.,0.,0., "SERIES (PER METER)"); ^ nec_context.cpp:2247:40: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] zli[istepx], zlc[istepx],0.,0.,0.,"PARALLEL (PER METER)"); ^ nec_context.cpp:2252:34: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] zlr[istepx], zli[istepx],0.,"FIXED IMPEDANCE "); ^ nec_context.cpp:2257:34: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 0.,0.,0.,0.,0., zlr[istepx]," WIRE "); ^ nec_context.cpp:2573:3: warning: weird problem to test here. replaced loop variable called ip [-W#warnings] #warning weird problem to test here. replaced loop variable called ip ^ nec_context.cpp:3331:7: warning: use of unary operator that may be intended as compound assignment (-=) salpr=- salpj; ^~ nec_context.cpp:3347:6: warning: use of unary operator that may be intended as compound assignment (-=) rh=- rh; ^~ nec_context.cpp:3612:5: warning: use of unary operator that may be intended as compound assignment (-=) wz=- cth; ^~ nec_context.cpp:4188:6: warning: use of unary operator that may be intended as compound assignment (-=) rfl=- rfl; ^~ nec_context.cpp:4283:6: warning: use of unary operator that may be intended as compound assignment (-=) rfl=- rfl; ^~ nec_context.cpp:4421:6: warning: use of unary operator that may be intended as compound assignment (-=) zp=- zpx; ^~ nec_context.cpp:5913:7: warning: use of unary operator that may be intended as compound assignment (-=) ipr=- ipr; ^~ nec_context.cpp:6392:6: warning: use of unary operator that may be intended as compound assignment (-=) zr =- zr; ^~ nec_context.cpp:6749:5: warning: use of unary operator that may be intended as compound assignment (-=) phx=- sin( phi); ^~ nec_context.cpp:6801:7: warning: use of unary operator that may be intended as compound assignment (-=) rfl=- rfl; ^~ nec_context.cpp:6894:5: warning: use of unary operator that may be intended as compound assignment (-=) phx=- sin( phi); ^~ nec_context.cpp:6900:5: warning: use of unary operator that may be intended as compound assignment (-=) thz=- sin( thet); ^~ nec_context.cpp:6945:6: warning: use of unary operator that may be intended as compound assignment (-=) roz=- roz; ^~ 29 warnings generated. c++ -DHAVE_CONFIG_H -I. -I. -I.. -O2 -pipe -MT nec_context.lo -MD -MP -MF .deps/nec_context.Tpo -c nec_context.cpp -o nec_context.o In file included from nec_context.cpp:20: In file included from ./nec_context.h:28: In file included from ./nec_radiation_pattern.h:22: ./nec_results.h:324:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] oh.padding(" "); ^ ./nec_results.h:327:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] oh.padding(" "); oh.real_out(7,2, gain, false); oh.separator(); ^ ./nec_results.h:328:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] oh.padding(" "); oh.real_out(11,4, magnitude); ^ nec_context.cpp:24:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] static char* hpol[3] = { "LINEAR", "RIGHT", "LEFT" }; ^ nec_context.cpp:24:36: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] static char* hpol[3] = { "LINEAR", "RIGHT", "LEFT" }; ^ nec_context.cpp:24:45: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] static char* hpol[3] = { "LINEAR", "RIGHT", "LEFT" }; ^ nec_context.cpp:1495:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char *pnet[3] = { " ", "STRAIGHT", " CROSSED" }; ^ nec_context.cpp:1495:32: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char *pnet[3] = { " ", "STRAIGHT", " CROSSED" }; ^ nec_context.cpp:1495:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char *pnet[3] = { " ", "STRAIGHT", " CROSSED" }; ^ nec_context.cpp:2232:40: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] zli[istepx], zlc[istepx],0.,0.,0.," SERIES "); ^ nec_context.cpp:2237:40: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] zli[istepx], zlc[istepx],0.,0.,0.,"PARALLEL"); ^ nec_context.cpp:2242:41: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] zli[istepx], zlc[istepx],0.,0.,0., "SERIES (PER METER)"); ^ nec_context.cpp:2247:40: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] zli[istepx], zlc[istepx],0.,0.,0.,"PARALLEL (PER METER)"); ^ nec_context.cpp:2252:34: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] zlr[istepx], zli[istepx],0.,"FIXED IMPEDANCE "); ^ nec_context.cpp:2257:34: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 0.,0.,0.,0.,0., zlr[istepx]," WIRE "); ^ nec_context.cpp:2573:3: warning: weird problem to test here. replaced loop variable called ip [-W#warnings] #warning weird problem to test here. replaced loop variable called ip ^ nec_context.cpp:3331:7: warning: use of unary operator that may be intended as compound assignment (-=) salpr=- salpj; ^~ nec_context.cpp:3347:6: warning: use of unary operator that may be intended as compound assignment (-=) rh=- rh; ^~ nec_context.cpp:3612:5: warning: use of unary operator that may be intended as compound assignment (-=) wz=- cth; ^~ nec_context.cpp:4188:6: warning: use of unary operator that may be intended as compound assignment (-=) rfl=- rfl; ^~ nec_context.cpp:4283:6: warning: use of unary operator that may be intended as compound assignment (-=) rfl=- rfl; ^~ nec_context.cpp:4421:6: warning: use of unary operator that may be intended as compound assignment (-=) zp=- zpx; ^~ nec_context.cpp:5913:7: warning: use of unary operator that may be intended as compound assignment (-=) ipr=- ipr; ^~ nec_context.cpp:6392:6: warning: use of unary operator that may be intended as compound assignment (-=) zr =- zr; ^~ nec_context.cpp:6749:5: warning: use of unary operator that may be intended as compound assignment (-=) phx=- sin( phi); ^~ nec_context.cpp:6801:7: warning: use of unary operator that may be intended as compound assignment (-=) rfl=- rfl; ^~ nec_context.cpp:6894:5: warning: use of unary operator that may be intended as compound assignment (-=) phx=- sin( phi); ^~ nec_context.cpp:6900:5: warning: use of unary operator that may be intended as compound assignment (-=) thz=- sin( thet); ^~ nec_context.cpp:6945:6: warning: use of unary operator that may be intended as compound assignment (-=) roz=- roz; ^~ 29 warnings generated. if /usr/bin/libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I.. -O2 -pipe -MT nec_exception.lo -MD -MP -MF ".deps/nec_exception.Tpo" -c -o nec_exception.lo `test -f 'nec_exception.cpp' || echo './'`nec_exception.cpp; then mv -f ".deps/nec_exception.Tpo" ".deps/nec_exception.Plo"; else rm -f ".deps/nec_exception.Tpo"; exit 1; fi c++ -DHAVE_CONFIG_H -I. -I. -I.. -O2 -pipe -MT nec_exception.lo -MD -MP -MF .deps/nec_exception.Tpo -c nec_exception.cpp -fPIC -DPIC -o .libs/nec_exception.o c++ -DHAVE_CONFIG_H -I. -I. -I.. -O2 -pipe -MT nec_exception.lo -MD -MP -MF .deps/nec_exception.Tpo -c nec_exception.cpp -o nec_exception.o if /usr/bin/libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I.. -O2 -pipe -MT nec_ground.lo -MD -MP -MF ".deps/nec_ground.Tpo" -c -o nec_ground.lo `test -f 'nec_ground.cpp' || echo './'`nec_ground.cpp; then mv -f ".deps/nec_ground.Tpo" ".deps/nec_ground.Plo"; else rm -f ".deps/nec_ground.Tpo"; exit 1; fi c++ -DHAVE_CONFIG_H -I. -I. -I.. -O2 -pipe -MT nec_ground.lo -MD -MP -MF .deps/nec_ground.Tpo -c nec_ground.cpp -fPIC -DPIC -o .libs/nec_ground.o c++ -DHAVE_CONFIG_H -I. -I. -I.. -O2 -pipe -MT nec_ground.lo -MD -MP -MF .deps/nec_ground.Tpo -c nec_ground.cpp -o nec_ground.o if /usr/bin/libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I.. -O2 -pipe -MT nec_output.lo -MD -MP -MF ".deps/nec_output.Tpo" -c -o nec_output.lo `test -f 'nec_output.cpp' || echo './'`nec_output.cpp; then mv -f ".deps/nec_output.Tpo" ".deps/nec_output.Plo"; else rm -f ".deps/nec_output.Tpo"; exit 1; fi c++ -DHAVE_CONFIG_H -I. -I. -I.. -O2 -pipe -MT nec_output.lo -MD -MP -MF .deps/nec_output.Tpo -c nec_output.cpp -fPIC -DPIC -o .libs/nec_output.o nec_output.cpp:49:23: warning: format string is not a string literal (potentially insecure) [-Wformat-security] fprintf(m_output_fp, str); ^~~ nec_output.cpp:49:23: note: treat the string as an argument to avoid this fprintf(m_output_fp, str); ^ "%s", nec_output.cpp:51:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security] fprintf(stderr,str); ^~~ nec_output.cpp:51:18: note: treat the string as an argument to avoid this fprintf(stderr,str); ^ "%s", nec_output.cpp:163:34: warning: format string is not a string literal (potentially insecure) [-Wformat-security] count += fprintf(m_output_fp, format.get_ptr()); /* log it verbatim */ ^~~~~~~~~~~~~~~~ nec_output.cpp:163:34: note: treat the string as an argument to avoid this count += fprintf(m_output_fp, format.get_ptr()); /* log it verbatim */ ^ "%s", 3 warnings generated. c++ -DHAVE_CONFIG_H -I. -I. -I.. -O2 -pipe -MT nec_output.lo -MD -MP -MF .deps/nec_output.Tpo -c nec_output.cpp -o nec_output.o nec_output.cpp:49:23: warning: format string is not a string literal (potentially insecure) [-Wformat-security] fprintf(m_output_fp, str); ^~~ nec_output.cpp:49:23: note: treat the string as an argument to avoid this fprintf(m_output_fp, str); ^ "%s", nec_output.cpp:51:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security] fprintf(stderr,str); ^~~ nec_output.cpp:51:18: note: treat the string as an argument to avoid this fprintf(stderr,str); ^ "%s", nec_output.cpp:163:34: warning: format string is not a string literal (potentially insecure) [-Wformat-security] count += fprintf(m_output_fp, format.get_ptr()); /* log it verbatim */ ^~~~~~~~~~~~~~~~ nec_output.cpp:163:34: note: treat the string as an argument to avoid this count += fprintf(m_output_fp, format.get_ptr()); /* log it verbatim */ ^ "%s", 3 warnings generated. if /usr/bin/libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I.. -O2 -pipe -MT nec_radiation_pattern.lo -MD -MP -MF ".deps/nec_radiation_pattern.Tpo" -c -o nec_radiation_pattern.lo `test -f 'nec_radiation_pattern.cpp' || echo './'`nec_radiation_pattern.cpp; then mv -f ".deps/nec_radiation_pattern.Tpo" ".deps/nec_radiation_pattern.Plo"; else rm -f ".deps/nec_radiation_pattern.Tpo"; exit 1; fi c++ -DHAVE_CONFIG_H -I. -I. -I.. -O2 -pipe -MT nec_radiation_pattern.lo -MD -MP -MF .deps/nec_radiation_pattern.Tpo -c nec_radiation_pattern.cpp -fPIC -DPIC -o .libs/nec_radiation_pattern.o In file included from nec_radiation_pattern.cpp:19: In file included from ./nec_radiation_pattern.h:22: ./nec_results.h:324:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] oh.padding(" "); ^ ./nec_results.h:327:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] oh.padding(" "); oh.real_out(7,2, gain, false); oh.separator(); ^ ./nec_results.h:328:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] oh.padding(" "); oh.real_out(11,4, magnitude); ^ nec_radiation_pattern.cpp:95:28: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] static char *hpol[4] = { "LINEAR", "RIGHT ", "LEFT ", " " }; ^ nec_radiation_pattern.cpp:95:38: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] static char *hpol[4] = { "LINEAR", "RIGHT ", "LEFT ", " " }; ^ nec_radiation_pattern.cpp:95:48: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] static char *hpol[4] = { "LINEAR", "RIGHT ", "LEFT ", " " }; ^ nec_radiation_pattern.cpp:95:58: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] static char *hpol[4] = { "LINEAR", "RIGHT ", "LEFT ", " " }; ^ nec_radiation_pattern.cpp:96:33: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] static char *gain_type[2] = { "----- POWER GAINS ----- ", "--- DIRECTIVE GAINS ---" }; ^ nec_radiation_pattern.cpp:96:61: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] static char *gain_type[2] = { "----- POWER GAINS ----- ", "--- DIRECTIVE GAINS ---" }; ^ nec_radiation_pattern.cpp:97:28: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] static char *igax[4] = { " MAJOR", " MINOR", " VERTC", " HORIZ" }; ^ nec_radiation_pattern.cpp:97:38: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] static char *igax[4] = { " MAJOR", " MINOR", " VERTC", " HORIZ" }; ^ nec_radiation_pattern.cpp:97:48: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] static char *igax[4] = { " MAJOR", " MINOR", " VERTC", " HORIZ" }; ^ nec_radiation_pattern.cpp:97:58: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] static char *igax[4] = { " MAJOR", " MINOR", " VERTC", " HORIZ" }; ^ nec_radiation_pattern.cpp:192:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] oh.padding(" "); ^ nec_radiation_pattern.cpp:212:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] oh.padding(" "); ^ nec_radiation_pattern.cpp:214:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] oh.padding(" "); ^ nec_radiation_pattern.cpp:572:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] oh.padding(" "); ^ nec_radiation_pattern.cpp:577:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] oh.padding(" "); ^ 18 warnings generated. c++ -DHAVE_CONFIG_H -I. -I. -I.. -O2 -pipe -MT nec_radiation_pattern.lo -MD -MP -MF .deps/nec_radiation_pattern.Tpo -c nec_radiation_pattern.cpp -o nec_radiation_pattern.o In file included from nec_radiation_pattern.cpp:19: In file included from ./nec_radiation_pattern.h:22: ./nec_results.h:324:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] oh.padding(" "); ^ ./nec_results.h:327:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] oh.padding(" "); oh.real_out(7,2, gain, false); oh.separator(); ^ ./nec_results.h:328:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] oh.padding(" "); oh.real_out(11,4, magnitude); ^ nec_radiation_pattern.cpp:95:28: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] static char *hpol[4] = { "LINEAR", "RIGHT ", "LEFT ", " " }; ^ nec_radiation_pattern.cpp:95:38: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] static char *hpol[4] = { "LINEAR", "RIGHT ", "LEFT ", " " }; ^ nec_radiation_pattern.cpp:95:48: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] static char *hpol[4] = { "LINEAR", "RIGHT ", "LEFT ", " " }; ^ nec_radiation_pattern.cpp:95:58: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] static char *hpol[4] = { "LINEAR", "RIGHT ", "LEFT ", " " }; ^ nec_radiation_pattern.cpp:96:33: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] static char *gain_type[2] = { "----- POWER GAINS ----- ", "--- DIRECTIVE GAINS ---" }; ^ nec_radiation_pattern.cpp:96:61: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] static char *gain_type[2] = { "----- POWER GAINS ----- ", "--- DIRECTIVE GAINS ---" }; ^ nec_radiation_pattern.cpp:97:28: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] static char *igax[4] = { " MAJOR", " MINOR", " VERTC", " HORIZ" }; ^ nec_radiation_pattern.cpp:97:38: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] static char *igax[4] = { " MAJOR", " MINOR", " VERTC", " HORIZ" }; ^ nec_radiation_pattern.cpp:97:48: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] static char *igax[4] = { " MAJOR", " MINOR", " VERTC", " HORIZ" }; ^ nec_radiation_pattern.cpp:97:58: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] static char *igax[4] = { " MAJOR", " MINOR", " VERTC", " HORIZ" }; ^ nec_radiation_pattern.cpp:192:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] oh.padding(" "); ^ nec_radiation_pattern.cpp:212:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] oh.padding(" "); ^ nec_radiation_pattern.cpp:214:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] oh.padding(" "); ^ nec_radiation_pattern.cpp:572:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] oh.padding(" "); ^ nec_radiation_pattern.cpp:577:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] oh.padding(" "); ^ 18 warnings generated. /usr/bin/libtool --mode=link c++ -O2 -pipe -o libnecpp.la -rpath /usr/local/lib -lm -lstdc++ c_evlcom.lo c_geometry.lo c_ggrid.lo c_plot_card.lo libNEC.lo matrix_algebra.lo misc.lo nec_context.lo nec_exception.lo nec_ground.lo nec_output.lo nec_radiation_pattern.lo warning: could not find a stdc++ library libtool: link: c++ -shared -fPIC -DPIC -o .libs/libnecpp.so.0.0 -O2 -pipe .libs/c_evlcom.o .libs/c_geometry.o .libs/c_ggrid.o .libs/c_plot_card.o .libs/libNEC.o .libs/matrix_algebra.o .libs/misc.o .libs/nec_context.o .libs/nec_exception.o .libs/nec_ground.o .libs/nec_output.o .libs/nec_radiation_pattern.o -L.libs -lm -Wl,-soname,libnecpp.so.0.0 libtool: link: ar cru .libs/libnecpp.a c_evlcom.o c_geometry.o c_ggrid.o c_plot_card.o libNEC.o matrix_algebra.o misc.o nec_context.o nec_exception.o nec_ground.o nec_output.o nec_radiation_pattern.o libtool: link: ranlib .libs/libnecpp.a if c++ -DHAVE_CONFIG_H -I. -I. -I.. -O2 -pipe -MT necDiff.o -MD -MP -MF ".deps/necDiff.Tpo" -c -o necDiff.o `test -f 'necDiff.cpp' || echo './'`necDiff.cpp; then mv -f ".deps/necDiff.Tpo" ".deps/necDiff.Po"; else rm -f ".deps/necDiff.Tpo"; exit 1; fi /usr/bin/libtool --mode=link c++ -O2 -pipe -o nec2diff necDiff.o libtool: link: c++ -o nec2diff -O2 -pipe necDiff.o if c++ -DHAVE_CONFIG_H -I. -I. -I.. -O2 -pipe -MT nec2cpp.o -MD -MP -MF ".deps/nec2cpp.Tpo" -c -o nec2cpp.o `test -f 'nec2cpp.cpp' || echo './'`nec2cpp.cpp; then mv -f ".deps/nec2cpp.Tpo" ".deps/nec2cpp.Po"; else rm -f ".deps/nec2cpp.Tpo"; exit 1; fi In file included from nec2cpp.cpp:60: In file included from ./nec_context.h:28: In file included from ./nec_radiation_pattern.h:22: ./nec_results.h:324:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] oh.padding(" "); ^ ./nec_results.h:327:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] oh.padding(" "); oh.real_out(7,2, gain, false); oh.separator(); ^ ./nec_results.h:328:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] oh.padding(" "); oh.real_out(11,4, magnitude); ^ nec2cpp.cpp:156:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "FR", "LD", "GN", "EX", "NT", "TL", \ ^ nec2cpp.cpp:156:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "FR", "LD", "GN", "EX", "NT", "TL", \ ^ nec2cpp.cpp:156:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "FR", "LD", "GN", "EX", "NT", "TL", \ ^ nec2cpp.cpp:156:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "FR", "LD", "GN", "EX", "NT", "TL", \ ^ nec2cpp.cpp:156:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "FR", "LD", "GN", "EX", "NT", "TL", \ ^ nec2cpp.cpp:156:33: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "FR", "LD", "GN", "EX", "NT", "TL", \ ^ nec2cpp.cpp:157:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "XQ", "GD", "RP", "NX", "PT", "KH", \ ^ nec2cpp.cpp:157:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "XQ", "GD", "RP", "NX", "PT", "KH", \ ^ nec2cpp.cpp:157:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "XQ", "GD", "RP", "NX", "PT", "KH", \ ^ nec2cpp.cpp:157:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "XQ", "GD", "RP", "NX", "PT", "KH", \ ^ nec2cpp.cpp:157:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "XQ", "GD", "RP", "NX", "PT", "KH", \ ^ nec2cpp.cpp:157:33: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "XQ", "GD", "RP", "NX", "PT", "KH", \ ^ nec2cpp.cpp:158:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "NE", "NH", "PQ", "EK", "CP", "PL", \ ^ nec2cpp.cpp:158:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "NE", "NH", "PQ", "EK", "CP", "PL", \ ^ nec2cpp.cpp:158:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "NE", "NH", "PQ", "EK", "CP", "PL", \ ^ nec2cpp.cpp:158:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "NE", "NH", "PQ", "EK", "CP", "PL", \ ^ nec2cpp.cpp:158:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "NE", "NH", "PQ", "EK", "CP", "PL", \ ^ nec2cpp.cpp:158:33: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "NE", "NH", "PQ", "EK", "CP", "PL", \ ^ nec2cpp.cpp:159:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "EN", "WG" ^ nec2cpp.cpp:159:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "EN", "WG" ^ nec2cpp.cpp:203:39: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] while( (option = XGetopt(argc, argv, "i:o:hvscgb") ) != -1 ) ^ nec2cpp.cpp:625:28: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ( (line_buf[line_idx] == '\0') ) ~~~~~~~~~~~~~~~~~~~^~~~~~~ nec2cpp.cpp:625:28: note: remove extraneous parentheses around the comparison to silence this warning if ( (line_buf[line_idx] == '\0') ) ~ ^ ~ nec2cpp.cpp:625:28: note: use '=' to turn this equality comparison into an assignment if ( (line_buf[line_idx] == '\0') ) ^~ = nec2cpp.cpp:690:28: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ( (line_buf[line_idx] == '\0') ) ~~~~~~~~~~~~~~~~~~~^~~~~~~ nec2cpp.cpp:690:28: note: remove extraneous parentheses around the comparison to silence this warning if ( (line_buf[line_idx] == '\0') ) ~ ^ ~ nec2cpp.cpp:690:28: note: use '=' to turn this equality comparison into an assignment if ( (line_buf[line_idx] == '\0') ) ^~ = 26 warnings generated. if c++ -DHAVE_CONFIG_H -I. -I. -I.. -O2 -pipe -MT XGetopt.o -MD -MP -MF ".deps/XGetopt.Tpo" -c -o XGetopt.o `test -f 'XGetopt.cpp' || echo './'`XGetopt.cpp; then mv -f ".deps/XGetopt.Tpo" ".deps/XGetopt.Po"; else rm -f ".deps/XGetopt.Tpo"; exit 1; fi /usr/bin/libtool --mode=link c++ -O2 -pipe -o nec2++ -all-static nec2cpp.o XGetopt.o ../src/libnecpp.la libtool: link: c++ -o .libs/nec2++ -O2 -pipe nec2cpp.o XGetopt.o -L.libs -lnecpp -lm -Wl,-rpath-link,/usr/local/lib ld: warning: nec2cpp.cpp(nec2cpp.o:(nec_main(int, char**, nec_output_file&))): warning: strcat() is almost always misused, please use strlcat() >>> Running package in cad/necpp at 1734771709.62 ===> cad/necpp ===> Faking installation for necpp-1.2.3p8 Making install in src /bin/sh ../mkinstalldirs /exopi-obj/pobj/necpp-1.2.3/fake-amd64/usr/local/lib /usr/bin/libtool --mode=install /exopi-obj/pobj/necpp-1.2.3/bin/install -c libnecpp.la /exopi-obj/pobj/necpp-1.2.3/fake-amd64/usr/local/lib/libnecpp.la libtool: install: /exopi-obj/pobj/necpp-1.2.3/bin/install -c -m 644 ./.libs/libnecpp.a /exopi-obj/pobj/necpp-1.2.3/fake-amd64/usr/local/lib/libnecpp.a libtool: install: /exopi-obj/pobj/necpp-1.2.3/bin/install -c -m 644 ./.libs/libnecpp.so.0.0 /exopi-obj/pobj/necpp-1.2.3/fake-amd64/usr/local/lib/libnecpp.so.0.0 libtool: install: /exopi-obj/pobj/necpp-1.2.3/bin/install -c -m 644 ./.libs/libnecpp.lai /exopi-obj/pobj/necpp-1.2.3/fake-amd64/usr/local/lib/libnecpp.la /bin/sh ../mkinstalldirs /exopi-obj/pobj/necpp-1.2.3/fake-amd64/usr/local/bin /usr/bin/libtool --mode=install /exopi-obj/pobj/necpp-1.2.3/bin/install -c -s -m 755 nec2diff /exopi-obj/pobj/necpp-1.2.3/fake-amd64/usr/local/bin/nec2diff libtool: install: /exopi-obj/pobj/necpp-1.2.3/bin/install -c -s -m 755 nec2diff /exopi-obj/pobj/necpp-1.2.3/fake-amd64/usr/local/bin/nec2diff /usr/bin/libtool --mode=install /exopi-obj/pobj/necpp-1.2.3/bin/install -c -s -m 755 nec2++ /exopi-obj/pobj/necpp-1.2.3/fake-amd64/usr/local/bin/nec2++ libtool: install: /exopi-obj/pobj/necpp-1.2.3/bin/install -c -s -m 755 ./.libs/nec2++ /exopi-obj/pobj/necpp-1.2.3/fake-amd64/usr/local/bin/nec2++ /bin/sh ../mkinstalldirs /exopi-obj/pobj/necpp-1.2.3/fake-amd64/usr/local/include /exopi-obj/pobj/necpp-1.2.3/bin/install -c -m 644 libnecpp.h /exopi-obj/pobj/necpp-1.2.3/fake-amd64/usr/local/include/libnecpp.h /exopi-obj/pobj/necpp-1.2.3/bin/install -d -m 755 /exopi-obj/pobj/necpp-1.2.3/fake-amd64/usr/local/share/examples/necpp /exopi-obj/pobj/necpp-1.2.3/bin/install -c -m 644 /exopi-obj/pobj/necpp-1.2.3/necpp-1.2.3/test_data/* /exopi-obj/pobj/necpp-1.2.3/fake-amd64/usr/local/share/examples/necpp ===> Building package for necpp-1.2.3p8 Create /exopi-cvs/ports/packages/amd64/all/necpp-1.2.3p8.tgz Creating package necpp-1.2.3p8 reading plist| checking dependencies| checksumming| checksumming| | 0% checksumming|* | 2% checksumming|*** | 4% checksumming|**** | 6% checksumming|***** | 8% checksumming|****** | 10% checksumming|******** | 13% checksumming|********* | 15% checksumming|********** | 17% checksumming|*********** | 19% checksumming|************* | 21% checksumming|************** | 23% checksumming|*************** | 25% checksumming|***************** | 27% checksumming|****************** | 29% checksumming|******************* | 31% checksumming|******************** | 33% checksumming|********************** | 35% checksumming|*********************** | 38% checksumming|************************ | 40% checksumming|************************* | 42% checksumming|*************************** | 44% checksumming|**************************** | 46% checksumming|***************************** | 48% checksumming|******************************* | 50% checksumming|******************************** | 52% checksumming|********************************* | 54% checksumming|********************************** | 56% checksumming|************************************ | 58% checksumming|************************************* | 60% checksumming|************************************** | 63% checksumming|*************************************** | 65% checksumming|***************************************** | 67% checksumming|****************************************** | 69% checksumming|******************************************* | 71% checksumming|******************************************** | 73% checksumming|********************************************** | 75% checksumming|*********************************************** | 77% checksumming|************************************************ | 79% checksumming|************************************************** | 81% checksumming|*************************************************** | 83% checksumming|**************************************************** | 85% checksumming|***************************************************** | 88% checksumming|******************************************************* | 90% checksumming|******************************************************** | 92% checksumming|********************************************************* | 94% checksumming|********************************************************** | 96% checksumming|************************************************************ | 98% checksumming|*************************************************************|100% archiving| archiving| | 0% archiving|** | 3% archiving|**** | 7% archiving|***************************************** | 65% archiving|*********************************************************** | 92% archiving|*********************************************************** | 93% archiving|************************************************************ | 94% archiving|************************************************************* | 95% archiving|************************************************************* | 96% archiving|************************************************************** | 97% archiving|****************************************************************|100% Link to /exopi-cvs/ports/packages/amd64/ftp/necpp-1.2.3p8.tgz >>> Running clean in cad/necpp at 1734771714.01 ===> cad/necpp ===> Cleaning for necpp-1.2.3p8 >>> Ended at 1734771714.59 max_stuck=5.50/build=128.08/package=4.38/clean=0.62