From: pavenis AT lanet DOT lv To: Eli Zaretskii , djgpp-workers AT delorie DOT com Date: Thu, 21 Jun 2001 13:24:26 +0300 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: Mysterious id in dbgcom.c Message-ID: <3B31F58A.23211.436FF6@localhost> References: <3B31D949 DOT 8451 DOT 538478 AT localhost> In-reply-to: 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