From: Arjen M. <arj...@de...> - 2013-09-06 13:35:27
|
Hi Andrew, yes, this is exactly the sort of error I get. I think that a convenient solution is to change the order of inclusion. I will try that ... yes, that solved the compiler issue. Now the linker is complaining about a few missing symbols (SetBkColor and ExtTextOutA). Solving these problems is the next step. Thanks, Arjen On Fri, 06 Sep 2013 14:18 +0100 Andrew Ross <and...@us...> wrote: > 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 > DISCLAIMER: This message is intended exclusively for the addressee(s) and may contain confidential and privileged information. If you are not the intended recipient please notify the sender immediately and destroy this message. Unauthorized use, disclosure or copying of this message is strictly prohibited. The foundation 'Stichting Deltares', which has its seat at Delft, The Netherlands, Commercial Registration Number 41146461, is not liable in any way whatsoever for consequences and/or damages resulting from the improper, incomplete and untimely dispatch, receipt and/or content of this e-mail. |