thanks, I have fixed some of them, please let me know if there are more remaining.
SVN 1373.
Best Regards,
Jürgen
On 12/9/20 8:58 PM, Louis Chretien via
Bugs and suggestions for GNU APL wrote:
Building the latest SVN 1371 on Mac OS X, I get a ton of warnings, although the make seems to complete normally.
Here is a sample (not all warnings are here):
Making all in workspacesmake[3]: Nothing to be done for `all'.g++ -DHAVE_CONFIG_H -I. -I.. -Wall -I sql -g -O2 -MT apl-main.o -MD -MP -MF .deps/apl-main.Tpo -c -o apl-main.o `test -f 'main.cc' || echo './'`main.ccIn file included from main.cc:42:In file included from ./Workspace.hh:27:In file included from ./PrimitiveOperator.hh:25:In file included from ./StateIndicator.hh:25:./DerivedFunction.hh:56:9: warning: 'DerivedFunction::destroy' hides overloaded virtual function [-Woverloaded-virtual]void destroy(const char * loc);^./Function.hh:229:17: note: hidden overloaded virtual function 'Function::destroy' declared here: different number of parameters(0 vs 1)virtual void destroy() {}^1 warning generated.mv -f .deps/apl-main.Tpo .deps/apl-main.Pog++ -DHAVE_CONFIG_H -I. -I.. -Wall -I sql -g -O2 -MT apl-Plot_xcb.o -MD -MP -MF .deps/apl-Plot_xcb.Tpo -c -o apl-Plot_xcb.o `test -f 'Plot_xcb.cc' || echo './'`Plot_xcb.ccmv -f .deps/apl-Plot_xcb.Tpo .deps/apl-Plot_xcb.Pog++ -DHAVE_CONFIG_H -I. -I.. -Wall -I sql -g -O2 -MT apl-Archive.o -MD -MP -MF .deps/apl-Archive.Tpo -c -o apl-Archive.o `test -f 'Archive.cc' || echo './'`Archive.ccIn file included from Archive.cc:29:In file included from ./Archive.hh:31:In file included from ./Workspace.hh:27:In file included from ./PrimitiveOperator.hh:25:In file included from ./StateIndicator.hh:25:./DerivedFunction.hh:56:9: warning: 'DerivedFunction::destroy' hides overloaded virtual function [-Woverloaded-virtual]void destroy(const char * loc);^./Function.hh:229:17: note: hidden overloaded virtual function 'Function::destroy' declared here: different number of parameters(0 vs 1)virtual void destroy() {}^Archive.cc:1992:25: warning: result of comparison of constant -1 with _expression_ of type 'const TokenTag' is always true[-Wtautological-constant-out-of-range-compare]Assert(primitive_tag != -1);~~~~~~~~~~~~~ ^ ~~./Assert.hh:45:26: note: expanded from macro 'Assert'#define Assert(x) if (!(x)) do_Assert(#x, __FUNCTION__, __FILE__, __LINE__)^Archive.cc:2004:15: warning: result of comparison of constant -1 with _expression_ of type 'const Macro::Macro_num' is always true[-Wtautological-constant-out-of-range-compare]if (macnum != -1) // function is a macro~~~~~~ ^ ~~Archive.cc:2014:22: warning: result of comparison of constant -1 with _expression_ of type 'const TokenTag' is always true[-Wtautological-constant-out-of-range-compare]if (primitive_tag != -1) // function is an APL primitive~~~~~~~~~~~~~ ^ ~~4 warnings generated.mv -f .deps/apl-Archive.Tpo .deps/apl-Archive.Pog++ -DHAVE_CONFIG_H -I. -I.. -Wall -I sql -g -O2 -MT apl-Assert.o -MD -MP -MF .deps/apl-Assert.Tpo -c -o apl-Assert.o `test -f 'Assert.cc' || echo './'`Assert.ccIn file included from Assert.cc:28:In file included from ./Workspace.hh:27:In file included from ./PrimitiveOperator.hh:25:In file included from ./StateIndicator.hh:25:./DerivedFunction.hh:56:9: warning: 'DerivedFunction::destroy' hides overloaded virtual function [-Woverloaded-virtual]void destroy(const char * loc);^./Function.hh:229:17: note: hidden overloaded virtual function 'Function::destroy' declared here: different number of parameters(0 vs 1)virtual void destroy() {}^1 warning generated.mv -f .deps/apl-Assert.Tpo .deps/apl-Assert.Pog++ -DHAVE_CONFIG_H -I. -I.. -Wall -I sql -g -O2 -MT apl-Avec.o -MD -MP -MF .deps/apl-Avec.Tpo -c -o apl-Avec.o `test -f 'Avec.cc' || echo './'`Avec.ccmv -f .deps/apl-Avec.Tpo .deps/apl-Avec.Pog++ -DHAVE_CONFIG_H -I. -I.. -Wall -I sql -g -O2 -MT apl-Backtrace.o -MD -MP -MF .deps/apl-Backtrace.Tpo -c -o apl-Backtrace.o `test -f 'Backtrace.cc' || echo './'`Backtrace.ccmv -f .deps/apl-Backtrace.Tpo .deps/apl-Backtrace.Pog++ -DHAVE_CONFIG_H -I. -I.. -Wall -I sql -g -O2 -MT apl-Bif_F12_COMMA.o -MD -MP -MF .deps/apl-Bif_F12_COMMA.Tpo -c -o apl-Bif_F12_COMMA.o `test -f 'Bif_F12_COMMA.cc' || echo './'`Bif_F12_COMMA.ccIn file included from Bif_F12_COMMA.cc:22:In file included from ./Workspace.hh:27:In file included from ./PrimitiveOperator.hh:25:In file included from ./StateIndicator.hh:25:./DerivedFunction.hh:56:9: warning: 'DerivedFunction::destroy' hides overloaded virtual function [-Woverloaded-virtual]void destroy(const char * loc);^./Function.hh:229:17: note: hidden overloaded virtual function 'Function::destroy' declared here: different number of parameters(0 vs 1)virtual void destroy() {}^1 warning generated.mv -f .deps/apl-Bif_F12_COMMA.Tpo .deps/apl-Bif_F12_COMMA.Po
---Louis Chrétien