What's wrong with this?

Chuck Forsberg WA7KGX caf at omen.UUCP
Fri Mar 29 04:31:47 AEST 1991


The following (from sz.c and files included thereby) provokes a warning
suggesting the >> operator will change its meaning in the future.

How would this C mutation affect the value passed to zsendline() ?

zsendline(c) register c; {}

	register unsigned short crc;

		zsendline(crc>>8);

Will the meaning of + and - change sometime later?

I'm sure this can't be a bug in the SVR4 compiler...

Chuck Forsberg WA7KGX          ...!tektronix!reed!omen!caf 
Author of YMODEM, ZMODEM, Professional-YAM, ZCOMM, and DSZ
  Omen Technology Inc    "The High Reliability Software"
17505-V NW Sauvie IS RD   Portland OR 97231   503-621-3406
TeleGodzilla:621-3746 FAX:621-3735 CIS:70007,2304 Genie:CAF
-- 

"Compared to tanks, journalists are cheap - and you get more for your money."
		- Saddam Hussein



More information about the Comp.lang.c mailing list