www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/08/11/06:25:05

From: bxkim AT camars DOT kaist DOT ac DOT kr (Kim Byung Ho)
Subject: Re: packed structs
To: mcastle AT umr DOT edu (Mike Castle)
Date: Thu, 11 Aug 94 17:30:02 KST
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu

According to Mike Castle:
> 
> Amazingly enough Kimberley Burchett said:
> > 
> > 
> >   Is there any other way to pack a struct other than use __attribute__
> > ((packed)) on every single one?  I tried #defining PACK for a shortcut, 
> 
> #pragma pack
> 
> ?????
> 

In gcc, the #pragma is not supported except
only once file including, isn't it ?


Byungho Kim.

 		 Department of Computer Science
	   Center for Artificial Intelligence Research
        Korea Advanced Institute of Science and Technology
       373-1, Kusong-Dong, Yusung-Gu, Taejon 305-701, Korea

  		Internet : bxkim AT camars DOT kaist DOT ac DOT kr 
  	           Voice :  +082-042-869-3552  
  	    	     Fax :  +082-042-869-3510       

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019