🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #4107

bit fields

#4107
From: Paul D. Eccles
Date: Mon, 25 Sep 1995 19:17
21 lines
1124 bytes
Do bit fields have to be of type unsigned int or can I use an enum, unsigned
short, or unsigned char?  My compilers (gcc 2.6.3 and HP cc) let me use all
of them without complaint.

Thanks
Paul
(pde@sd.inri.com)

--
	First they came for the hackers. But I never did anything
illegal with my computer, so I didn't speak up.
	Then they came for the pornographers. But I thought there was
too much smut on the Internet anyway, so I didn't speak up.
	Then they came for the anonymous remailers. But a lot of nasty
stuff gets sent from anon.penet.fi, so I didn't speak up.
	Then they came for the encryption users. But I could never
figure out how to work PGP anyway, so I didn't speak up.
	Then they came for me. And by that time there was no one left
to speak up.

Alara Rogers, Aleph Press
Technical Details
Message-ID: <446v7l$jn4@gozer.inri.com>
Path: arc1-ca.pugleaf.net!gozer.inri.com!zymurgy!pde

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!gozer.inri.com!zymurgy!pde
From: pde@zymurgy (Paul D. Eccles)
Newsgroups: comp.std.c
Subject: bit fields
Date: 25 Sep 1995 19:17:09 GMT
Organization: Inter-National Research Institute
Message-ID: <446v7l$jn4@gozer.inri.com>
NNTP-Posting-Host: zymurgy.sd.inri.com
X-Newsreader: TIN [version 1.2 PL2]