Hi Kacper,
thanks, fixed in SVN 1238.
Best regards,
Jürgen
On 3/1/20 11:55 PM, Kacper Gutowski
wrote:
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
|