delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/03/17/03:37:06

Date: Tue, 17 Mar 1998 10:36:11 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Anthony DOT Appleyard AT umist DOT ac DOT uk
cc: DJGPP AT delorie DOT com
Subject: Re: Clobbered
In-Reply-To: <4AEC033B86@fs2.mt.umist.ac.uk>
Message-ID: <Pine.SUN.3.91.980317103554.17844F-100000@is>
MIME-Version: 1.0

On Mon, 16 Mar 1998, Anthony.Appleyard wrote:

>   main.cc: In function `int main(int, char **)':
>   main.cc:268: warning: passing `volatile char *' as argument 1 of
> `strlen(const char *)' discards volatile
>   main.cc:273: warning: passing `volatile char *' as argument 2 of
> `strcpy(char *, const char *)' discards volatile
>   main.cc:49: warning: variable `volatile char * T' might be clobbered by
> `longjmp' or `vfork'
 
Please post a minimal complete source that can be compiled and
reproduces the warning about clobbering.

- Raw text -


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