Bug 138963 - compile error "invalid conversion" in dnssd section
Summary: compile error "invalid conversion" in dnssd section
Status: RESOLVED DUPLICATE of bug 134212
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Stephan Kulow
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-18 15:19 UTC by Frederik Schwarzer
Modified: 2006-12-24 22:40 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Frederik Schwarzer 2006-12-18 15:19:36 UTC
Version:           3.5.6 (2006-12-17) (using KDE Devel)
Installed from:    Compiled sources
Compiler:          gcc (GCC) 4.1.2 20061115 (prerelease) (Debian 4.1.1-21) 
OS:                Linux

When compiling kdelibs from branches/KDE/3.5/kdelibs with dnssd (Debian package 0.6.15-2) installed I got the following error:

===
Making all in dnssd
make[2]: Entering directory `/root/src/kde/build/kdelibs/dnssd'
if /bin/sh ../libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I/root/src/kde/kdelibs/dnssd -I.. -I../dcop -I../kdecore -I../kio/kssl -I../kjs -I/root/src/kde/kdelibs -I/root/src/kde/kdelibs/dcop -I/root/src/kde/kdelibs/libltdl -I/root/src/kde/kdelibs/kdefx -I../kdecore -I/root/src/kde/kdelibs/kdecore -I/root/src/kde/kdelibs/kdecore/network -I/root/src/kde/kdelibs/kdeui -I/root/src/kde/kdelibs/kio -I/root/src/kde/kdelibs/kio/kio -I/root/src/kde/kdelibs/kio/kfile -I/root/src/kde/kdelibs -I/usr/share/qt3/include -I. -I/usr/local/kde/include   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common  -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -MT remoteservice.lo -MD -MP -MF ".deps/remoteservice.Tpo" -c -o remoteservice.lo /root/src/kde/kdelibs/dnssd/remoteservice.cpp; \
        then mv -f ".deps/remoteservice.Tpo" ".deps/remoteservice.Plo"; else rm -f ".deps/remoteservice.Tpo"; exit 1; fi
/root/src/kde/kdelibs/dnssd/remoteservice.cpp: In member function 'void DNSSD::RemoteService::resolveAsync()':
/root/src/kde/kdelibs/dnssd/remoteservice.cpp:105: error: invalid conversion from 'void (*)(_DNSServiceRef_t*, DNSServiceFlags, uint32_t, DNSServiceErrorType, const char*, const char*, uint16_t, uint16_t, const char*, void*)' to 'void (*)(_DNSServiceRef_t*, DNSServiceFlags, uint32_t, DNSServiceErrorType, const char*, const char*, uint16_t, uint16_t, const unsigned char*, void*)'
/root/src/kde/kdelibs/dnssd/remoteservice.cpp:105: error:   initializing argument 7 of 'DNSServiceErrorType DNSServiceResolve(_DNSServiceRef_t**, DNSServiceFlags, uint32_t, const char*, const char*, const char*, void (*)(_DNSServiceRef_t*, DNSServiceFlags, uint32_t, DNSServiceErrorType, const char*, const char*, uint16_t, uint16_t, const unsigned char*, void*), void*)'
make[2]: *** [remoteservice.lo] Error 1
make[2]: Leaving directory `/root/src/kde/build/kdelibs/dnssd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/src/kde/build/kdelibs'
make: *** [all] Error 2
===

An invalid conversion sounds like not being a external problem.
Comment 1 Jakub Stachowski 2006-12-24 22:40:43 UTC

*** This bug has been marked as a duplicate of 134212 ***