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 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: References: 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 Soviet_Mario 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 Working, but not speaking, for Philips Healthcare void Void(void) { Void(); } /* The recursive call of the void */