#35723 [NEW]: xmlrpc_introspection.c fails compile per C99 std
| From: | richton at nbcs dot rutgers dot edu | Date: | Sun, 18 Dec 2005 04:00:21 +0000 |
| Subject: | #35723 [NEW]: xmlrpc_introspection.c fails compile per C99 std | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-90606@lists.php.net to get a copy of this message | ||
From: richton at nbcs dot rutgers dot edu
Operating system: irrelevant
PHP version: 5CVS-2005-12-18 (snap)
PHP Bug Type: Compile Failure
Bug description: xmlrpc_introspection.c fails compile per C99 std
Description:
------------
ext/xmlrpc/libxmlrpc/xmlrpc_introspection.c has a couple
inline functions:
inline XMLRPC_VALUE find_named_value(XMLRPC_VALUE list, const
char* needle) {
inline void describe_method(XMLRPC_SERVER server, XMLRPC_VALUE
vector, const char* method) {
They are referenced elsewhere in the file, but there is no
external definition. See C99 specification section 6.7.4.
An extra keyword here would go a long way...
Reproduce code:
---------------
make
Expected result:
----------------
successful compile
Actual result:
--------------
Undefined first referenced
symbol in file
find_named_value ext/xmlrpclibxmlrpc/.libs/
xmlrpc_introspection.o
describe_method ext/xmlrpclibxmlrpc/.libs/
xmlrpc_introspection.o
ld: fatal: Symbol referencing errors. No output written to
sapi/cli/php
--
Edit bug report at http://bugs.php.net/?id=35723&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=35723&r=trysnapshot44
Try a CVS snapshot (PHP 5.1): http://bugs.php.net/fix.php?id=35723&r=trysnapshot51
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=35723&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=35723&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=35723&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=35723&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=35723&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=35723&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=35723&r=support
Expected behavior: http://bugs.php.net/fix.php?id=35723&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=35723&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=35723&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=35723&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=35723&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=35723&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=35723&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=35723&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=35723&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=35723&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=35723&r=mysqlcfg