On 21 August 2015 at 22:54, Robert C. Helling <[email protected]> wrote: > Lubomir, > > On 21 Aug 2015, at 21:44, Lubomir I. Ivanov <[email protected]> wrote: > > i have the latest branches from the libdivecomputer fork > (git://subsurface-divelog.org/libdc): > master > Subsurface-testing > > i do see the header <custom_serial.h> but the struct > dc_serial_operations_t is missing the set_timeout field. > > > I also had the problem compiling the latest subsurface but pulling > libdivecomputer worked for me, the field was introduced in commit 0541770a > of libdivercomputer.
alright - apparently i was missing this commit. thanks. > > I do, however, get warnings > > In file included from suunto_solution.c:30: > ./serial.h:31:25: warning: redefinition of typedef 'serial_t' is a C11 > feature > [-Wtypedef-redefinition] > typedef struct serial_t serial_t; > > in many places. Those are warnings, so I get a library, but it sounds to me > that this could indicate a bug as well. > it's a valid warning and funnily i read somewhere that you may have to tell the C compiler (prior to C11): please typedef struct serial_t serial_t; it probably ends up doing the right thing, but if you want to disable the warning use -Wno-typedef-redefinition or just do a libdc patch. lubomir -- _______________________________________________ subsurface mailing list [email protected] http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface
