[Zlib-devel] zlib 1.2.4 released
Leandro Nini
drfiemost at email.it
Sat Mar 20 14:58:10 EDT 2010
>
>
> On Mar 15, 2010, at 7:45 AM, Nelson H. F. Beebe wrote:
> > I then looked at the source file, and see this:
> >
> > #ifdef STDC
> > #include <stdarg.h>
> > ...
> >
> > The symbol STDC is evidently not defined in a cc compilation.
> ...
> > So, we have a workaround on this system: use c89 or gcc instead of cc.
>
> STDC is a zlib internal define used to identify C compilers that are
standard enough for zlib, but that don't define __STDC__. So instead of the
workaround, if someone wants to use cc, a fix would be something like this:
>
> #if defined(SOME_SYMBOL_THAT_INDICATES_THE_DEC_CC) && !defined(STDC)
> # define STDC
> #endif
>
> Can you find SOME_SYMBOL_THAT_INDICATES_THE_DEC_CC?
>
You may have a look here: http://predef.sourceforge.net/precomp.html
Best Regards,
Leandro
--
Caselle da 1GB, trasmetti allegati fino a 3GB e in piu' IMAP, POP3 e SMTP
autenticato? GRATIS solo con Email.it: http://www.email.it/f
Sponsor:
Registrati e partecipa al concorso Libertadibanca.com, puoi vincere 1
Volkswagen New Beetle, 1 Vespa S e diventare il nuovo testimonial UBI Banca
Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=10279&d=20100320
More information about the Zlib-devel
mailing list