Path: utzoo!attcan!uunet!husc6!rutgers!rochester!udel!mmdf From: AXDRW%ALASKA.BITNET@cunyvm.cuny.edu (Don R. Withey) Newsgroups: comp.sys.amiga Subject: Bug in Lattice 5.0? Message-ID: <5668@louie.udel.EDU> Date: 25 Nov 88 17:02:48 GMT Sender: mmdf@udel.EDU Lines: 29 I found something interesting today while running an old project through the new Lattice 5.0 compiler. I have some definitions amounting to: AltColor = "\x9B0;33m" When I use this say in {printf("%s\n", AltColor);} I get a warning: "Warning 121: Hex constant too large for char (high bits will be lost)" Is this a bug, or am I getting bitten by another difference due to ANSI? Can anyone tell me how I can get around this with out resorting to: AltColor = "\x1B[0;33m" Thanks Don P.S. This works fine with 4.01 ---------------------------------------------------------------- Don R Withey BITNET: AXDRW@ALASKA.BITNET University of Alaska BIX: dwithey 3211 U.A.A. Drive Anchorage, Alaska 99508 907-786-1074 (work) 907-277-9063 (home) 907-274-6378 (other home) ----------------------------------------------------------------- Any expressed opinion is my own and in no way represent those of my employer, the University of Alaska.