delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2011/05/23/00:45:52

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: Jim Michaels <jmichae3 AT yahoo DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: issue with 4.5.3 beta, 4.5.2 beta
Date: Sun, 22 May 2011 21:30:06 -0700 (PDT)
Organization: http://groups.google.com
Lines: 13
Message-ID: <1b5aeeeb-ffaa-42ce-88c4-ec8773bcceef@j13g2000pro.googlegroups.com>
NNTP-Posting-Host: 24.22.56.37
Mime-Version: 1.0
X-Trace: posting.google.com 1306125007 17511 127.0.0.1 (23 May 2011 04:30:07 GMT)
X-Complaints-To: groups-abuse AT google DOT com
NNTP-Posting-Date: Mon, 23 May 2011 04:30:07 +0000 (UTC)
Complaints-To: groups-abuse AT google DOT com
Injection-Info: j13g2000pro.googlegroups.com; posting-host=24.22.56.37; posting-account=05hOMwoAAAB6R8xtiQKzEljSMzgOhVF1
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows NT 5.1; rv:2.0.1) Gecko/20100101 Firefox/4.0.1,gzip(gfe)
Bytes: 1585
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

I have a program and small library that I recently worked the bugs out
of to my best understanding.
I included a lot of debug output using #if defined(_DEBUG).
that debug ouput is flushed at every instance.
the library output shows with -g compiler switch, but not without.
the main program's debug output always shows.

can someone explain this?  I have the #define on in both the library
file and the main source and the header file.
I think I am running into a compiler bug.

and this doesn't happen with mingw-w64 (a gnu compiler for windows).

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019