Click here to Skip to main content
14,663,793 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.
 
GeneralRe: Little bit surprised !!! Pin
DerekT-P28-May-20 6:11
professionalDerekT-P28-May-20 6:11 
GeneralMinneapolis Pin
TheGreatAndPowerfulOz27-May-20 19:41
MemberTheGreatAndPowerfulOz27-May-20 19:41 
GeneralRe: Minneapolis Pin
Nelek27-May-20 21:16
protectorNelek27-May-20 21:16 
GeneralRe: Minneapolis Pin
Amarnath S27-May-20 22:15
professionalAmarnath S27-May-20 22:15 
GeneralRe: Minneapolis Pin
Richard MacCutchan27-May-20 22:47
mveRichard MacCutchan27-May-20 22:47 
GeneralRe: Minneapolis Pin
TheGreatAndPowerfulOz28-May-20 7:59
MemberTheGreatAndPowerfulOz28-May-20 7:59 
GeneralGoing full 'Murican! Pin
Super Lloyd27-May-20 18:19
MemberSuper Lloyd27-May-20 18:19 
GeneralBreaking changes Pin
PJ Arends27-May-20 18:15
professionalPJ Arends27-May-20 18:15 
Using C++, I recently upgraded to VS2019 from VS2017, and of course things in my code has to break. The worst part is the code worked great in debug mode but breaks in release mode. I know it is my fault for not reading the documentation carefully enough and that is how it bit me.

Take this code:
int x = (int)log10(0.0);
I now know that taking the log of 0.0 is undefined, but previous versions of VS and VS2019 in debug would return 0, so my code worked as I was expecting and as it has worked for many years. But when I built my program in release mode it was giving me all sorts of errors. Turns out that now log10(0.0) returns -1, or more correctly 0xFFFFFFFF.

So just remember to read the documentation, and if you don't, just because it works on your machine now, does not mean it will work on all machines forever.
Within you lies the power for good - Use it!

GeneralRe: Breaking changes Pin
Super Lloyd27-May-20 18:30
MemberSuper Lloyd27-May-20 18:30 
GeneralRe: Breaking changes Pin
Daniel Pfeffer27-May-20 20:05
professionalDaniel Pfeffer27-May-20 20:05 
GeneralRe: Breaking changes Pin
k505428-May-20 3:32
mvek505428-May-20 3:32 
GeneralRe: Breaking changes Pin
Daniel Pfeffer30-May-20 20:41
professionalDaniel Pfeffer30-May-20 20:41 
GeneralRe: Breaking changes Pin
Nelek27-May-20 21:11
protectorNelek27-May-20 21:11 
GeneralRe: Breaking changes Pin
binarycoder4228-May-20 17:24
Memberbinarycoder4228-May-20 17:24 
GeneralRe: Breaking changes Pin
PJ Arends29-May-20 5:31
professionalPJ Arends29-May-20 5:31 
GeneralThere is a race going on.. Pin
Super Lloyd27-May-20 17:53
MemberSuper Lloyd27-May-20 17:53 
QuestionRe: There is a race going on.. Pin
the goat in your machine27-May-20 19:29
Memberthe goat in your machine27-May-20 19:29 
AnswerRe: There is a race going on.. Pin
Super Lloyd27-May-20 19:38
MemberSuper Lloyd27-May-20 19:38 
JokeRe: There is a race going on.. Pin
Daniel Pfeffer27-May-20 20:17
professionalDaniel Pfeffer27-May-20 20:17 
JokeRe: There is a race going on.. Pin
Nelek27-May-20 21:07
protectorNelek27-May-20 21:07 
GeneralRe: There is a race going on.. Pin
Daniel Pfeffer27-May-20 22:11
professionalDaniel Pfeffer27-May-20 22:11 
GeneralRe: There is a race going on.. Pin
Nelek27-May-20 22:17
protectorNelek27-May-20 22:17 
GeneralRe: There is a race going on.. Pin
lopatir27-May-20 23:58
Memberlopatir27-May-20 23:58 
GeneralRe: There is a race going on.. Pin
Super Lloyd28-May-20 2:02
MemberSuper Lloyd28-May-20 2:02 
GeneralHas anyone here played mad max? Pin
honey the codewitch27-May-20 14:18
mvahoney the codewitch27-May-20 14:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.