Our website uses cookies to enhance your browsing experience.
Accept
to the top
>
>
>
C++

Posts: C++ articles

Feb 28 2010
In what way can C++0x standard help you eliminate 64-bit errors
Andrey Karpov
Programmers see in C++0x standard an opportunity to use lambda-functions and other entities I do not quite understand :). But personally, I see convenient means in it that allow us to get rid of...
...
Feb 05 2010
/Wp64 switch and template processing error
Evgenii Ryzhkov
While maintaining the analyzer Viva64 (included into PVS-Studio) we often comment upon the switch /Wp64 of Microsoft Visual C++. If you are out of the swim, let me remind you that this...
...
Subscribe to the newsletter
Want to receive a monthly digest of the most interesting articles and news? Subscribe!
Jan 11 2010
Issues of 64-bit code in real programs: qsort
Andrey Karpov
We continue the cycle of posts about 64-bit errors detected in real applications. Time passes, demands for memory being consumed grow more and more, and now the time has come when somebody decides...
...
Jan 11 2010
Optimization in the world of 64-bit errors
Andrey Karpov
In the previous blog-post I promised to tell you why it is difficult to demonstrate 64-bit errors by simple examples. We spoke about operator[] and I told that in simple cases even incorrect...
...
Jan 11 2010
Search of 64-bit errors in array implementation
Andrey Karpov
In PVS-Studio 3.43, we revised the way how Viva64 analyzer detects errors in the classes serving as containers (arrays). Before, we have stuck to the principle that if a class has operator[...
...
Jan 11 2010
Peculiarities of virtual functions
Andrey Karpov
I decided to describe one thing related to virtual functions because I am afraid I can forget it and return to this question once again later...
...
Dec 21 2009
Why A + B != A - (-B)
Andrey Karpov
While developing Viva64 analyzer intended for detecting 64-bit errors, I sometimes encounter interesting ways of code behavior. I would like to show you one example that is not very...
...
Dec 10 2009
Issues in real programs - what errors are not there in the world...
Andrey Karpov
When testing the analyzer PVS-Studio on one of the projects we found an interesting error. This error does not refer to the topic of 64-bits although its consequences are diagnosed as...
...
Dec 03 2009
64-bit code issues in real programs: pointer type change
Andrey Karpov
Explicit type conversions often mask errors related to a change of a pointer type. One of such errors is casting of a pointer to 32-bit objects into a pointer to 64-bit...
...
Nov 19 2009
A nice 64-bit error in C
Andrey Karpov
In C language, you may use functions without defining them. Pay attention that I speak about C language, not C++. Of course, this ability is very dangerous. Let us have a look at an...
...
View more Pagination arrow previous
Showing: - of 640