🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.programmer
Article #1004

UNIX C Pragma Directive

#1004
From: David Lau
Date: Thu, 11 Oct 1990 22:34
13 lines
905 bytes
I'm running AT&T UNIX System V, version 3.1?.  The developer's
package includes some .h files which hold #pragma directives, in
particular

#pragma pack(1)
...
#pragma

When I try to compile including any one of these .h files, I get an
"unknown syntax"-type of error.  Would someone tell me how I can get
my code to compile, whether through some flag or another means?

Thanks.
Technical Details
Message-ID: <13213@sdcc6.ucsd.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!ucsd!sdcc6!sdcc13!dlau
References: <14976@hydra.gatech.EDU> <2714A558.14A8@marob.masa.com> <1990Oct11.221853.26261@mlb.semi.harris.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!ucsd!sdcc6!sdcc13!dlau
From: dlau@sdcc13.ucsd.edu (David Lau)
Newsgroups: comp.unix.programmer
Subject: UNIX C Pragma Directive
Message-ID: <13213@sdcc6.ucsd.edu>
Date: 11 Oct 90 22:34:35 GMT
References: <14976@hydra.gatech.EDU> <2714A558.14A8@marob.masa.com> <1990Oct11.221853.26261@mlb.semi.harris.com>
Sender: news@sdcc6.ucsd.edu
Organization: University of California, San Diego
Lines: 13
Nntp-Posting-Host: sdcc13.ucsd.edu