- Strange compiler warning... - 3 Updates
- Merry CHRISTmas! - 13 Updates
- Release of (X)Emacs CC Mode version 5.35 - 1 Update
- "Firsts in 2020 (or, A little dose of good news)" by Herb Sutter - 7 Updates
TDH1978 <thedeerhunter1978@movie.uni>: Dec 31 05:11PM -0500 I have the following piece of code: void clear_mac(uint8_t a[6]) { *a++ = 0; *a++ = 0; *a++ = 0; *a++ = 0; *a++ = 0; *a = 0; } This code compiled cleanly for the last 15 years. When I upgraded to the latest gcc/g++ 10.2.1 compiler on Fedora 33, I got the following warning: warning: writing 16 bytes into a region of size 6 [-Wstringop-overflow=] Does anyone know what the problem is? I tried using "0x00" instead of "0", to no avail. What "16 bytes" is the compiler referring to? |
Keith Thompson <Keith.S.Thompson+u@gmail.com>: Dec 31 02:24PM -0800 > warning: writing 16 bytes into a region of size 6 [-Wstringop-overflow=] > Does anyone know what the problem is? I tried using "0x00" instead of > "0", to no avail. What "16 bytes" is the compiler referring to? That's odd. I don't see the same warning with gcc 10.2.0 (built from source) on Ubuntu with any argument for the -Wstringop-overflow= option. There is no gcc 10.2.1 release (yet). There *shouldn't* be a warning for that code. The int value 0 is converted to uint8_t before being stored in *a, so it won't write past the bounds of a 6-element array. Can you show a complete self-contained source file that exhibits the problem (what you posted won't compile because uint8_t is not defined), along with the exact command line you used to compile it and the output of "gcc --version"? -- Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com Working, but not speaking, for Philips Healthcare void Void(void) { Void(); } /* The recursive call of the void */ |
Ian Collins <ian-news@hotmail.com>: Jan 01 11:52AM +1300 On 01/01/2021 11:11, TDH1978 wrote: > warning: writing 16 bytes into a region of size 6 [-Wstringop-overflow=] > Does anyone know what the problem is? I tried using "0x00" instead of > "0", to no avail. What "16 bytes" is the compiler referring to? A compiler bug? Which build are you running? If it was a bug, it may have been fixed already. There is no warning with the latest Ubuntu release (10.2.0) or with the latest snapshot (11.0.0 20201220). -- Ian. |
"Rick C. Hodgin" <rick.c.hodgin@gmail.com>: Dec 30 06:31PM -0500 On 12/30/20 5:20 PM, Ian Collins wrote: > https://www.smithsonianmag.com/science-nature/dinosaur-shocker-115306469/ > https://biologos.org/articles/soft-tissue-in-dinosaur-bones-what-does-the-evidence-really-say > https://letterstocreationists.wordpress.com/dinosaur-soft-tissue/ It's not debunked. It's damaged controlled. They've made over 80 separate finds now that people started looking for soft tissue. There's a war on for your mind. If you'll seek and follow the truth, you'll see the truth because Jesus is truth and He'll come to you teaching you all things you're able to receive. -- Rick C. Hodgin |
"Rick C. Hodgin" <rick.c.hodgin@gmail.com>: Dec 30 06:33PM -0500 On 12/30/20 5:27 PM, Mr Flibble wrote: > Fossils are not bones, fossils are mineral deposits (stone) and in the > case of dinosaur fossils have been dated to millions of years old using > radiometric dating. Traditional science teaches what you're espousing here with your loud voice. It's not true. We're also all going to find out soon enough that the view of Pangaea we've all seen is not true either. And that the gas giants are not gas giants. The truth speaks, Leigh. There's an enemy of God trying very hard to get everyone to stop seeking it. Stop listening to that enemy. Start seeking the truth. -- Rick C. Hodgin |
Ian Collins <ian-news@hotmail.com>: Dec 31 01:57PM +1300 On 31/12/2020 12:31, Rick C. Hodgin wrote: >> https://letterstocreationists.wordpress.com/dinosaur-soft-tissue/ > It's not debunked. It's damaged controlled. They've made over 80 > separate finds now that people started looking for soft tissue. The preservation mechanism is well understood (https://www.earthmagazine.org/article/dinosaur-soft-tissues-preserved-polymers and https://www.nature.com/articles/s41598-019-51680-1). Note that the nature paper is co-authoured by Mary Schweitzer, the rational Christian scientist who made the original discovery. You should read about her in order to understand her work and beliefs. A good place to start is https://thewell.intervarsity.org/voices/unlikely-paleontologist-interview-mary-schweitzer-part-1 Don't bother replying with dogma until you have read the articles and papers I have linked, they may help to open your eyes. > There's a war on for your mind. If you'll seek and follow the truth, Which I do. You are sounding more and more like a conspiracy theorist, unwilling to believe any evidence that goes against your ideas. Ideas which are based on eons old writing reinterpreted and translated by goodness knows how many people down the years to drive their own agendas. It is you who should open your mind to the wonders of the world revealed by science. -- Ian. |
"Rick C. Hodgin" <rick.c.hodgin@gmail.com>: Dec 30 08:22PM -0500 On 12/30/20 7:57 PM, Ian Collins wrote: >> separate finds now that people started looking for soft tissue. > Don't bother replying with dogma until you have read the articles and > papers I have linked, they may help to open your eyes. There are Christians at Answers in Genesis who are PhD scientists, geneticists. They publish regular videos and articles about the scientific findings. What you're seeing there is damage control. But, you'll find out soon enough. > goodness knows how many people down the years to drive their own agendas. > It is you who should open your mind to the wonders of the world revealed > by science. I recognize an agenda. I also have more input regarding the nature of our world than you accept. It doesn't come from "dogma" as you pejoratively state. It comes from an application of science applied to the teachings of the Bible applied to what we really see in our real world. The two align perfectly. The truth is coming out about these things, Ian. It's still being suppressed in mainstream circles. It's still being suppressed when there's big money involved, and of course the power over people's minds for the truth. But it doesn't matter... the truth is coming out. God is guiding His people to research and apply scientific methods to what our scientific instruments teach us. And we're finding they align with Biblical teaching perfectly, because God doesn't lie. -- Rick C. Hodgin |
"Chris M. Thomasson" <chris.m.thomasson.1@gmail.com>: Dec 30 05:53PM -0800 On 12/30/2020 10:40 AM, Rick C. Hodgin wrote: > People will always hear a Merry Christmas from me, and a Happy > Thanksgiving. >>> Thanks to Jesus: "Oh death, where is thy sting?" The "sting" is the actual process of passing away in certain scenarios. The sting can be the feeling of burning to death. Or as your holding your breath, knowing you are going to drown as soon as you breath again. |
"Chris M. Thomasson" <chris.m.thomasson.1@gmail.com>: Dec 30 06:11PM -0800 >> Labyrinth, Dragon Slayer > Not sure I'd use them as a guide to the future however :) Though Contagion > with Gywneth Paltrow got pretty close! Big time! |
"Chris M. Thomasson" <chris.m.thomasson.1@gmail.com>: Dec 30 06:14PM -0800 On 12/30/2020 10:50 AM, Rick C. Hodgin wrote: > Probably very few before. > The Biblical timeline is upheld when you research things to their > deepest revelations. Fish fossils atop the highest mountains. [...] The fish fossils on high mountains makes me think of plate tectonics. |
Mr Flibble <flibble@i42.REMOVETHISBIT.co.uk>: Dec 31 03:03AM On 30/12/2020 23:33, Rick C. Hodgin wrote: > Traditional science teaches what you're espousing here with your loud voice. It's not true. We're also all going to find out soon enough that the view of Pangaea we've all seen is not true either. And that the gas giants are not gas giants. > The truth speaks, Leigh. There's an enemy of God trying very hard to get everyone to stop seeking it. > Stop listening to that enemy. Start seeking the truth. And Satan invented fossils, yes? /Flibble -- 😎 |
Mr Flibble <flibble@i42.REMOVETHISBIT.co.uk>: Dec 31 03:05AM On 31/12/2020 01:22, Rick C. Hodgin wrote: > The two align perfectly. > The truth is coming out about these things, Ian. It's still being suppressed in mainstream circles. It's still being suppressed when there's big money involved, and of course the power over people's minds for the truth. But it doesn't matter... the truth is coming out. > God is guiding His people to research and apply scientific methods to what our scientific instruments teach us. And we're finding they align with Biblical teaching perfectly, because God doesn't lie. And Satan invented fossils, yes? /Flibble -- 😎 |
spudisnotyourbuddy@grumpysods.com: Dec 31 09:18AM On Wed, 30 Dec 2020 15:46:52 -0500 >> Open your eyes to the truth, look beyond your blinkered superstition and >> crackpot YouTube videos. >There are PhD scientists who believe in creation and explain what we see "Creation" is called the big bang. Though even that is looking like it wasn't the beginning of everything, just this particular part of reality which is part of something very much, possibly infinitely larger. My personal opinion is that if we were presented with the actual Truth about reality our evolved ape brains - even the smartest physicists - wouldn't be able to comprehend it. Its been 100 years since quantum mechanics was discovered and still no one can explain why or how, only what. |
Anton Shepelev <anton.txt@gmail.com>: Dec 31 05:10PM +0300 Mr Flibble: > > > A Mickle Merry Christmas to you and everyone! > > A Mickle Merry Christmas to you as well! > Get a fucking room. Do not get me wrong. I disapprove of Rick's sermons in non- Christian newsgroups as everybody else, and have asked him (wihout effect) to please abstain because they only annoy people. Observe also that I did not reply to the essesnce of his post, but only gave back my good wishes of the season and made a remark about English usage. A wish of a Merry Christmas is no worse than a wish of a Happy New Year and does not deserve a negative reaction from an atheist, Muslim, or Judaist. X-mas for Christmas is as disparaging as `app' for `program' or `selfie' for self-portrait. Futhermore, like `donut' for `dough-nut', the primitivised spelling conceals the meaning of the word. Lest I provoke more hatred, this is my last post in this thread. -- () ascii ribbon campaign -- against html e-mail /\ http://preview.tinyurl.com/qcy6mjc [archived] |
"Rick C. Hodgin" <rick.c.hodgin@gmail.com>: Dec 31 10:08AM -0500 On 12/31/20 9:10 AM, Anton Shepelev wrote: > Lest I provoke more hatred, this is my last post in this > thread. REG: We-- we need doers in our movement, Brian, but... before you join us, know this: there is not one of us here who would not gladly suffer death to rid this country of the Romans once and for all. COMMANDO: Uhh. Well, one. REG: Oh, yeah. Yeah, there's one, but otherwise, we're solid. Are you with us? ----- If you're a believer in Jesus Christ, Anton, teach people. Time is short. And people are important. -- Rick C. Hodgin |
Mr Flibble <flibble@i42.REMOVETHISBIT.co.uk>: Dec 31 09:43PM On 31/12/2020 15:08, Rick C. Hodgin wrote: > Are you with us? > ----- > If you're a believer in Jesus Christ, Anton, teach people. Time is short. And people are important. And Satan invented fossils, yes? /Flibble -- 😎 |
Alan Mackenzie <acm@muc.de>: Dec 31 09:24PM Release Announcement CC Mode Version 5.35 Alan Mackenzie This message announces the availability of a new version of CC Mode, an Emacs and XEmacs mode for editing C (ANSI and K&R), C++, Objective-C, Java, CORBA's IDL, Pike and AWK code. A list of user visible changes is detailed in the NEWS file and in the URL listed below. More information, including links to download the source, are available on the CC Mode web page: <http://cc-mode.sourceforge.net/> Send email correspondence to bug-cc-mode@gnu.org For a list of changes please see <http://cc-mode.sourceforge.net/changes-535.php> |
Lynn McGuire <lynnmcguire5@gmail.com>: Dec 30 06:26PM -0600 On 12/30/2020 5:17 PM, Lynn McGuire wrote: > lifting to drive important features like concepts into Standard C++!" > https://www.amazon.com/Design-Evolution-C-Bjarne-Stroustrup/dp/0201543303 > Lynn I just wish that we could get a Standard User Interface Toolkit now. Lynn |
Ian Collins <ian-news@hotmail.com>: Dec 31 02:04PM +1300 On 31/12/2020 13:26, Lynn McGuire wrote: >> sticking with it until we got there, and personally doing the heavy >> lifting to drive important features like concepts into Standard C++!" >> https://www.amazon.com/Design-Evolution-C-Bjarne-Stroustrup/dp/0201543303 Interesting links, thanks. > I just wish that we could get a Standard User Interface Toolkit now. I don't think we ever will because the demand simply isn't there. User interfaces have become sufficiently complex that they can dwarf a programming language! As developers, we have so many rich tool-kits to choose from, anything tied to a language would have to be too minimal for general use. -- Ian |
Lynn McGuire <lynnmcguire5@gmail.com>: Dec 30 08:42PM -0600 On 12/30/2020 7:04 PM, Ian Collins wrote: > programming language! > As developers, we have so many rich tool-kits to choose from, anything > tied to a language would have to be too minimal for general use. Is there a C++ UITK for the latest variant of Mac OS ? Lynn |
Tim Woodall <news001@woodall.me.uk>: Dec 31 06:41AM >> As developers, we have so many rich tool-kits to choose from, anything >> tied to a language would have to be too minimal for general use. > Is there a C++ UITK for the latest variant of Mac OS ? std::cout :-P |
"Öö Tiib" <ootiib@hot.ee>: Dec 31 12:00AM -0800 On Thursday, 31 December 2020 at 04:42:54 UTC+2, Lynn McGuire wrote: > > As developers, we have so many rich tool-kits to choose from, anything > > tied to a language would have to be too minimal for general use. > Is there a C++ UITK for the latest variant of Mac OS ? The UITK for Mac is useless without knowing Objective-C++. If you use Swift then the wrappers hide it a bit until you run into some defect and are stuck with exception in Objective-C++. I would go with qt5 and/or unrealengine4 as these are platform agnostic. Those can feel too monstrous for usage. Then more low level platform agnostic toolkits can be made from things like sdl2, freetype6, ncurses5 etc. |
David Brown <david.brown@hesbynett.no>: Dec 31 01:36PM +0100 On 31/12/2020 02:04, Ian Collins wrote: > programming language! > As developers, we have so many rich tool-kits to choose from, anything > tied to a language would have to be too minimal for general use. Not only would the interface be too minimal for people wanting a good interface toolkit, it would still make the C++ standard massively bigger for people who /don't/ want such a toolkit. There could be some advantages in having a gui interface specification under an ISO standards body. But it should not be part of the C++ standards - in fact, it should specifically be cross-language as well as cross-platform. Different groups could then make implementations to fit that interface, prioritising speed, portability, compactness, licencing, appearances, or whatever else suits them. |
Lynn McGuire <lynnmcguire5@gmail.com>: Dec 31 01:53PM -0600 On 12/31/2020 2:00 AM, Öö Tiib wrote: > Those can feel too monstrous for usage. Then more low level platform > agnostic toolkits can be made from things like sdl2, freetype6, > ncurses5 etc. My point exactly. There is no C++ UITK for the latest Mac OS. I have written code in Objective C before. Not interested. Lynn |
You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page. To unsubscribe from this group and stop receiving emails from it send an email to comp.lang.c+++unsubscribe@googlegroups.com. |
No comments:
Post a Comment