Hi Xtian,
thanks, SVN 843.
/// Jürgen
On 01/10/2017 10:09 PM, Christian
Robert wrote:
Only one error/warning remains,
Xtian.
make[3]: Entering directory '/home/xtian/gnuapl/src'
g++ -DHAVE_CONFIG_H -I. -I.. -Werror -Wall -Wno-strict-aliasing
-Wno-deprecated-declarations -I/usr/include -I sql -rdynamic -g
-O2 -MT apl-StateIndicator.o -MD -MP -MF
.deps/apl-StateIndicator.Tpo -c -o apl-StateIndicator.o `test -f
'StateIndicator.cc' || echo './'`StateIndicator.cc
In file included from Common.hh:52:0,
from Avec.hh:24,
from PrintBuffer.hh:24,
from Cell.hh:27,
from Value.hh:30,
from Value.icc:24,
from Command.hh:23,
from StateIndicator.cc:23:
StateIndicator.cc: In member function ‘void
StateIndicator::list(std::ostream&, SI_mode) const’:
Assert.hh:45:20: error: nonnull argument ‘this’ compared to NULL
[-Werror=nonnull-compare]
#define Assert(x) if (!(x)) do_Assert(#x, __FUNCTION__,
__FILE__, __LINE__)
^
StateIndicator.cc:177:4: note: in expansion of macro ‘Assert’
Assert(this);
^~~~~~
cc1plus: all warnings being treated as errors
Makefile:2765: recipe for target 'apl-StateIndicator.o' failed
make[3]: *** [apl-StateIndicator.o] Error 1
On 2017-01-10 14:54, Juergen Sauermann wrote:
Hi,
I believe that I fixed most warnings, *SVN 842*.
Since there were many warnings and from different sources, I
might have overlooked
some of them (or introduced new ones). Please keep reporting
them.
/// Jürgen
|