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

------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
_______________________________________________
Plplot-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to