Ticket #99 (closed defect: wontfix)
No zero value in AvahiClientFlags enum
| Reported by: | tpot | Owned by: | lennart |
|---|---|---|---|
| Milestone: | Component: | avahi-client | |
| Keywords: | Cc: |
Description
I'm using the client-publish-services example to create a DNS-SD client that registers services, but under gcc/g++ 4.1 the example's usage of avahi_client_new() does not compile.
ExperimentalProviders?/DNSSDClient/DNSSDClient.cpp: In member function 'virtual void hpwbem::DNSSDClientProvider::initialize(Pegasus::CIMOMHandle&)': ExperimentalProviders?/DNSSDClient/DNSSDClient.cpp:60: error: invalid conversion from 'int' to 'AvahiClientFlags?'
A simple patch adding a zero value to the enum fixes things (attached).
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
