[MOD] STR #4087: cups svn head does not build if HAVE_DNSSD is undefined

Andreas K. H??ttel <[email protected]>
Newsgroups gmane.comp.printing.cups.bugs
Message-ID <[email protected]>
DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Building trunk at revision 10469.
cups svn head does not build if HAVE_DNSSD is undefined:

Compiling dirsvc.c...
Compiling env.c...
cert.c: At top level:
cc1: warning: unrecognized command line option "-Wno-tautological-compare"
[enabled by default]
Compiling file.c...
client.c: In function 'cupsdReadClient':
client.c:1750:12: warning: ignoring return value of 'fchown', declared
with attribute warn_unused_result [-Wunused-result]
client.c:2127:12: warning: ignoring return value of 'fchown', declared
with attribute warn_unused_result [-Wunused-result]
Compiling main.c...
dirsvc.c: In function 'cupsdDeregisterPrinter':
dirsvc.c:143:60: error: 'DNSSDMaster' undeclared (first use in this
function)
dirsvc.c:143:60: note: each undeclared identifier is reported only once
for each function it appears in
dirsvc.c:144:5: warning: implicit declaration of function
'dnssdDeregisterPrinter' [-Wimplicit-function-declaration]
dirsvc.c: In function 'cupsdRegisterPrinter':
dirsvc.c:163:48: error: 'DNSSDMaster' undeclared (first use in this
function)
dirsvc.c:164:5: warning: implicit declaration of function
'dnssdRegisterPrinter' [-Wimplicit-function-declaration]
Compiling ipp.c...
dirsvc.c: At top level:
cc1: warning: unrecognized command line option "-Wno-tautological-compare"
[enabled by default]
make[1]: *** [dirsvc.o] Error 1
make[1]: *** Waiting for unfinished jobs....
Compiling listen.c...
main.c: In function 'main':
main.c:406:10: warning: ignoring return value of 'chdir', declared with
attribute warn_unused_result [-Wunused-result]
main.c: At top level:
cc1: warning: unrecognized command line option "-Wno-tautological-compare"
[enabled by default]
ipp.c: In function 'copy_banner':
ipp.c:4818:9: warning: ignoring return value of 'fchown', declared with
attribute warn_unused_result [-Wunused-result]
ipp.c: In function 'save_auth_info':
ipp.c:9858:9: warning: ignoring return value of 'fchown', declared with
attribute warn_unused_result [-Wunused-result]
client.c: At top level:
cc1: warning: unrecognized command line option "-Wno-tautological-compare"
[enabled by default]
ipp.c: At top level:
cc1: warning: unrecognized command line option "-Wno-tautological-compare"
[enabled by default]
make: *** [all] Error 1

Link: http://www.cups.org/str.php?L4087
Version: 1.6-current
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.