I will use g++ for that.
As I am still stuck in C++98:
Where is cpu_duration class defined?
Where can I find the definition of 300s?
I will use g++ for that.
As I am still stuck in C++98:
Where is cpu_duration class defined?
Where can I find the definition of 300s?
With most compilers (c/c++) it is possible to treat warnings as errors
GCC : with the compiler flags -Wall and -Werror
error: unsigned conversion from ‘int’ to ‘uint8_t’ {aka ‘unsigned char’} changes value from ‘666’ to ‘154’ [-Werror=overflow]
17 | uint8_t x = 666;
| ^~~
cc1: all warnings being treated as errors
What is you recipe for eggnog? Never had this one.
My Punsch (punch) recipe :
Quantities may vary according to taste
- caramelize a lot of sugar
- add orange juice 1.5l
- add cinnamon sticks
- add some clove spice
- add some pimento (allspice)
- brew 4 bags black tea
- add a bottle red wine (recommend heavy spanish Rioja)
- let everything brew for at least half an hour
- Serve : Fill mug, add a heavy shot of rum (recommend jamaican one)
Ok, I am honest ... also had some "Jagatee" already today.
And yes, this is my favorite mug 🙂
thought i lost it, but found it again. XU1541 to transfer C64 disks from and to PC (d64 images)
Happy like a little kid 😀
I grew up with Captain Future 🙂
in 2015 there was a concept art for a movie :
Still waiting for it
it is not a good idea to use heap on real time systems due to inpredictability of runtime to allocate new memory and also fragmentation is a huge problem.
But no customer has to ban this, as it is self-evident.
Heap issues will always pop up in stress and system integration tests.
So yes, malloc/free and new/delete is banned for the real time critical processes/threads of the software.
fixed size memory (item) pools are more predictable and real time efficient here.
@codewiz
Do you want to sell me something? 😉
Military, Functional Safety, Realtime Systems (<100us hard realtime). Some only trust in C89 here.
In some situations you cannot decide which language to use, the customer just defines which standard and version you have to use.
No surprise i didn't know that:
"Minimal support for Garbage Collection was added to C++0x in 2008"
I am still using C++98 for my larger embedded systems.
@codewiz
Yeah, the most funny thing is the petrol can in the locker on mars. If I only had found this item in Maniac Mansion for the chainsaw I would have been happy.
Yes, Giana ... my first shot regarding avatar here, I am still looking for a male avatar. I am currently playing Zak McCracken in Scumm to get panoramic images, thus I took the TPC scene as title picture.
Another landscape image :
Bobinas P4G is a social network. It runs on GNU social, version 2.0.1-beta0, available under the GNU Affero General Public License.
All Bobinas P4G content and data are available under the Creative Commons Attribution 3.0 license.