Jacob Rief wrote:
To which standard of C do you want your API being compatible? If its
C99 then you only need one forward declaration and the repeated use of
struct LZ_Encoder * is too verbose for an API, a simple LZ_Encoder*
will do the job, just as in C++.

I didn't know C99 accepts LZ_Encoder as a type and not only as a label as C89 does.

In any case, it seems GCC still uses C89 by default, So I'll stick to C89 for now.


Regards,
Antonio.


_______________________________________________
Lzip-bug mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lzip-bug

Reply via email to