Jens Geyer created THRIFT-6229:
----------------------------------

             Summary: c_glib: thrift_multiplexed_processor_process() is 
declared in the public header but never defined
                 Key: THRIFT-6229
                 URL: https://issues.apache.org/jira/browse/THRIFT-6229
             Project: Thrift
          Issue Type: Bug
          Components: C glib - Library
            Reporter: Jens Geyer


{{lib/c_glib/src/thrift/c_glib/processor/thrift_multiplexed_processor.h:67}} 
declares {{thrift_multiplexed_processor_process()}}, but 
{{thrift_multiplexed_processor.c}} defines no such function: the implementation 
is the static {{thrift_multiplexed_processor_process_impl()}}, installed as the 
class's {{process}} virtual method. Code that calls the declared function 
compiles and then fails to link.

Suggested: remove the declaration -- callers already have 
{{thrift_processor_process()}} -- or define the function to dispatch through 
the class, the way {{thrift_processor_process()}} does.

_Drafted with AI assistance (Claude Opus 5); reviewed and filed by Jens Geyer._



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to