constant signed/unsigned comparison warning

Kaveh R. Ghazi ghazi@caip.rutgers.edu
Wed Sep 24 13:21:00 GMT 1997


 > 4) Make sizeof() be standard-as-The-Book-says unsigned. Make __sizeof__
 > behave like I proposed. People who want the incompatible thing can just
 > #define sizeof(x) __sizeof__(x)
 > and be sure that other, non-GCC, compilers will barf (because they don't
 > know zilch about any __sizeof__). Everybody wins. Hopefully.

	If you're going to suggest __sizeof__ be a signed quantity,
perhaps it should be called __ssizeof__. 

		--Kaveh
--
Kaveh R. Ghazi				Project Manager
ghazi@caip.rutgers.edu			ICon CMT Corp.



More information about the Gcc mailing list