configure: support --enable-glibgxx-debug
Part of #184. * m4/devel.m4 (adl_ENABLE_GLIBCXX_DEBUG): New macro. * configure.ac: Use it. * README: Mention it. * spot/twa/acc.cc: Fix a small issue found with this option.
This commit is contained in:
parent
1a5de86c1e
commit
9f7bf5ab2d
4 changed files with 21 additions and 1 deletions
|
|
@ -574,7 +574,8 @@ namespace spot
|
|||
{
|
||||
// Pick a random code and put it at the end
|
||||
int p1 = mrand(s--);
|
||||
std::swap(codes[p1], codes[s]);
|
||||
if (p1 != s) // https://gcc.gnu.org/bugzilla//show_bug.cgi?id=59603
|
||||
std::swap(codes[p1], codes[s]);
|
||||
// and another one
|
||||
int p2 = mrand(s);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue