comp.lang.c++@googlegroups.com | Google Groups | ![]() |
Unsure why you received this message? You previously subscribed to digests from this group, but we haven't been sending them for a while. We fixed that, but if you don't want to get these messages, send an email to comp.lang.c+++unsubscribe@googlegroups.com. |
- "JetBrains CLion C++ IDE First Impressions" - 13 Updates
- Is it OK to OCCASIONALLY submit C++ code for comments in this group, like RFC? - 1 Update
- C++ tests/testing - 2 Updates
- wchar_t aliasing - 2 Updates
seeplus <gizmomaker@bigpond.com>: Sep 26 06:08PM -0700 On Thursday, September 25, 2014 11:47:15 PM UTC+10, Rick C. Hodgin wrote: > demonstration of His Love for us, that while we were yet sinners, He > died to save us when He would've been justified in letting all of us > die due to our sin nature. Listen, if you are the Master of the Universe, how would being stuck on a cross for a day be a big deal? Just grow new arms and legs and walk it off. Get over it. Give me a break, that wouldn't even atone for even one of my minor sins. >>on the day the change takes place, you will experience a new world that >>you did not even dream existed. Your eternal eyes will be opened, and >>you'll be absolutely and completely floored. And hopefully off to a psychiatrist .. and maybe a dietician. |
woodbrian77@gmail.com: Sep 26 10:11PM -0700 On Friday, September 26, 2014 8:09:13 PM UTC-5, seeplus wrote: > > die due to our sin nature. > Listen, if you are the Master of the Universe, how would being > stuck on a cross for a day be a big deal? It's a big deal because of who He is and what He allowed to happen to Him. He could have overwhelmed those who rose up against Him. He chose to die for us. It wasn't an easy choice for Him, but He placed our well-being before His own. > Get over it. > Give me a break, that wouldn't even atone for even > one of my minor sins. 'And any man from the house of Israel, or from the aliens who sojourn among them, who eats any blood, I will set My face against that person who eats blood and will cut him off from among his people. For the life of the flesh is in the blood, and I have given it to you on the altar to make atonement for your souls; for it is the blood by reason of the life that makes atonement.' Therefore I said to the sons of Israel, 'No person among you may eat blood, nor may any alien who sojourns among you eat blood.' So when any man from the sons of Israel, or from the aliens who sojourn among them, in hunting catches a beast or a bird which may be eaten, he shall pour out its blood and cover it with earth. Leviticus 17:10-13 Yeshua is the Lamb of G-d. His blood was shed. Also notice how Moses echoes what he has been told. G-d told him something and he relayed it to the Israelites. Brian Ebenezer Enterprises http://webEbenezer.net |
"Rick C. Hodgin" <rick.c.hodgin@gmail.com>: Sep 27 04:03AM -0700 It was because He did it as a man. He who exists outside of time, is over all things, humbled Himself and put on a physical body. He was born in the natural way (begotten), and came to live and teach as one of us, and in so doing, being 100% man, He was able to legally, in God's sight, under God's Law, sacrifice Himself to pay for our sins. And whereas the Jews already had been given the sacrifice, and even daily sacrifice, because Jesus was both 100% man, and 100% God, His sacrifice was not a daily sacrifice, but is an eternal sacrifice. A one-time atoning death for all. Our Almighty God, who created the entire universe, who calls the stars each by name, came here to save us. Love has no greater example, that while we were yet sinners (being mean and hateful even to Jesus, all of us), that He would come here and go through all He did during His last few days on Earth, and to endure the far worse crushing as The Father poured out all of His wrath and anger for us upon His only begotten Son, to save us from going there. It demonstrates how much He loves us, and how much He hates sin. We also remember the example God gave us to demonstrate conclusively the only destructive nature of sin. God sent a flood to destroy all the Earth, starting over with Noah, his three sons, and their wives. Noah was chosen by God as a faithful believer, and he did all God commanded, even under scorn and ridicule for 100 years. Being a pteacher, he and his sons, and their wives, trusted God, and labored 100 years to build the ark. But even when God started over with a preacher, and his devout family, look at what sin has brought. Men everywherr fighting eaxh other, killing each other. Hate, war, disease, famine. Sin is totally and completely evil. And sin was upon the whole Earth, in all people. Unholy, and deserving eternal damnation by God's own Law. Yet Jesus came here to be born as one of us, to live among us, to "step down" from His Heavenly, eternal throne, and to sacrifice His own body for you. Jesus still bears the marks, even after His resurrection. He restored His battered, broken, torn body, except He kept the nail holes, and where the guard pierced His side. The nature of God... Eternal. King. Sovereign. The Almighty. For us, He stepped down to live as we live, to eat, drink, go to the toilet, sleep, walk among the sick, the broken, the liars, the thieves, for 33 years before sacrificing His own body for us. To enter into the place of punishment and have the due penalty of every sin, of every man He saves, poured out upon Himself instead of us... Just amazing. Jesus is Love. He is the love of God manifest in the flesh, to demonstrate His love by deed, for us. And His plan also puts away all evil forever, so that what remains is a system that is eternal, no hunger, no thirst, no pain, no suffering, but only the fullest richness of God's greatness given to us. We are taught that the believers will be married to Jesus in Heaven. And as on Earth when two marry, they become one and share all equally. All Jesus has will be ours, co-heirs in all. It's beyond imagination beautiful what He did for us, and what our future holds. Satan, and every demon, and everyone embracing sin in their life, are condemned. They will never enter into Heaven, and will only know unending torment, the price of sin, the only way to keep powerful eternal beings who are unwilling to operate within the boundaries of design, from then doing damage to that creation. And because of their great anger, they are lashing out in rage and hate trying to cause as much damage and destruction as possible, both here upon the Earth, but their primary goal is to do eternal damage, to lead men to sin, to unrepentant sin, which leads to damnation. Jesus made a way out of every sickness, every peril, everything imaginable which can befall us, and it begins and ends with faith in Him, that even if we die here upon the Earth, yet will we rise after death to then be with Jesus, in Heaven, forever. That is why He came (John 3:16), to save that which was lost. He came to save all who will hear the truth, who will believe and be saved. He came here for no one else because sin is the enemy. And the sin nature of an eternal being, which all of us are, is only wholly destructive, and must be put away. God is love. Sin is hate. God is life. Sin is disease. God is light. Sin is darkness (the absence of light). God got it right with everything He's done. He looks at things from eternal perspective, yet He cares for us as well. Individually. One on one. Jesus is a friend, closer than a brother, One who never leaves us, nor forsakes us. He is our all in all, our desire of desires, and everything that is good, right, true, loving, caring, helping, pure, undefiled, in this world. In short: He is our hope, and everything we aspire to be. And He came here, to our wotld, and lived as one of us, to save us, and lead us as we face an enemy who is only leading us to destruction. He is love, in the flesh, for us. Best regards, Rick C. Hodgin |
"Rick C. Hodgin" <rick.c.hodgin@gmail.com>: Sep 27 09:28AM -0700 I came across this today. It is describing the New Jerusalem coming down from Heaven for all those who are saved by the blood of Jesus' death on the cross, and the restoration of all people who will hear the truth, the original intent and purpose of God revealed in the vision to John the Apostle, recorded in Revelation for us: https://www.youtube.com/watch?v=uvNR5i4Keg8 Best regards, Rick C. Hodgin |
Mr Flibble <flibbleREMOVETHISBIT@i42.co.uk>: Sep 27 05:34PM +0100 On 27/09/2014 17:28, Rick C. Hodgin wrote: > the truth, the original intent and purpose of God revealed in the > vision to John the Apostle, recorded in Revelation for us: > https://www.youtube.com/watch?v=uvNR5i4Keg8 Evolution is proof that your god doesn't exist mate. /Flibble |
"Rick C. Hodgin" <rick.c.hodgin@gmail.com>: Sep 27 12:24PM -0700 I also found this video, which shows what will happen in the end-most times, and after the judgement: https://www.youtube.com/watch?v=zO8t2L9TcAU Best regards, Rick C. Hodgin |
Mr Flibble <flibbleREMOVETHISBIT@i42.co.uk>: Sep 27 08:31PM +0100 On 27/09/2014 20:24, Rick C. Hodgin wrote: > I also found this video, which shows what will happen in the end-most > times, and after the judgement: > https://www.youtube.com/watch?v=zO8t2L9TcAU You don't fucking give up do you mate? /Flibble |
"Rick C. Hodgin" <rick.c.hodgin@gmail.com>: Sep 27 01:25PM -0700 On Saturday, September 27, 2014 3:31:22 PM UTC-4, Mr Flibble wrote: > > times, and after the judgement: > > https://www.youtube.com/watch?v=zO8t2L9TcAU > You don't give up do you mate? One day you will understand why that is. Best regards, Rick C. Hodgin |
Mr Flibble <flibbleREMOVETHISBIT@i42.co.uk>: Sep 27 10:03PM +0100 On 27/09/2014 21:25, Rick C. Hodgin wrote: >>> https://www.youtube.com/watch?v=zO8t2L9TcAU >> You don't give up do you mate? > One day you will understand why that is. I understand that you are deluded mate. /Flibble |
Mr Flibble <flibbleREMOVETHISBIT@i42.co.uk>: Sep 27 10:05PM +0100 On 27/09/2014 21:25, Rick C. Hodgin wrote: >>> https://www.youtube.com/watch?v=zO8t2L9TcAU >> You don't give up do you mate? > One day you will understand why that is. If you are going to quote someone then don't fucking edit the quote; it is a) not polite and b) makes you look like a prick. /Flibble |
"Rick C. Hodgin" <rick.c.hodgin@gmail.com>: Sep 27 02:41PM -0700 On Saturday, September 27, 2014 5:05:30 PM UTC-4, Mr Flibble wrote: > /Flibble Jesus will save you too, Mr. Flibble. Ask Him. He loves you with a real, eternal love. He asks you to come unto Him that He may share with you all that is His. All He asks is that you receive it in turn, from Him, as He is. Will you receive His free gift of eternal life in paradise? Best regards, Rick C. Hodgin |
"Öö Tiib" <ootiib@hot.ee>: Sep 27 02:54PM -0700 On Saturday, 27 September 2014 14:04:14 UTC+3, Rick C. Hodgin wrote: > It was because He did it as a man. He who exists > outside of time, is over all things, humbled Himself > and put on a physical body. Ok, but you say that It did it to itself willfully. Like some man who decides to live a day without sight can blindfold itself for that day. Should we consider such a deed as something special? As something eternally remarkable? > Our Almighty God, who created the entire universe, > who calls the stars each by name, came here to > save us. It nowhere mentions universe. The sick stuff that the book describes is mostly not love but misdoings of some Jews I can't care less about. Failed message. Nothing is like it should be if anything the book describes is true. That gives us full reasons to trust that everything described in Bible has been made up by people who did not even have idea how the world around us works. No slightest evidence of superior knowledge, Failed mission. The people who worship the God of that book, the Jews, Christians and Muslims have all proven to be terrible, most bloodthirsty lot with past 2000 years of our history. Worthless followers. Failed teachings. Failures do not matter, I can still love a loser. However, you suggest to love It or else It will torture us forever? That is totally out of question if to put like that. I can no way love anything that threatens me. Can you? What you got there is story about interesting but disgusting monster. How can you love it? Btw, why It did breed us from apes? Was it because apes are so idiotic? I would anytime prefer bears or even cats to apes. |
"Rick C. Hodgin" <rick.c.hodgin@gmail.com>: Sep 27 03:11PM -0700 On Saturday, September 27, 2014 5:54:50 PM UTC-4, Öö Tiib wrote: > > who calls the stars each by name, came here to > > save us. > It nowhere mentions universe. http://biblehub.com/kjv/genesis/1.htm "1 In the beginning God created the heaven and the earth. "16 And God made two great lights; the greater light to rule the day, and the lesser light to rule the night: he made the stars also." > Nothing is like it should be if anything the book describes > is true. Nothing here upon this Earth is like it should be ... because of sin. > described in Bible has been made up by people who did not > even have idea how the world around us works. No slightest > evidence of superior knowledge, Failed mission. It is sin that blinds people to the truth. They cannot see what is before them because they have no eyes to see it, and they would not receive eyes even if they were offered freely to them. Such is the nature of sin. And it is why God is putting it away in the fires of Hell forever. Sin only destroys unto Death. It does no other thing. > no way love anything that threatens me. Can you? What you > got there is story about interesting but disgusting > monster. How can you love it? You are unable to see God as He is because of sin. You can only see Him through your carnal (flesh and blood) eyes and human mind. You are unable to understand anything that relates to the spirit, because you do not have eyes to see that, nor the born again nature to understand it. It will always be like that until you are willing to humble yourself and hear the truth (regardless of where that truth takes you, ahead, left, right, behind you). Until that day God will only appear to you, and everyone else who is perishing, to be a monster. > Btw, why It did breed us from apes? Was it because apes > are so idiotic? I would anytime prefer bears or even cats > to apes. Evolution does not exist. We were created. All of the animals were created. Adam gave them names before the Fall of man. They were made beautiful and wonderful, and they all lived together with us without death or fighting. But now we live in a fractured creation, the result of sin entering in. Because of sin everything has been lost. And that is where the tremendous gift of God is made visible, is that within this total loss, God Himself steps out of His eternal Kingdom, to reach down, stretch out His arms, and save us in eternity. There is no greater gift. I pray you come to understand this. BTW, if you want to understand it know this: Faith comes by hearing, and hearing by the word of God. If you begin to read the Bible, or listen to the audio Bible and read along, you will find that it's not like other books. The words contained therein are God's words, and they are spirit, and they are life. They bring with them the spirit nature of power and dominion. There's an expression I've heard among Christians: (1) The Bible will keep you from sin, or (2) Sin will keep you from the Bible. God is right there with you right now. Ask Him to come into your heart, to enter into your life, to set the things right that need to be set right, to restore that which the enemy has stolen. He is more than willing to do this. It's why He came ... to save YOU personally. He would've done it if you were the ONLY one who could be saved. Best regards, Rick C. Hodgin |
Vir Campestris <vir.campestris@invalid.invalid>: Sep 27 10:08PM +0100 On 26/09/2014 19:51, Robert Hutchings wrote: > As I become more proficient in C++, I often wish for a peer review. > Unfortunately, my current employer does NOT "do" code reviews (!). Before you post anything - make sure you aren't giving away any commercial secrets. They don't have to be valuable for them to get very cross with you. Andy |
Richard Damon <Richard@Damon-Family.org>: Sep 27 09:42AM -0400 On 9/26/14, 1:38 PM, Wouter van Ooijen wrote: > local -> worse! An allocated heap object -> who is responsible for > managing this object?) > Wouter van Ooijen The first thing I would say is probably wrong with the code is that "f" is too short of a name for a function, unless, maybe, it is being used in the prototype of a function declaring a function pointer to be passed in. Second, while maybe it is odd enough to raise a review question, I don't think that "probably" wrong is right. Some very correct applications of this sort of function (I presume this is intended to be a global function that returns a reference): 1) f() is a maker function and is returning the created object. When the user is done they are expected to remove the object either with a member function or another free function, think of it sort of like new, but returning a reference rather than a pointer. 2) f() is returning a singleton like object. f() will check if the singleton is already created, and if not create it and return a reference to it. Presumably some link has been made somewhere to properly dispose of the object at program end, or perhaps it is reference counted and there is another function to indicate that we are done, and if no one needs it still, it can be disposed of. 3) f() could also return a "global" object, whose exact type might not be known at the time of the compiling of the caller, but it is known to be a subtype of some base "T". This allows the caller to get access to the object, and the final type might not be known to link time, when an appropriate module is linked in, defining the object and the access function. With dynamic linking, it might even be at run time. Returning an "auto" local to f() is bad, as such an object is gone by the time you get to the caller. |
Wouter van Ooijen <wouter@voti.nl>: Sep 27 08:49PM +0200 Richard Damon schreef op 27-Sep-14 3:42 PM: > is too short of a name for a function, unless, maybe, it is being used > in the prototype of a function declaring a function pointer to be passed > in. I agree, but as the name was not the point I probably should have used foo but I prefer f. > user is done they are expected to remove the object either with a member > function or another free function, think of it sort of like new, but > returning a reference rather than a pointer. It is indeed meant as a free function. IMO returning a heap object for which the receiver has 'lifetime responsibility' as a reference rather than as a pointer is (at least) an attempt to confuse the reader. > properly dispose of the object at program end, or perhaps it is > reference counted and there is another function to indicate that we are > done, and if no one needs it still, it can be disposed of. If you think a singleton is a pattern this is a valid use. IMO singleton is an anti-pattern. > the object, and the final type might not be known to link time, when an > appropriate module is linked in, defining the object and the access > function. With dynamic linking, it might even be at run time. IMO a global object is a bad thing, one step worse than a singelton. > Returning an "auto" local to f() is bad, as such an object is gone by > the time you get to the caller. That we can agree on. But as a candidate you would definitely pass, because you understand the (possible, probable) implications of a function that retruns a reference. Whether you agree with me on the details is not the point, I think I would prefer a co-worker with a sharp opinion that differs somewhat from mine over a clone of myself. One Wouter is enough in most situations. Wouter van Ooijen |
Nobody <nobody@nowhere.invalid>: Sep 27 06:07AM +0100 On Tue, 23 Sep 2014 14:21:31 -0500, Paavo Helde wrote: > byte wchar_t and uint32_t, but is silent for 2 byte wchar_t (achieved via - > fshort-wchar flag) and uint16_t. Is there indeed some special case for 16- > bit data, in addition to 8-bit? wchar_t defaults to "int" (note: not unsigned); -fshort-wchar changes it to "short unsigned int". $ gcc -E -dM -x c /dev/null | fgrep __WCHAR_TYPE__ #define __WCHAR_TYPE__ int $ gcc -E -dM -x c -fshort-wchar /dev/null | fgrep __WCHAR_TYPE__ #define __WCHAR_TYPE__ short unsigned int |
Paavo Helde <myfirstname@osa.pri.ee>: Sep 27 02:35AM -0500 Nobody <nobody@nowhere.invalid> wrote in > #define __WCHAR_TYPE__ int > $ gcc -E -dM -x c -fshort-wchar /dev/null | fgrep __WCHAR_TYPE__ > #define __WCHAR_TYPE__ short unsigned int Good to know, but it appears signed/unsigned does not change the pun warnings, I tried with both signed and unsigned types. tmp> cat test1.cpp int main() { wchar_t c=0; *((TYPE * )&c) = 1; return c; } tmp> g++ -O2 -fstrict-aliasing -Wstrict-aliasing -DTYPE=int test1.cpp test1.cpp: In function ?int main()?: test1.cpp:3:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] tmp> g++ -O2 -fstrict-aliasing -Wstrict-aliasing -DTYPE='unsigned int' test1.cpp test1.cpp: In function ?int main()?: test1.cpp:3:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] tmp> g++ -O2 -fstrict-aliasing -Wstrict-aliasing -DTYPE='unsigned short' -fshort-wchar test1.cpp tmp> g++ -O2 -fstrict-aliasing -Wstrict-aliasing -DTYPE='short' -fshort- wchar test1.cpp tmp> g++ -v Using built-in specs. COLLECT_GCC=g++ COLLECT_LTO_WRAPPER=/usr/lib64/gcc/x86_64-suse-linux/4.6/lto-wrapper Target: x86_64-suse-linux Configured with: ../configure --prefix=/usr --infodir=/usr/share/info -- mandir=/usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64 -- enable-languages=c,c++,objc,fortran,obj-c++,java,ada --enable- checking=release --with-gxx-include-dir=/usr/include/c++/4.6 --enable-ssp --disable-libssp --disable-plugin --with-bugurl=http://bugs.opensuse.org/ --with-pkgversion='SUSE Linux' --disable-libgcj --disable-libmudflap -- with-slibdir=/lib64 --with-system-zlib --enable-__cxa_atexit --enable- libstdcxx-allocator=new --disable-libstdcxx-pch --enable-version- specific-runtime-libs --program-suffix=-4.6 --enable-linux-futex -- without-system-libunwind --with-arch-32=i586 --with-tune=generic -- build=x86_64-suse-linux Thread model: posix gcc version 4.6.2 (SUSE Linux) |
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