delorie.com/archives/browse.cgi | search |
Date: | Sun, 1 Jun 1997 16:20:44 +0300 (IDT) |
From: | Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> |
To: | "Cameron J. Mallory" <mallory AT wcug DOT wwu DOT edu> |
cc: | djgpp AT delorie DOT com |
Subject: | Re: Problems with u_char |
In-Reply-To: | <338EF81E.320F@wcug.wwu.edu> |
Message-ID: | <Pine.SUN.3.91.970601162021.24182M-100000@is> |
MIME-Version: | 1.0 |
On Fri, 30 May 1997, Cameron J. Mallory wrote: > u_char buf[4]; > > > Get compile error: > C:\cs460\PROG>gcc -o saddleba saddleba.c > saddleba.c: In function `getdiskparm': > saddleba.c:32: `u_char' undeclared (first use this function) `u_char' is a non-standard type, and DJGPP doesn't declare it. You need to declare it yourself, like so: typedef unsigned char u_char;
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |