delorie.com/archives/browse.cgi | search |
Delivered-To: | listarch-cygwin AT sourceware DOT cygnus DOT com |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
Delivered-To: | mailing list cygwin AT sourceware DOT cygnus DOT com |
To: | gnu-win32 AT cygnus DOT com |
Subject: | Problem with Status struct member in Windows32/Structures.h |
From: | Levon Saldamli <levon AT lysator DOT liu DOT se> |
Date: | 03 Feb 1999 12:18:32 +0100 |
Message-ID: | <7wd83renw7.fsf@sandra.lysator.liu.se> |
Lines: | 31 |
X-Mailer: | Gnus v5.5/Emacs 20.3 |
I get the following errors while compiling: include\Windows32/Structures.h:2462: extraneous int ignored include\Windows32/Structures.h:2462: warning: empty declaration include\Windows32/Structures.h:2508: extraneous int ignored include\Windows32/Structures.h:2508: warning: empty declaration include\Windows32/Structures.h:3480: extraneous int ignored include\Windows32/Structures.h:3480: warning: empty declaration The only thing common for above errors is the line DWORD Status; in Structures.h I guess the problem is the code below from X11/Xlib.h #if defined(__WIN32__) || defined(_WIN32) typedef int Status; #else #define Status #endif I am sure the typedef is used in this case but it doesn't seem to help. I am using Cygnus B20.1 (egcs 2.91.57) Thanks in advance for comments. -- /Levon Saldamli
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |