#35723 [Opn->Fbk]: xmlrpc_introspection.c fails compile per C99 std
| From: | tony2001@php.net | Date: | Sun, 18 Dec 2005 10:32:41 +0000 |
| Subject: | #35723 [Opn->Fbk]: xmlrpc_introspection.c fails compile per C99 std | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-90612@lists.php.net to get a copy of this message | ||
ID: 35723
Updated by: tony2001@php.net
Reported By: richton at nbcs dot rutgers dot edu
-Status: Open
+Status: Feedback
Bug Type: Compile Failure
Operating System: irrelevant
PHP Version: 5CVS-2005-12-18 (snap)
New Comment:
What compiler and linker are you using?
Previous Comments:
------------------------------------------------------------------------
[2005-12-18 05:00:20] richton at nbcs dot rutgers dot edu
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 this bug report at http://bugs.php.net/?id=35723&edit=1