delorie.com/archives/browse.cgi | search |
From: | pavenis AT lanet DOT lv |
To: | Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>, djgpp-workers AT delorie DOT com |
Date: | Thu, 21 Jun 2001 13:24:26 +0300 |
MIME-Version: | 1.0 |
Subject: | Re: Mysterious id in dbgcom.c |
Message-ID: | <3B31F58A.23211.436FF6@localhost> |
References: | <3B31D949 DOT 8451 DOT 538478 AT localhost> |
In-reply-to: | <Pine.SUN.3.91.1010621130348.9042A-100000@is> |
X-mailer: | Pegasus Mail for Win32 (v3.12c) |
Reply-To: | djgpp-workers AT delorie DOT com |
On 21 Jun 2001, at 13:06, Eli Zaretskii wrote: > > On Thu, 21 Jun 2001 pavenis AT lanet DOT lv wrote: > > > dbgcom.c:113:8: warning: multi-line string literals are deprecated > > It wants a \n\ at the end of each line. > I know. Simply I haven't patched sources yet as it doesn't stop build. > > + (void) id; > > Wait until GCC begins to bitch about "expression has no effect" ;-) At least it works with gcc-3.0 and earlier versions. I don't know what will happen after some years. At least now it seems that explicitly casting the result to void removes the warning 'warning: statement with no effect'. What is said about this in C standard? Andris
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |