Path: csiph.com!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: David Brown Newsgroups: sci.electronics.design Subject: Re: Arduino / compilers on uC Date: Tue, 07 Feb 2017 10:57:26 +0100 Organization: A noiseless patient Spider Lines: 19 Message-ID: References: <4bd745cb-5d48-4573-9a63-a9eec5a39b0d@googlegroups.com> <8e009733-967e-49af-8d0f-0e6f2833d021@googlegroups.com> <7DamA.29016$J93.12017@fx39.iad> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Injection-Date: Tue, 7 Feb 2017 09:55:40 -0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="7572029adc763cc352982600208e5b91"; logging-data="12577"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19JgOXWKGI5p7x7TYXXgq0n9Eb/AhEtw5g=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 In-Reply-To: Cancel-Lock: sha1:/vpWHejvJ2nZL/bp6KW8UMpTc58= Xref: csiph.com sci.electronics.design:446629 On 07/02/17 05:39, dagmargoodboat@yahoo.com wrote: > On Monday, February 6, 2017 at 9:51:50 PM UTC-5, bitrex wrote: >> >> Looks like whatever this issue is (I didn't read the entire thread) was >> noted and fixed in a more recent release: >> >> https://github.com/arduino/Arduino/issues/2147 > > I saw that they've been having problems with this, and had tried to > fix it in the past. My version's only a month or two old though, so, > there's a decent chance the damn thing's just plain broken. It appears to be fixed by #include in the Arduino.h header, rather than incorrectly and confusingly trying to make "boolean" an "uint8_t" in C and "bool" in C++. It would appear from this issue that Arduino originally used uint8_t for "boolean" even in C++, which is daft.