Click here to Skip to main content
15,892,697 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: Some HP laptops are hiding a deactivated keylogger Pin
W Balboos, GHB12-Dec-17 0:46
W Balboos, GHB12-Dec-17 0:46 
GeneralRe: Some HP laptops are hiding a deactivated keylogger Pin
#realJSOP12-Dec-17 1:40
mve#realJSOP12-Dec-17 1:40 
GeneralRe: Some HP laptops are hiding a deactivated keylogger Pin
Cornelius Henning12-Dec-17 3:02
professionalCornelius Henning12-Dec-17 3:02 
GeneralStupid compilers face palm Pin
charlieg11-Dec-17 9:51
charlieg11-Dec-17 9:51 
GeneralRe: Stupid compilers face palm Pin
CPallini11-Dec-17 10:05
mveCPallini11-Dec-17 10:05 
GeneralRe: Stupid compilers face palm Pin
Rick York11-Dec-17 10:05
mveRick York11-Dec-17 10:05 
GeneralRe: Stupid compilers face palm Pin
charlieg11-Dec-17 14:39
charlieg11-Dec-17 14:39 
GeneralRe: Stupid compilers face palm Pin
Marc Clifton11-Dec-17 10:31
mvaMarc Clifton11-Dec-17 10:31 
charlieg wrote:
Add a variable increment in the loop, all works.


Sooo, why shouldn't the compiler optimize it out? You're not doing anything with the next file, and the compiler shouldn't have to know that there is some side-effect effect. To be honest, I'd look at that code and go WTF? myself.
Latest Article - Class-less Coding - Minimalist C# and Why F# and Function Programming Has Some Advantages

Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny

Artificial intelligence is the only remedy for natural stupidity. - CDP1802

GeneralRe: Stupid compilers face palm Pin
Peter_in_278011-Dec-17 13:04
professionalPeter_in_278011-Dec-17 13:04 
GeneralRe: Stupid compilers face palm Pin
charlieg11-Dec-17 14:43
charlieg11-Dec-17 14:43 
GeneralRe: Stupid compilers face palm Pin
PIEBALDconsult11-Dec-17 11:18
mvePIEBALDconsult11-Dec-17 11:18 
GeneralRe: Stupid compilers face palm Pin
charlieg11-Dec-17 14:45
charlieg11-Dec-17 14:45 
GeneralRe: Stupid compilers face palm Pin
CodeWraith11-Dec-17 20:18
CodeWraith11-Dec-17 20:18 
GeneralRe: Stupid compilers face palm Pin
Marco Bertschi11-Dec-17 21:40
protectorMarco Bertschi11-Dec-17 21:40 
GeneralRe: Stupid compilers face palm Pin
megaadam11-Dec-17 23:26
professionalmegaadam11-Dec-17 23:26 
GeneralThought of the Day Pin
OriginalGriff11-Dec-17 4:49
mveOriginalGriff11-Dec-17 4:49 
GeneralRe: Thought of the Day Pin
Duncan Edwards Jones11-Dec-17 5:02
professionalDuncan Edwards Jones11-Dec-17 5:02 
GeneralRe: Thought of the Day Pin
OriginalGriff11-Dec-17 5:12
mveOriginalGriff11-Dec-17 5:12 
GeneralRe: Thought of the Day Pin
Basildane11-Dec-17 6:41
Basildane11-Dec-17 6:41 
GeneralRe: Thought of the Day Pin
Mike Hankey11-Dec-17 5:11
mveMike Hankey11-Dec-17 5:11 
GeneralRe: Thought of the Day Pin
Rick York11-Dec-17 5:54
mveRick York11-Dec-17 5:54 
GeneralRe: Thought of the Day Pin
W Balboos, GHB11-Dec-17 6:51
W Balboos, GHB11-Dec-17 6:51 
GeneralRe: Thought of the Day Pin
MacSpudster11-Dec-17 10:53
professionalMacSpudster11-Dec-17 10:53 
GeneralRe: Thought of the Day Pin
j snooze11-Dec-17 11:26
j snooze11-Dec-17 11:26 
GeneralOld driver support removed from newer Win10 builds? Pin
dandy7211-Dec-17 4:37
dandy7211-Dec-17 4:37 

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.