xmlrpc_introspection.c fails compile per C99 std
| Bug #35723 | xmlrpc_introspection.c fails compile per C99 std | ||||
|---|---|---|---|---|---|
| Submitted: | 2005-12-18 05:00 UTC | Modified: | 2005-12-19 00:00 UTC | ||
| From: | richton at nbcs dot rutgers dot edu | Assigned: | |||
| Status: | Closed | Package: | Compile Failure | ||
| PHP Version: | 5CVS-2005-12-18 (snap) | OS: | * | ||
| Private report: | No | CVE-ID: | None | ||
[2005-12-18 05:00 UTC] 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
Patches
Pull Requests
History
AllCommentsChangesGit/SVN commits
[2005-12-18 17:56 UTC] richton at nbcs dot rutgers dot edu
[2005-12-19 00:00 UTC] sniper@php.net