Article View: gnu.gcc.help
Article #53492Data alignment problem
From: davenport
Date: Mon, 30 Dec 1991 16:19
Date: Mon, 30 Dec 1991 16:19
12 lines
1168 bytes
1168 bytes
I need to be able to compile a C file on Unix which accesses data defined with VAXC alignment. I'm unable to compile the entire file with -mvaxc-alignment as the source file makes use of Unix primitives (which require default structure alignment). What I'd like to have is something like a #pragma vaxc-alignment and #pragma default-alignment to enable/disable vaxc-alignment for a section of code. Has anybody encountered this problem, and have a solution or recommendations on a soultion? Any help would be appreciated. Bill Davenport
Technical Details
Message-ID:
<5050@shodha.enet.dec.com>Path:
arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!decwrl!pa.dec.com!shodha.enet.dec.com!tabsco.enet.dec.com!davenportShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,758b36e65d2ec8e5,start X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1991-12-30 11:26:56 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!decwrl!pa.dec.com!shodha.enet.dec.com!tabsco.enet.dec.com!davenport From: davenport@tabsco.enet.dec.com Newsgroups: gnu.gcc.help Subject: Data alignment problem Keywords: alignment, vaxc-alignment Message-ID: <5050@shodha.enet.dec.com> Date: 30 Dec 91 16:19:34 GMT Sender: news@shodha.enet.dec.com Reply-To: davenport@tabsco.enet.dec.com () Organization: Digital Equipment Corporation Lines: 12