Re: [Bug-apl] svn r849 fails to compile with gcc 6.2 -O3

2017-01-18 Thread Juergen Sauermann
Hi Xio-Yong, I see. Can you try SVN 856, please? Thanks, Jürgen On 01/18/2017 04:57 PM, Xiao-Yong Jin wrote: Yes, it remains an error. The number 255 as I understand comes from src/SymbolTable.hh:235:class SystemSymTab : pub

Re: [Bug-apl] svn r849 fails to compile with gcc 6.2 -O3

2017-01-18 Thread Xiao-Yong Jin
Yes, it remains an error. The number 255 as I understand comes from src/SymbolTable.hh:235:class SystemSymTab : public SymbolTableBase > On Jan 18, 2017, at 9:41 AM, Juergen Sauermann > wrote: > > Hi Xiao-Yong, > > I have simplified the loop a little hoping that gcc will get less confused. >

Re: [Bug-apl] svn r849 fails to compile with gcc 6.2 -O3

2017-01-18 Thread Juergen Sauermann
Hi Xiao-Yong, I have simplified the loop a little hoping that gcc will get less confused. *SVN 854*. If the warning remains then it is definitely bogus. Also, I can't really see why iteration 255 should behave differently than all the others. /// Jürgen On 01/17/2017 05:10 AM, Xiao-Yong

Re: [Bug-apl] svn r849 fails to compile with gcc 6.2 -O3

2017-01-18 Thread Juergen Sauermann
Hi Xiao-Yong, I suppose this warning is bogus as well. However, I have changed the default Shape constructor so that even unused elements of rho[] are initialized to 0. SVN 853. /// Jürgen On 01/17/2017 03:05 AM, Xiao-Yong Jin w

Re: [Bug-apl] svn r849 fails to compile with gcc 6.2 -O3

2017-01-16 Thread Christian Robert
I'm all with you, those should be addressed in the source, sometimes by casting things you know for sure, sometimes by redefining things. all my experience in c++ over 30+ years is that "no warning is without some sense", but I always succeed to shut them off. Xtian. On 2017-01-16 23:10, Xiao

Re: [Bug-apl] svn r849 fails to compile with gcc 6.2 -O3

2017-01-16 Thread Xiao-Yong Jin
In addition, there is one more warning/error. g++ -DHAVE_CONFIG_H -I. -I..-Werror -Wall -I sql -I/sandbox/pkg/lib/include -I/sandbox/pkg/include -rdynamic -Wno-maybe-uninitialized -march=native -O3 -pipe -I/sandbox/pkg/include -MT apl-SymbolTable.o -MD -MP -MF .deps/apl-SymbolTable.Tpo -c