Click here to Skip to main content
15,867,453 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: I thought I new C++ *sob* It has been inserting extra code on me this whole time. Pin
Randor 18-Sep-22 1:23
professional Randor 18-Sep-22 1:23 
GeneralRe: I thought I new C++ *sob* It has been inserting extra code on me this whole time. Pin
honey the codewitch18-Sep-22 1:28
mvahoney the codewitch18-Sep-22 1:28 
GeneralRe: I thought I new C++ *sob* It has been inserting extra code on me this whole time. Pin
Randor 18-Sep-22 1:56
professional Randor 18-Sep-22 1:56 
GeneralRe: I thought I new C++ *sob* It has been inserting extra code on me this whole time. Pin
honey the codewitch18-Sep-22 5:16
mvahoney the codewitch18-Sep-22 5:16 
GeneralRe: I thought I new C++ *sob* It has been inserting extra code on me this whole time. Pin
Randor 18-Sep-22 6:02
professional Randor 18-Sep-22 6:02 
GeneralRe: I thought I new C++ *sob* It has been inserting extra code on me this whole time. Pin
honey the codewitch18-Sep-22 6:03
mvahoney the codewitch18-Sep-22 6:03 
GeneralRe: I thought I new C++ *sob* It has been inserting extra code on me this whole time. Pin
honey the codewitch18-Sep-22 6:20
mvahoney the codewitch18-Sep-22 6:20 
PraiseRe: I thought I new C++ *sob* It has been inserting extra code on me this whole time. Pin
Randor 18-Sep-22 6:46
professional Randor 18-Sep-22 6:46 
honey the codewitch wrote:
#pragma GCC optimize("Os")

It fixes it
Awesome, I'm glad it's sorted out! Congratulations.

Don't rely on the optimization pass. The C++ standards are correct. It's just that the optimization pass can rearrange code, remove functions and/or use intrinsics instead.

The unoptimized code would be more standards compliant. Big Grin | :-D
GeneralRe: I thought I new C++ *sob* It has been inserting extra code on me this whole time. Pin
honey the codewitch18-Sep-22 6:53
mvahoney the codewitch18-Sep-22 6:53 
GeneralRe: I thought I new C++ *sob* It has been inserting extra code on me this whole time. Pin
Randor 18-Sep-22 6:55
professional Randor 18-Sep-22 6:55 
GeneralRe: I thought I new C++ *sob* It has been inserting extra code on me this whole time. Pin
honey the codewitch18-Sep-22 6:59
mvahoney the codewitch18-Sep-22 6:59 
GeneralRe: I thought I new C++ *sob* It has been inserting extra code on me this whole time. Pin
Randor 18-Sep-22 2:35
professional Randor 18-Sep-22 2:35 
GeneralRe: I thought I new C++ *sob* It has been inserting extra code on me this whole time. Pin
Daniel Pfeffer17-Sep-22 20:31
professionalDaniel Pfeffer17-Sep-22 20:31 
GeneralRe: I thought I new C++ *sob* It has been inserting extra code on me this whole time. Pin
honey the codewitch17-Sep-22 22:18
mvahoney the codewitch17-Sep-22 22:18 
GeneralRe: I thought I new C++ *sob* It has been inserting extra code on me this whole time. Pin
harold aptroot18-Sep-22 9:17
harold aptroot18-Sep-22 9:17 
GeneralRe: I thought I new C++ *sob* It has been inserting extra code on me this whole time. Pin
Randor 18-Sep-22 9:53
professional Randor 18-Sep-22 9:53 
GeneralRe: I thought I new C++ *sob* It has been inserting extra code on me this whole time. Pin
harold aptroot18-Sep-22 11:01
harold aptroot18-Sep-22 11:01 
JokeRe: I thought I new C++ *sob* It has been inserting extra code on me this whole time. Pin
Randor 18-Sep-22 11:13
professional Randor 18-Sep-22 11:13 
GeneralRe: I thought I new C++ *sob* It has been inserting extra code on me this whole time. Pin
harold aptroot18-Sep-22 12:33
harold aptroot18-Sep-22 12:33 
GeneralRe: I thought I new C++ *sob* It has been inserting extra code on me this whole time. Pin
Randor 18-Sep-22 12:54
professional Randor 18-Sep-22 12:54 
GeneralRe: I thought I knew C++ *sob* It has been inserting extra code on me this whole time. Pin
CodeWomble18-Sep-22 21:09
CodeWomble18-Sep-22 21:09 
GeneralRe: I thought I knew C++ *sob* It has been inserting extra code on me this whole time. Pin
Paul Sanders (the other one)18-Sep-22 21:16
Paul Sanders (the other one)18-Sep-22 21:16 
GeneralRe: I thought I knew C++ *sob* It has been inserting extra code on me this whole time. Pin
honey the codewitch18-Sep-22 21:22
mvahoney the codewitch18-Sep-22 21:22 
GeneralWordle 456 Pin
StarNamer@work17-Sep-22 14:21
professionalStarNamer@work17-Sep-22 14:21 
GeneralRe: Wordle 456 Pin
Amarnath S17-Sep-22 14:47
professionalAmarnath S17-Sep-22 14:47 

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.