From: Jack Carico Newsgroups: comp.os.msdos.djgpp Subject: unions, help! Date: Tue, 31 Mar 1998 15:20:45 -0800 Organization: All USENET -- http://www.Supernews.com Lines: 24 Message-ID: <35217A4D.17B0@wwc.edu> NNTP-Posting-Host: 29251 AT 206 DOT 63 DOT 145 DOT 141 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 I am learning C and when I try to compile this example program through RHIDE I get the message "there were some errors". DJGPP seems to do this for any program that attempts to define a union. (example.c) #include int main() { union share { int i_face; char c_face[8]; }; union share jec_hyd; printf("%d\n",sizeof(jec_hyd)); return(0); } Thanks for any help. -Jack Carico