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

Re: compile 2.4.33 on AIX 6.1 with IBM vac - mdb.c - mdb_cursor_pop fails



Howard Allison wrote:
Hi
I've compiled openldap 2.4.33 on AIX 6.1 and had to edit the file
libraries/libmdb/mdb.c.
In mdb_cursor_pop I had to comment out the #if MDB_DEBUG directive to make
*top visible.
#if MDB_DEBUG
*/
                 MDB_page        *top = mc->mc_pg[mc->mc_top];
/*
#endif
*/

Is this something particular to xlc?

Sounds like it. It seems that your compiler/preprocessor doesn't support CPP macros with variable number of arguments.

Thanks
Howard Allison


--
  -- Howard Chu
  CTO, Symas Corp.           http://www.symas.com
  Director, Highland Sun     http://highlandsun.com/hyc/
  Chief Architect, OpenLDAP  http://www.openldap.org/project/