From: Axel DOT Riese AT risc DOT uni-linz DOT ac DOT at (Axel Riese) Subject: How to avoid Warning: Redefinition of ... 18 Dec 1997 01:35:17 -0800 Message-ID: <199712180840.AA01499.cygnus.gnu-win32@melmac.risc.uni-linz.ac.at> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit To: gnu-win32 AT cygnus DOT com (GNU-Win32) Dear cygwiners, I managed to patch most of the headers from the latest Platform SDK to make them useable for gcc (i.e., the preprocessor doesn't produce errors). However, I came across the following problem: A lot of header files typedef some symbols more than once, thus producing warnings like ... Warning: redefinition of blah_blah ... ... blah_blah previously defined in ... Is there a way to avoid these warnings that is not contained in the following list: - adding for each typedef something like #define blah_blah_defined and checking #ifndef blah_blah_defined ... #endif - forgetting about the Microsoft headers - closing my eyes during preprocessing and ignoring the warnings Any suggestions appreciated, Axel =========================================================================== Axel Riese Research Institute for Symbolic Computation J. Kepler University Linz A-4040 Linz e-Mail: Axel DOT Riese AT risc DOT uni-linz DOT ac DOT at Austria URL: http://www.risc.uni-linz.ac.at/people/ariese/home/ =========================================================================== - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".