So I am trying to implement a linked-list from scratch, and it compiles and runs fine with optimizations turned on or when compiling with the -g flag. It also works on Visual St