📄 warnings.txt
字号:
warnings.txt------------This file documents warnings that various compilers give becauseI can't turn them off and I refuse to pacify such braindeadconcerns.g++, lots of places: comparison between signed and unsigned Every place this occurs, I am comparing quantities for *equality*! Thus, the chances of an error are remote, and the ugliness of introducing (system-header-dependent!!) casts everywhere is not worth it.g++, few places: class has virtual functions but non-virtual destructor Maybe it's ok to tell programming students that all classes with virtual fns need virtual dtors, but it's not true in general and so why burden me with this rabble?? Maybe if the warning accompanied actual use of polymorphism and dynamic type != static type then this wouldn't be such a wolf cry.g++, couple files: passing (some enum) chooses `int' over `long int' This is so retarded.. I don't know where to begin.In summary, g++ sucks (yet again), and I am continuing to reconsideringever having turned on g++'s warnings. Borland knows (did know..) whatthey're doing, gnu and ms have their heads up their asses!
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -