Or they might just like writing stuff for the compiler, personal
entertainment.
I was recently told about the following compiler option. I honestly thought
it was an April Fool's joke:
-Weffc++
This option warns about C++ code which breaks some of the programming
guidelines given in the books "Effective C++" and "More Effective C++" by
Scott Meyers. For example, a warning will be given if a class which uses
dynamically allocated memory does not define a copy constructor and an
assignment operator. Note that the standard library header files do not
follow these guidelines, so you may wish to use this option as an
occasional test for possible problems in your own code rather than
compiling with it all the time.