Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Authentication-Warning: jean.mailgate.net: jean set sender to jean AT infosat DOT net using -f Date: Wed, 9 Jan 2002 16:07:09 +0200 From: Jean le Roux To: egor duda Subject: Re: w32api header problems Message-ID: <20020109160709.A21489@infosat.net> References: <20020109115348 DOT A14411 AT infosat DOT net> <67136319166 DOT 20020109130747 AT logos-m DOT ru> <20020109133833 DOT A20443 AT infosat DOT net> <66149490876 DOT 20020109164718 AT logos-m DOT ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <66149490876.20020109164718@logos-m.ru>; from deo@logos-m.ru on Wed, Jan 09, 2002 at 04:47:18PM +0300 On Wed, Jan 09, 2002 at 04:47:18PM +0300, egor duda wrote: ... > JlR> I've done this but seems to leave my code in a tangle :) > JlR> I suddenly have parse errors in my own header files, on normal > JlR> function declerations. I can only deduce that windows.h is leaving an > JlR> open ifdef or has unterminated strings or something silly. > > it's easy to find out what the reason is. gcc has a very useful option > '--save-temps'. it instructs preprocessor, compiler and assembler to > leave their temporary files in place, so if you compiling, say, zzz.c, > you'll get zzz.i (output of preprocessor), zzz.s (assembly source -- > output of compiler) and zzz.o (compiled binary object). You want to > look into zzz.i it shows what your source file turns into, and it's > almost always easy to see why. Fair enough.. but how do i turn it on with autotools.. configure does not seem to support such a flag. -- Jean le Roux Binary Entropy Catalyst Cellular: 083 505 6443 A sad spectacle. If they be inhabited, what a scope for misery and folly. If they be not inhabited, what a waste of space. -- Thomas Carlyle, looking at the stars -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/