Hi, same basic problem but different function
isn't anyone else getting this on make? this is my configure line 'configure CORE_COUNT_WANTED=2' but just 'configure' also gives same error on make g++ -DHAVE_CONFIG_H -I. -I.. -Werror -Wall -I sql -I/usr/local/include -rdynamic -g -O2 -MT apl-SymbolTable.o -MD -MP -MF .deps/apl-SymbolTable.Tpo -c -o apl-SymbolTable.o `test -f 'SymbolTable.cc' || echo './'`SymbolTable.cc cc1plus: warnings being treated as errors Simple_string.hh: In static member function 'static void ScalarFunction::PF_eval_scalar_AB(Thread_context&)': Simple_string.hh:133: error: 'j1.PJob_scalar_AB::fun2.ErrorCode (Cell::*)(Cell*, const Cell*)const::__delta' may be used uninitialized in this function ScalarFunction.cc:649: note: 'j1.PJob_scalar_AB::fun2.ErrorCode (Cell::*)(Cell*, const Cell*)const::__delta' was declared here Simple_string.hh:133: error: 'j1.PJob_scalar_AB::fun2.ErrorCode (Cell::*)(Cell*, const Cell*)const::__pfn' may be used uninitialized in this function ScalarFunction.cc:649: note: 'j1.PJob_scalar_AB::fun2.ErrorCode (Cell::*)(Cell*, const Cell*)const::__pfn' was declared here Simple_string.hh:133: error: 'j1.PJob_scalar_AB::fun' may be used uninitialized in this function ScalarFunction.cc:649: note: 'j1.PJob_scalar_AB::fun' was declared here Simple_string.hh:133: error: 'j1.PJob_scalar_AB::fun2.ErrorCode (Cell::*)(Cell*, const Cell*)const::__delta' may be used uninitialized in this function ScalarFunction.cc:676: note: 'j1.PJob_scalar_AB::fun2.ErrorCode (Cell::*)(Cell*, const Cell*)const::__delta' was declared here Simple_string.hh:133: error: 'j1.PJob_scalar_AB::fun2.ErrorCode (Cell::*)(Cell*, const Cell*)const::__pfn' may be used uninitialized in this function ScalarFunction.cc:676: note: 'j1.PJob_scalar_AB::fun2.ErrorCode (Cell::*)(Cell*, const Cell*)const::__pfn' was declared here Simple_string.hh:133: error: 'j1.PJob_scalar_AB::fun' may be used uninitialized in this function ScalarFunction.cc:676: note: 'j1.PJob_scalar_AB::fun' was declared here Simple_string.hh:133: error: 'j1.PJob_scalar_AB::fun2.ErrorCode (Cell::*)(Cell*, const Cell*)const::__delta' may be used uninitialized in this function ScalarFunction.cc:705: note: 'j1.PJob_scalar_AB::fun2.ErrorCode (Cell::*)(Cell*, const Cell*)const::__delta' was declared here Simple_string.hh:133: error: 'j1.PJob_scalar_AB::fun2.ErrorCode (Cell::*)(Cell*, const Cell*)const::__pfn' may be used uninitialized in this function ScalarFunction.cc:705: note: 'j1.PJob_scalar_AB::fun2.ErrorCode (Cell::*)(Cell*, const Cell*)const::__pfn' was declared here Simple_string.hh:133: error: 'j1.PJob_scalar_AB::fun' may be used uninitialized in this function ScalarFunction.cc:705: note: 'j1.PJob_scalar_AB::fun' was declared here make[3]: *** [apl-ScalarFunction.o] Error 1 make[3]: *** Waiting for unfinished jobs.... mv -f .deps/apl-SymbolTable.Tpo .deps/apl-SymbolTable.Po mv -f .deps/apl-Svar_DB.Tpo .deps/apl-Svar_DB.Po mv -f .deps/apl-Symbol.Tpo .deps/apl-Symbol.Po make[3]: Leaving directory `/transfer/usr.src/apl/apl-865/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/transfer/usr.src/apl/apl-865/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/transfer/usr.src/apl/apl-865' make: *** [all] Error 2 On Sat, 28 Jan 2017 18:35:36 +0100 Juergen Sauermann <juergen.sauerm...@t-online.de> wrote: > Hi, > > the problem is in ScalarFunction.cc. The compiler complains about a pointer > which is not > initialized in the constructor (which is on purpose, but the compiler seems > not to like it). > > The pointer is initialized at a later point in time (at > ScalarFunction.cc:255) but the compiler > seems not to accept that. > > Please try SVN 865. > > /// Jürgen > > > On 01/28/2017 05:16 PM, enz...@gmx.com wrote: > > Hi Jürgen > > Sorry, still getting the same 'warning->error' in 864 > > is the problem in Simple_string.hh or ScalarFunction.cc ?? (i see your code > changes in ScalarFunction.cc) > > thanks > > > > g++ -DHAVE_CONFIG_H -I. -I.. -Werror -Wall -I sql -I/usr/local/include > -rdynamic -g -O2 -MT apl-Symbol.o -MD -MP -MF .deps/apl-Symbol.Tpo -c -o > apl-Symbol.o `test -f 'Symbol.cc' || echo './'`Symbol.cc > cc1plus: warnings being treated as errors > Simple_string.hh: In static member function 'static void > ScalarFunction::PF_eval_scalar_B(Thread_context&)': > Simple_string.hh:133: error: 'j1.PJob_scalar_B::fun1.ErrorCode > (Cell::*)(Cell*)const::__delta' may be used uninitialized in this function > ScalarFunction.cc:339: note: 'j1.PJob_scalar_B::fun1.ErrorCode > (Cell::*)(Cell*)const::__delta' was declared here > Simple_string.hh:133: error: 'j1.PJob_scalar_B::fun1.ErrorCode > (Cell::*)(Cell*)const::__pfn' may be used uninitialized in this function > ScalarFunction.cc:339: note: 'j1.PJob_scalar_B::fun1.ErrorCode > (Cell::*)(Cell*)const::__pfn' was declared here > Simple_string.hh:133: error: 'j1.PJob_scalar_B::fun' may be used > uninitialized in this function > ScalarFunction.cc:339: note: 'j1.PJob_scalar_B::fun' was declared here > make[3]: *** [apl-ScalarFunction.o] Error 1 > make[3]: *** Waiting for unfinished jobs.... > mv -f .deps/apl-StateIndicator.Tpo .deps/apl-StateIndicator.Po > mv -f .deps/apl-Svar_DB.Tpo .deps/apl-Svar_DB.Po > mv -f .deps/apl-Symbol.Tpo .deps/apl-Symbol.Po > make[3]: Leaving directory `/transfer/usr.src/apl/apl-864/src' > make[2]: *** [all-recursive] Error 1 > make[2]: Leaving directory `/transfer/usr.src/apl/apl-864/src' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/transfer/usr.src/apl/apl-864' > make: *** [all] Error 2 > > > > > > On Sat, 28 Jan 2017 15:01:26 +0100 > Juergen Sauermann <juergen.sauerm...@t-online.de> wrote: > > Hi, > > thanks, hopefully fixed in SVN 864. > > /// Jürgen > > > On 01/27/2017 11:51 PM, enz...@gmx.com wrote: > > > i removed the -Werror in the src/Makefile line 680 common_CXXFLAGS = > -Werror -Wall -I sql $(am__append_2) $(am__append_6) and make gave good apl > *so far in my testing) > > > On Fri, 27 Jan 2017 15:16:14 -0700 > enz...@gmx.com wrote: > > > on this computer I thought svn 863 compiled but it left 1.6 > installed so didn't notice > > libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -Werror -Wall -I sql > -I/usr/local/include -rdynamic -g -O2 -MT libapl_la-ValueHistory.lo -MD -MP > -MF .deps/libapl_la-ValueHistory.Tpo -c ValueHistory.cc -o > libapl_la-ValueHistory.o >/dev/null 2>&1 > cc1plus: warnings being treated as errors > Simple_string.hh: In static member function 'static void > ScalarFunction::PF_eval_scalar_B(Thread_context&)': > Simple_string.hh:133: error: 'j1.PJob_scalar_B::fun1.ErrorCode > (Cell::*)(Cell*)const::__delta' may be used uninitialized in this function > ScalarFunction.cc:335: note: 'j1.PJob_scalar_B::fun1.ErrorCode > (Cell::*)(Cell*)const::__delta' was declared here > Simple_string.hh:133: error: 'j1.PJob_scalar_B::fun1.ErrorCode > (Cell::*)(Cell*)const::__pfn' may be used uninitialized in this function > ScalarFunction.cc:335: note: 'j1.PJob_scalar_B::fun1.ErrorCode > (Cell::*)(Cell*)const::__pfn' was declared here > Simple_string.hh:133: error: 'j1.PJob_scalar_B::fun' may be used > uninitialized in this function > ScalarFunction.cc:335: note: 'j1.PJob_scalar_B::fun' was declared here > > > > > > > >