From: Peter O'G. <plp...@ml...> - 2006-07-06 12:48:05
|
Hi, We built plplot-5.6.1 on a number of platforms, and it was really portable, thanks. There was one minor issue which prevented compilation with any compiler other than gcc. When gcc sees excess elements in a struct initializer, it just issues a warning, on our other compilers an error is issued. When we looked to see where these excess elements were coming from, we found that they were in generated sources. The problem was a bad regex in the generator. It would add arguments to things like: { (char *)"plGetCursor", _wrap_plGetCursor, METH_VARARGS, NULL} giving; { (char *)"plGetCursor", _wrap_plGetCursor, METH_VARARGS, NULL, _doc_plGetCursor } instead of: { (char *)"plGetCursor", _wrap_plGetCursor, METH_VARARGS, _doc_plGetCursor } Pretty easy to fix once the issue was found. Thanks, Peter |