www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/12/05/22:57:11

Xref: news-dnh.mv.net comp.os.msdos.djgpp:3614
Path: news-dnh.mv.net!mv!news.sprintlink.net!news.zeitgeist.net!cygnus.com!kithrup.com!news.Stanford.EDU!agate!howland.reston.ans.net!nntp.coast.net!news00.sunet.se!sunic!news99.sunet.se!news.uni-c.dk!diku.dk!terra
From: terra AT diku DOT dk (Morten Welinder)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: #PRAGMA's .... ahhhh!
Date: 4 Dec 1995 14:41:22 GMT
Organization: Department of Computer Science, U of Copenhagen
Lines: 16
Sender: terra AT tyr DOT diku DOT dk
References: <49ugd3$mfv AT tuegate DOT tue DOT nl>
Nntp-Posting-Host: odin.diku.dk
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Dj-Gateway: from newsgroup comp.os.msdos.djgpp

jan AT stack DOT urc DOT tue DOT nl (Jan Oonk) writes:

>Ok ok ... I have this cool portable c-source which is VERY big and it
>contains #pragma pack(1) and #pragma pack(). This is because of the
>'hardware' structs. I read the info stuff of DJGPP and it said that it's
>generally a bad idea to use #pragma but as I said it isn't my source :)
>I know I can edit the HUGE source to add to the hardware structs the
>__attribute__ ((packed)) but I don't have 1 year to edit :)

>Anyone know how to solve this?


Get gcc 2.7.1.  It has an option for this.  You might have to
compile it yourself, though.

Morten

- Raw text -


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