Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c++ > #69778

Re: [QT creator on "nix"] - getting a strict 8 bit (1 byte) array with no padding

Path csiph.com!newsfeed.xs4all.nl!newsfeed7.news.xs4all.nl!feeder.erje.net!2.eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From Keith Thompson <kst-u@mib.org>
Newsgroups comp.lang.c++
Subject Re: [QT creator on "nix"] - getting a strict 8 bit (1 byte) array with no padding
Date Sun, 24 Nov 2019 13:05:21 -0800
Organization None to speak of
Lines 19
Message-ID <lnmuclvvce.fsf@kst-u.example.com> (permalink)
References <qr4275$hk3$1@dont-email.me> <lnr221zqmu.fsf@kst-u.example.com> <lnimndzq3i.fsf@kst-u.example.com> <qr5tre$mhv$1@dont-email.me> <qr6dgn$j2c$1@dont-email.me> <qr7v3c$lvv$1@dont-email.me> <qr86ov$q9d$1@dont-email.me> <qr8deq$tm2$1@dont-email.me> <qr8gep$esf$1@dont-email.me> <qr8jeg$v7n$1@dont-email.me> <qr8pu5$657$1@dont-email.me> <qr99qg$ats$1@dont-email.me> <ln4kyvxh5k.fsf@kst-u.example.com> <qrb1ga$5ls$1@dont-email.me> <lnzhgmwd7n.fsf@kst-u.example.com> <qrcgr3$8gm$1@dont-email.me> <lnr21yw09k.fsf@kst-u.example.com> <qrdoe9$qdb$1@dont-email.me>
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
Injection-Info reader02.eternal-september.org; posting-host="e0930e6abf7d5b15723004258724c134"; logging-data="8093"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18WQRiDZcu1iq8LrVOAEnd/"
User-Agent Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)
Cancel-Lock sha1:oM06tpnqYiaWm37s6DukeARnkKU= sha1:WSeUnf4yWA3cbIVaDDGVq7zWAew=
Xref csiph.com comp.lang.c++:69778

Show key headers only | View raw


Soviet_Mario <SovietMario@CCCP.MIR> writes:
> On 24/11/2019 02:06, Keith Thompson wrote:
[...]
>> To be very clear, if you need an unsigned integer type of at least 8
>
> well strictly speaking I need a type of EXACTLY 8 bits, not more
>
>> bits, there is almost no good reason not to use uint8_t.  There is no
>> good reason to use some system-specific (or even undocumented)
>> equivalent.

Yes, I meant exactly.  I have no idea why I typed "at least".

[...]

-- 
Keith Thompson (The_Other_Keith) kst-u@mib.org  <http://www.ghoti.net/~kst>
Working, but not speaking, for Philips Healthcare
void Void(void) { Void(); } /* The recursive call of the void */

Back to comp.lang.c++ | Previous | Next | Find similar | Unroll thread


Thread

Re: [QT creator on "nix"] - getting a strict 8 bit (1 byte) array with no padding Keith Thompson <kst-u@mib.org> - 2019-11-24 13:05 -0800

csiph-web