From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <99f045be1475463b8c7b0c0cb58904d9@proxima.alt.za> To: 9fans@cse.psu.edu Date: Fri, 4 May 2007 22:32:58 +0200 From: lucio@proxima.alt.za MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: [9fans] PCC - #if Topicbox-Message-UUID: 59c02630-ead2-11e9-9d60-3106f5b1d025 I have the following diff: term% diff ../../../openldap-2.3.32/include/ac/time.h ../../include/ac 20c20 < #if defined(TIME_WITH_SYS_TIME) --- > #if TIME_WITH_SYS_TIME 23c23 < #elif defined(HAVE_SYS_TIME_H) --- > #elif HAVE_SYS_TIME_H and I'm curious whether it's a slip in the OpenLDAP source or in PCC that the one works and the other doesn't. I do not have an ANSI standard to check against, but my gut feel is that OpenLDAP is stretching a limit. If not, then PCC ought to be corrected, it reports (the "elsif" is certainly mistaken): cpp: ../../include/ac/time.h:20 csn.c:47 Syntax error in #if/#elsif ++L