From: "Mark E." To: djgpp-workers AT delorie DOT com Date: Tue, 26 Jun 2001 10:55:11 -0400 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: gcc 3.0 released Message-ID: <3B386A0F.14316.3F2111@localhost> References: <3B376547 DOT 14699 DOT 24583 AT localhost> In-reply-to: X-mailer: Pegasus Mail for Win32 (v3.12c) Reply-To: djgpp-workers AT delorie DOT com > ! if (sym[i].e_scnum == 0) This test is big (imo of course). It should also test whether the symbol is actually external before complaining. I suggest the following (not-tested): if (sym[i].e_sclass == C_EXT && sym[i].e_scnum == 0) Section symbols like '.comment' have an e_sclass of C_STAT and an e_type of T_NULL, so this test should fix the .comment problem at the same time.