This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Could egcs warn at (int*)(int)(x)?
- To: egcs at cygnus dot com
- Subject: Re: Could egcs warn at (int*)(int)(x)?
- From: Tobias Polzin <polzin00 at marvin dot informatik dot uni-dortmund dot de>
- Date: Mon, 15 Dec 1997 20:59:41 +0100
- Reply-To: egcs at cygnus dot com
Sorry, I forgot to mention that it was a C++ program.
Obviously gcc warns about such problems, but g++ does not.
int* foo=(int*)((int)bar + delta);
Tobias Polzin