parser, graph: silence f(gets/read) compiler warnings on exotic systems

Yes, because ubuntu compiles and distributes its gcc differently. I think only they have their gcc scream this out. I partly wanted to not fix this because I hate those assholes, but oh well.