bug-apl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Corrupted Workspace


From: Kacper Gutowski
Subject: Re: Corrupted Workspace
Date: Sun, 1 Mar 2020 23:55:49 +0100

SVN 1237 fails to build with g++ 9.2.1.
It gives the following:

In file included from Common.hh:65,
                 from Bif_F12_TAKE_DROP.hh:24,
                 from StateIndicator.cc:23:
StateIndicator.cc: In member function ‘bool StateIndicator::uses_function(const 
UserFunction*) const’:
Assert.hh:45:27: error: the compiler can assume that the address of ‘body’ will 
never be NULL [-Werror=address]
   45 | #define Assert(x)  if (!(x))   do_Assert(#x, __FUNCTION__, __FILE__, 
__LINE__)
      |                           ^
StateIndicator.cc:123:10: note: in expansion of macro ‘Assert’
  123 |          Assert(&body);
      |          ^~~~~~
cc1plus: all warnings being treated as errors


-k



reply via email to

[Prev in Thread] Current Thread [Next in Thread]