Summary: | failed to build kdesupport ("errno" in formal parameter lists). svn revision: 911333) | ||
---|---|---|---|
Product: | [Unmaintained] telepathy | Reporter: | Yevgeniy <YLitvinenko> |
Component: | general | Assignee: | Telepathy Bugs <kde-telepathy-bugs> |
Status: | RESOLVED INTENTIONAL | ||
Severity: | normal | CC: | grundleborg |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | 0.4.0 | ||
Platform: | Compiled Sources | ||
OS: | Solaris | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Yevgeniy
2009-01-15 11:30:44 UTC
Just to clarify, errno is #defined by something when you're compiling telepathy-qt? I'll take a look at this as soon as I have time, but it is autogenerated code, and I have no idea how the generation process works, so it might not be straight forward for me to fix (I'll try and prod the authors of the autogeneration scripts too). >..., errno is #defined by something when you're compiling telepathy-qt?
On my Solaris box there are lines
extern int *___errno();
#define errno (*(___errno()))
in the file /usr/include/errno.h (this file is from SUNWhea package)
I can not find any "#include <errno.h> in the directory telepathy-qt and it's subdirs. But there is such line in the others directories of kdesupport (qca, automoc and others)
Just for information - if this is an autogenerated code,
maybe it is generated from
telepathy-qt/xml/Channel_Type_Streamed_Media.xml
and
telepathy-qt/spec/Channel_Type_Streamed_Media.xml
In these files there are lines:
<arg name="errno" type="u">
<tp:docstring>
A stream error number, one of the values of MediaStreamError
</tp:docstring>
</arg>
and
<signal name="StreamError">
<arg name="stream_id" type="u"/>
<arg name="errno" type="u"/>
<arg name="message" type="s"/>
</signal>
OK, this is difficult then, because I think it will require changing the parameter name upstream in the telepathy specification. I'll talk to those guys about it and see how to proceed. thanks for the bug report :) In fact, this has already been corrected upstream in the telepathy spec. However, since the telepathy-qt bindings are currently deprecated and will be very soon replaced by the new telepathyQt4 library, and since I'm not planning to update telepathy-qt bindings any further, then I don't think I should fix this bug in svn (it would be BIC also I think). So, although I'm closing as WONTFIX, this issue will be gone when the port of Decibel to the new telepathyQt4 library is complete. I hope you will understand why I am taking this approach. |