Am Mittwoch, 9. September 2009 20:41 schrieb Martin Preuss:
> > The only mention of ICONV_CONST in config.h is:
> >
> > /* Define as const if the declaration of iconv() needs const. */
> > /* #undef ICONV_CONST */
>
> [...]
>
> Hmm, this means that the configure.ac-macro AM_ICONV didn't work as
> expected. However, I have no access to a Mac so I can't really say what's
> going on there
>
> :-/
>
> It should compile if you just define ICONV_CONST within the file which
> stops the compiler.
>
> Try defining it as "" (empty string) and if that doesn't work define it as
> "const". That should at least help you right now.

Maybe in cgui.c we need to write

#ifndef ICONV_CONST
#  define ICONV_CONST
#endif

because writing "" probably doesn't help here. In any case this was needed so 
that we get the right "constness" of the pointer arguments to iconv function 
calls... and if the test couldn't find out which of the possibilities is 
correct (const vs. not const), there isn't much we can do about it.

Christian

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Aqbanking-devel mailing list
Aqbanking-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/aqbanking-devel

Reply via email to