From: Andrew R. <and...@us...> - 2013-09-06 13:18:03
|
On Friday 06 Sep 2013 12:11:08 Arjen Markus wrote: > Hi, > > in an effort to pick up the Cygwin work again, I have > updated my installation and now could successfully install > Cairo and friends. And CMake recognises it. > > But in the make step things fall apart: > > In a file rpcdce.h, included by rpc.h and windows.h (the > latter in cairo.c) the compiler complains about a bunch of > typedefs. To make a long and tedious story short, it > complains about the name of an argument in these function > typedefs: "Status". > > If I change that to something like XXStatus, the error > messages disappear. I am not aware of a specific meaning > or a reserved status (sorry, no pun intended) for > "Status". Is it a reserved word, indeed? Can anyone shed > light on this? > > (This happens in header files that belong to Cygwin, so it > is not a PLplot issue perse - it just appears with PLplot > and Cairo.) Arjen, I'm pretty sure this is not a reserved keyword in C and I've not had problems so it must be something specific to Cygwin. >From a quick google search it looks like this thread might be relevant? http://cygwin.1069669.n5.nabble.com/Another-issue-with-CLANG-td95346.html Problem in this case seems to come from mixing windows native and X11 headers. Both define Status differently. There are a number of other google hits with similar problems. Andrew |