Marc Nieper-Wißkirchen wrote: > In file included from lib/gl_linked_list.c:29: > lib/gl_linked_list.c: In function 'gl_linked_iterator_from_to': > lib/gl_anylinked_list2.h:938:1: error: function might be candidate for > attribute 'pure' if it is known to return normally > [-Werror=suggest-attribute=pure] > 938 | gl_linked_iterator_from_to (gl_list_t list, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~
But no such warning in line 920? Makes no sense to me. And a function that may invoke abort () does "affect observable state". Bruno