From: "John M. Aldrich" Newsgroups: comp.os.msdos.djgpp Subject: Re: Problems with u_char Date: Fri, 30 May 1997 22:22:19 +0000 Organization: Two pounds of chaos and a pinch of salt Lines: 26 Message-ID: <338F531B.E83@cs.com> References: <338EF81E DOT 320F AT wcug DOT wwu DOT edu> Reply-To: fighteer AT cs DOT com NNTP-Posting-Host: ppp105.cs.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Cameron J. Mallory wrote: > > Hello all, I have a question about declaring u_char things. > > The problem seems that gcc doesn't like me when I try that, > Here is the requested info. that was asked for from the web page There is no such data type in ANSI C. Perhaps you mean "unsigned char"? If so, that's what you should use. Alternatively, there is no reason why you can't do: typedef unsigned char u_char; or even #define u_char unsigned char Then, "u_char" will be a valid data type. -- --------------------------------------------------------------------- | John M. Aldrich, aka Fighteer I | mailto:fighteer AT cs DOT com | | God's final message to His Creation: | http://www.cs.com/fighteer | | "We apologize for the inconvenience."| <<< This tagline under >>> | | - Douglas Adams | <<< construction >>> | ---------------------------------------------------------------------