www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/03/18/12:31:50

Date: Wed, 18 Mar 1998 19:28:43 +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: <663C9241F5@fs2.mt.umist.ac.uk>
Message-ID: <Pine.SUN.3.91.980318192739.22477A-100000@is>
MIME-Version: 1.0

On Tue, 17 Mar 1998, Anthony.Appleyard wrote:

> _.cc: In function `int main(int, char **)':
> _.cc:10: warning: passing `volatile char *' as argument 1 of
>     `strlen(const char *)' discards volatile
> _.cc:12: warning: passing `volatile char *' as argument 2 of
>     `strcpy(char *, const char *)' discards volatile
> _.cc:7: warning: variable `volatile char * T' might be clobbered by `longjmp'
>     or `vfork'

This seems to contradict the GCC docs.  I suggest to report this as a bug 
to the GCC maintainers.

- Raw text -


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