[PATCH] lib: fix definition of LIBNOTMUCH_CHECK_VERSION

David Bremner david at tethera.net
Mon Jun 6 08:03:56 PDT 2016


David Bremner <david at tethera.net> writes:

> Fix bug reported in id:20160606124522.g2y2eazhhrwjsa4h at flatcap.org
>
> Although the C99 standard 6.10 is a little non-obvious on this point,
> the docs for e.g. gcc are unambiguous. And indeed in practice with the
> extra space, this code fails
>
> int main(int argc, char **argv){
>   printf("%d\n",foo(1));
> }
> ---

Of course git removed the #define as a comment. sigh.

d


More information about the notmuch mailing list