#18924 [NEW]: cc: toofewargs Error when building with imap-2002.RC2 support

From: Date: Thu, 15 Aug 2002 19:55:39 +0000
Subject: #18924 [NEW]: cc: toofewargs Error when building with imap-2002.RC2 support
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-16932@lists.php.net to get a copy of this message
From: vlb@gene.com Operating system: Tru64 Unix PHP version: 4.2.2 PHP Bug Type: Compile Failure Bug description: cc: toofewargs Error when building with imap-2002.RC2 support I have configured php4.2.2 to builde --with-imap and have imap-2002.RC2 downloaded and the c-client library installed. The php build proecess gets this error: cc: Error: php_imap.c, line 719: In this statement, "myusername_full" expects 1 arguments, but 0 are supplied. (toofewargs) (void) myusername_full(); -----------------------^ I have found myusername_full defined under the imap build tree as: char *myusername_full (unsigned long *flags) Perhaps php_imap.c was written to support an earlier version of imap? Or perhaps other compilers are less picky if a function wants an arg and isn't given one; I do note that myusernaame_full() checks if(flags). But the error is a blocker for me nonetheless. If someone would investigate. Hand in NIL? -- Edit bug report at http://bugs.php.net/?id=18924&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=18924&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=18924&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=18924&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=18924&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=18924&r=support Expected behavior: http://bugs.php.net/fix.php?id=18924&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=18924&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=18924&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=18924&r=globals

« previous php.bugs (#16932) next »