|
From: | John Mandereau |
Subject: | Re: C++ cleanup : get rid of some compilation warnings (issue 353880043 by address@hidden) |
Date: | Thu, 21 Feb 2019 20:42:11 +0100 |
address@hidden wrote: > page-turn-page-breaking.cc: In instantiation of 'bool is_break(T*) > [with > T = Grob]': > page-turn-page-breaking.cc:50:54: required from here > page-turn-page-breaking.cc:38:3: warning: operation on '*0' may be > undefined [-Wsequence-point] > if (turnable > ^~ > page-turn-page-breaking.cc: In instantiation of 'bool is_break(T*) > [with > T = Prob]': > page-turn-page-breaking.cc:50:54: required from here > page-turn-page-breaking.cc:38:3: warning: operation on '*0' may be > undefined [-Wsequence-point] FWIW I get this warning as well (building on Fedora 29 with GCC 8.2.1). Best, John
[Prev in Thread] | Current Thread | [Next in Thread] |