I'm still using Visual Studio 2010 which doesn't like C99 syntax.
GnuCOBOL clones should respect the... law! :-)
Example from your latest code...
...on...
https://github.com/OCamlPro/gnucobol (mlio.c)
cob_field_attr attr;
cob_field edited_field = { .size = len, .data = p, .attr = &attr };
...should be converted to...
cob_field_attr attr;
/* PATCH BEGIN: Convert C99 to C89 (cob_field) */
/*
typedef struct __cob_field {
size_t size; // Field size
unsigned char *data; // Pointer to field data
const cob_field_attr *attr; // Pointer to attribute
} cob_field;
*/
//cob_field edited_field = { .size = len, .data = p, .attr = &attr };
cob_field edited_field = { len, p, &attr };
/* PATCH END */
Just saying! ;-)
:-)
I'm still using Visual Studio 2010 which doesn't like C99 syntax.
GnuCOBOL clones should respect the... law! :-)
Example from your latest code...
...on...
https://github.com/OCamlPro/gnucobol (mlio.c)
...should be converted to...
Just saying! ;-)
:-)