Xref: news-dnh.mv.net comp.os.msdos.djgpp:3606 Path: news-dnh.mv.net!mv!news.sprintlink.net!newsfeed.internetmci.com!howland.reston.ans.net!news.nic.surfnet.nl!tuegate.tue.nl!turtle.stack.urc.tue.nl!jan From: jan AT stack DOT urc DOT tue DOT nl (Jan Oonk) Newsgroups: comp.os.msdos.djgpp Subject: #PRAGMA's .... ahhhh! Date: 4 Dec 1995 09:52:35 GMT Organization: MCGV Stack, Eindhoven University of Technology, the Netherlands. Lines: 14 Nntp-Posting-Host: turtle.stack.urc.tue.nl To: djgpp AT sun DOT soe DOT clarkson DOT edu Dj-Gateway: from newsgroup comp.os.msdos.djgpp 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? CU! and thanks in advance... Trax/SPiRiT! ------------------------------------------------------------ Mail me if you want to have our cool OBJ2COFF package and/or Full Screen Debugger with GRAPHICS support ------------------------------------------------------------