Date: Wed, 18 Mar 1998 19:28:43 +0200 (IST) From: Eli Zaretskii 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: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk 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.