Some host fail on `assert (!"foo")', which expands to

((!"foo") ? (void)0 : __assert("!"foo."", __FILE__, __LINE__))
Reported by Nelson Beebee.
* src/output.c, src/vcg.c: Replace `assert (!"it succeeded")' with
`#define it_succeeded 0' and `assert (it_succeeded)'.
This commit is contained in:
Akim Demaille
2001-12-18 09:33:44 +00:00
parent 897668ee8d
commit 275fc3ad0f
4 changed files with 36 additions and 14 deletions
+1
View File
@@ -19,6 +19,7 @@ Keith Browne [email protected]
Laurent Mascherpa [email protected]
Marc Autret [email protected]
Neil Booth [email protected]
Nelson H. F. Beebe [email protected]
Noah Friedman [email protected]
Pascal Bart [email protected]
Paul Eggert [email protected]