>tfw accidentally malloc'd sizeof(thing_t*) instead of sizeof(thing_t) and you spent 12 hours to track that down
Last time I malloc'd a pointer my compiler gave me a warning
Did you fall for the -supress-warnings meme
>>55041894
I have -Wall and -Wextra on and nothing is suppressed
>>55041933
Clang or gcc
>>55041947
gcc
>>55041984
>gcc
Use clang (especially for dev builds) , makes life a lot easier
>>55042005
Would it have caught it in this case? I used a lot of void pointers and pointer arithmetic.
Thanks for the tip and I will check it out.
>>55042068
I'd just give a warning so you'll have something to use when you try to work out what went wrong
>>55041847
>malloc
nice dinosaur language you got there pal.
>>55042212
Fuck off Pajeet
>>55042212
Fuck off Pajeet
>>55042212
https://www.youtube.com/watch?v=VjE3NjDdfts
Pajeet pls