Commit bed0d59
committed
Mark M2_flint_abort as FLINT_NORETURN
Otherwise, compilation can fail w/:
../../../../Macaulay2/d/main.cpp:92:3: fatal error: no matching function for call to 'flint_set_abort'
92 | flint_set_abort(M2_flint_abort);
| ^~~~~~~~~~~~~~~
/usr/include/flint/flint.h:222:6: note: candidate function not viable: no known conversion from 'void ()' to 'void (*)() __attribute__((noreturn))' for 1st argument
222 | void flint_set_abort(FLINT_NORETURN void (*func)(void));
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~1 parent 68351e7 commit bed0d59
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| |||
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
133 | | - | |
| 133 | + | |
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
| |||
0 commit comments