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

[Bug default/23044] New: Assertions with side effects



https://sourceware.org/bugzilla/show_bug.cgi?id=23044

            Bug ID: 23044
           Summary: Assertions with side effects
           Product: libabigail
           Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: default
          Assignee: dodji at redhat dot com
          Reporter: jwakely.gcc at gmail dot com
                CC: libabigail at sourceware dot org
  Target Milestone: ---

abg-ini.cc has lots of assertions with side effects:

    assert(read_next_char(c));

This won't work if NDEBUG is defined.

I didn't check other files for the same problem.

-- 
You are receiving this mail because:
You are on the CC list for the bug.