DEVICE_STATUS_TIMEOUT undeclared
Jef Driesen
jefdriesen at telenet.be
Tue Aug 28 06:30:29 UTC 2012
On 28-08-12 08:12, Henrik wrote:
> Den 27.08.12 23:18, skrev Jef Driesen:
>> I have committed another change to the master branch. There is now a
>> new dc_context_t object that is intended to initialize and shutdown
>> the library. All public interfaces have been changed to include a
>> context pointer as one of their arguments. If you are using the
>> dc_device_open() and dc_parser_new() functions, you'll only have to
>> update the dc_device_open() call, because the context pointer is
>> automatically inherited.
>
> Hi Jef.
>
> When I compile the new libdivecomputer on MacOSX 10.8, I get the
> following error:
>
> CC atomics_cobalt.lo
> atomics_cobalt.c: In function ‘atomics_cobalt_device_version’:
> atomics_cobalt.c:224: error: ‘DEVICE_STATUS_TIMEOUT’ undeclared (first
> use in this function)
> atomics_cobalt.c:224: error: (Each undeclared identifier is reported
> only once
> atomics_cobalt.c:224: error: for each function it appears in.)
> atomics_cobalt.c:224: error: ‘DEVICE_STATUS_IO’ undeclared (first use in
> this function)
> atomics_cobalt.c: In function ‘atomics_cobalt_read_dive’:
> atomics_cobalt.c:280: error: ‘DEVICE_STATUS_TIMEOUT’ undeclared (first
> use in this function)
> atomics_cobalt.c:280: error: ‘DEVICE_STATUS_IO’ undeclared (first use in
> this function)
> make[3]: *** [atomics_cobalt.lo] Error 1
> make[2]: *** [all] Error 2
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
>
> The only references to DEVICE_STATUS_TIMEOUT and DEVICE_STATUS_IO I can
> find is in atomics_cobalt.c. What am I missing?
I noticed this too. I made a mistake during merging the bugfixes from the
release-0.1 branch. No idea why I didn't notice this before pushing the changes
yesterday. I guess I was half asleep already :-) Anyway, the fix will be
available in a couple of minutes.
Jef
More information about the Devel
mailing list