[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: ReReRe: OpenLDAP-2.0-alpha & varargs or stdarg

At 09:48 23/08/99 -0700, you wrote:
>At 03:39 PM 8/23/99 +0200, Frédéric Poels wrote:
>>Here's yet more information...
>>> Does your compiler define __STDC__ ?
>>No it doesn't and that's where the problem lies.
>>I cannot add "-D__STDC__" to the CPPFLAGS because in this case cc generates
>>a systematic warning that configure does not seem to appreciate.
>>I managed to compile the thing by adding "#define __STDC__" in portable.h
>>which is not very elegant.
>You may also want to define -D__NEEDS_PROTOTYPES=1 to keep the LDAP_P
>macro from reverting to K&R prototypes.

Even better, I can use the -qlanglvl=ansi switch so that my compiler
finally defines __STDC__.