Click here to Skip to main content
15,887,683 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.

 
RantRe: malloc and calloc revisited - oh hum but pay attention when using them Pin
Daniel Pfeffer19-Dec-22 21:13
professionalDaniel Pfeffer19-Dec-22 21:13 
GeneralRe: malloc and calloc revisited - oh hum but pay attention when using them Pin
jmaida20-Dec-22 6:05
jmaida20-Dec-22 6:05 
GeneralRe: malloc and calloc revisited - oh hum but pay attention when using them Pin
Bruno van Dooren20-Dec-22 11:04
mvaBruno van Dooren20-Dec-22 11:04 
GeneralRe: malloc and calloc revisited - oh hum but pay attention when using them Pin
jmaida20-Dec-22 11:59
jmaida20-Dec-22 11:59 
GeneralRe: malloc and calloc revisited - oh hum but pay attention when using them Pin
jschell20-Dec-22 13:56
jschell20-Dec-22 13:56 
GeneralRe: malloc and calloc revisited - oh hum but pay attention when using them Pin
Bruno van Dooren20-Dec-22 19:45
mvaBruno van Dooren20-Dec-22 19:45 
GeneralRe: malloc and calloc revisited - oh hum but pay attention when using them Pin
jschell29-Dec-22 11:15
jschell29-Dec-22 11:15 
GeneralRe: malloc and calloc revisited - oh hum but pay attention when using them Pin
Bruno van Dooren30-Dec-22 8:08
mvaBruno van Dooren30-Dec-22 8:08 
That wasn't the topic of the discussion.
OP was complaining about behavior of their compiler where that behavior was standards compliant.
Which is why I said 'the compiler' because OP's compiler was the subject of this discussion.

Also: It's 2022. We are not talking about the state of compilers in the early 90's. We are talking about today's compilers. Do you know of any modern compiler whose malloc behavior is NOT compliant with a formal C standard?
GeneralRe: malloc and calloc revisited - oh hum but pay attention when using them Pin
jschell2-Jan-23 13:17
jschell2-Jan-23 13:17 
GeneralRe: malloc and calloc revisited - oh hum but pay attention when using them Pin
Bruno van Dooren2-Jan-23 13:27
mvaBruno van Dooren2-Jan-23 13:27 
GeneralRe: malloc and calloc revisited - oh hum but pay attention when using them Pin
jmaida20-Dec-22 7:06
jmaida20-Dec-22 7:06 
GeneralRe: malloc and calloc revisited - oh hum but pay attention when using them Pin
k505419-Dec-22 18:14
mvek505419-Dec-22 18:14 
GeneralRe: malloc and calloc revisited - oh hum but pay attention when using them Pin
jmaida19-Dec-22 18:28
jmaida19-Dec-22 18:28 
GeneralRe: malloc and calloc revisited - oh hum but pay attention when using them Pin
jschell20-Dec-22 13:57
jschell20-Dec-22 13:57 
GeneralRe: malloc and calloc revisited - oh hum but pay attention when using them Pin
jmaida20-Dec-22 14:04
jmaida20-Dec-22 14:04 
GeneralRe: malloc and calloc revisited - oh hum but pay attention when using them Pin
jmaida20-Dec-22 14:11
jmaida20-Dec-22 14:11 
GeneralRe: malloc and calloc revisited - oh hum but pay attention when using them Pin
jmaida20-Dec-22 15:21
jmaida20-Dec-22 15:21 
GeneralRe: malloc and calloc revisited - oh hum but pay attention when using them Pin
jmaida19-Dec-22 18:28
jmaida19-Dec-22 18:28 
GeneralRe: malloc and calloc revisited - oh hum but pay attention when using them Pin
jmaida19-Dec-22 18:31
jmaida19-Dec-22 18:31 
GeneralRe: malloc and calloc revisited - oh hum but pay attention when using them Pin
honey the codewitch19-Dec-22 19:00
mvahoney the codewitch19-Dec-22 19:00 
GeneralRe: malloc and calloc revisited - oh hum but pay attention when using them Pin
Peter_in_278019-Dec-22 20:00
professionalPeter_in_278019-Dec-22 20:00 
GeneralRe: malloc and calloc revisited - oh hum but pay attention when using them Pin
CPallini20-Dec-22 21:05
mveCPallini20-Dec-22 21:05 
GeneralRe: malloc and calloc revisited - oh hum but pay attention when using them Pin
honey the codewitch20-Dec-22 23:30
mvahoney the codewitch20-Dec-22 23:30 
GeneralRe: malloc and calloc revisited - oh hum but pay attention when using them Pin
honey the codewitch19-Dec-22 18:58
mvahoney the codewitch19-Dec-22 18:58 
GeneralRe: malloc and calloc revisited - oh hum but pay attention when using them Pin
Daniel Pfeffer19-Dec-22 21:01
professionalDaniel Pfeffer19-Dec-22 21:01 

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.