X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.4 required=5.0 tests=AWL,BAYES_20,SPF_PASS X-Spam-Check-By: sourceware.org Message-ID: <49B9E5E8.9040606@gmail.com> Date: Fri, 13 Mar 2009 04:49:44 +0000 From: Dave Korn User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: w32api: incompatible with gcc-4.3 References: <49B9CA2C DOT 9050902 AT users DOT sourceforge DOT net> In-Reply-To: <49B9CA2C.9050902@users.sourceforge.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Yaakov (Cygwin/X) wrote: > Trying to compile XWin with cygwin-1.7.0-43, gcc-4.3.2-2 and w32api-3.13-1: > > /usr/lib/gcc/i686-pc-cygwin/4.3.2/../../../../include/w32api/winspool.h:255: > error: two or more data types in declaration specifiers > Each of those lines read "DWORD Status;". rofl. Not after preprocessing they don't: typedef struct _JOB_INFO_1A { DWORD JobId; LPSTR pPrinterName; LPSTR pMachineName; LPSTR pUserName; LPSTR pDocument; LPSTR pDatatype; LPSTR pStatus; DWORD int; ^^^^^^^^^^^^ ! DWORD Priority; DWORD Position; DWORD TotalPages; DWORD PagesPrinted; SYSTEMTIME Submitted; } JOB_INFO_1A,*PJOB_INFO_1A,*LPJOB_INFO_1A; Somewhere, someone has typed "#define Status int". You might try building the pre-processed source again with something like "-dD" to see where it's coming from. cheers, DaveK -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/