I started to update the example listed here

https://www.ibphoenix.com/resources/documents/design/doc_178


Here is a version that i can compile on ubuntu 14.04

https://gist.github.com/mariuz/efc321ba8a38929a5541


gcc main.c -lfbclient
main.c: In function ‘main’:
main.c:36:3: warning: passing argument 4 of ‘isc_service_attach’ from
incompatible pointer type [enabled by default]
   if (isc_service_attach (status, 0, svc_name, &svc_handle, spblen,
spb_buff))
   ^
In file included from main.c:5:0:
/usr/include/ibase.h:1347:23: note: expected ‘isc_svc_handle *’ but
argument is of type ‘isc_svc_handle **’
 ISC_STATUS ISC_EXPORT isc_service_attach(ISC_STATUS*,
                       ^
------------------------------------------------------------------------------
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to