Could egcs warn at (int*)(int)(x)?

Tobias Polzin polzin00@marvin.informatik.uni-dortmund.de
Mon Dec 15 11:59:00 GMT 1997


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



More information about the Gcc mailing list