Josh Triplett wrote: > Ramsay Jones wrote: >> When updating this patch from the 0.3 version, I made the (new) third parameter >> KW_ATTRIBUTE only, rather than (KW_ATTRIBUTE | KW_ASM), since it did not seem >> correct to allow an asm there; is that correct? > > Correct; I don't think you can have an asm there. > >> The test case for this was abstracted from an example in the "expat.h" header file. >> >> $cat ape.c >> >> typedef void (__attribute__((__cdecl__)) *FP)(void *u, const char *n); >> >> void set_FP(void *cb, FP f); > > Applied. I think you just made a Wine developer very happy. Michael, this > patch fixes the test case you provided for Wine; I applied your patch for the > new test case. Cool, thanks. Was just running a Wine build with cgcc when I have seen this so i've stopped it and run it again with the latest git checkout. And indeed it looks definitely better; the "error: too many errors" count went down from 1459 to 7. > Thanks, Ramsay! Thanks indeed. bye michael -- Michael Stefaniuc Tel.: +49-711-96437-199 Sr. Network Engineer Fax.: +49-711-96437-111 Red Hat GmbH Email: mstefani@xxxxxxxxxx Hauptstaetterstr. 58 http://www.redhat.de/ D-70178 Stuttgart - To unsubscribe from this list: send the line "unsubscribe linux-sparse" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html