date.h:7: Use int16/int64/etc, rather than the C type long [runtime/int] [4]
date.h:8: Use int16/int64/etc, rather than the C type long [runtime/int] [4]
date.h:8: Is this a non-const reference? If so, make const or use a pointer: int& y [runtime/references] [2]
date.h:8: Is this a non-const reference? If so, make const or use a pointer: int& m [runtime/references] [2]
date.h:8: Is this a non-const reference? If so, make const or use a pointer: int& d [runtime/references] [2]
date.h:20: Lines should be <= 80 characters long [whitespace/line_length] [2]
date.h:21: Lines should be <= 80 characters long [whitespace/line_length] [2]
date.h:22: Missing space before ( in if( [whitespace/parens] [5]
date.h:24: Missing space before ( in if( [whitespace/parens] [5]
date.h:26: Missing space before ( in if( [whitespace/parens] [5]
date.h:35: Use int16/int64/etc, rather than the C type long [runtime/int] [4]
date.h:44: Use int16/int64/etc, rather than the C type long [runtime/int] [4]
date.h:45: Use int16/int64/etc, rather than the C type long [runtime/int] [4]
date.h:51: Use int16/int64/etc, rather than the C type long [runtime/int] [4]
date.h:55: You don't need a ; after a } [readability/braces] [4]
date.h:56: Use int16/int64/etc, rather than the C type long [runtime/int] [4]
date.h:59: Use int16/int64/etc, rather than the C type long [runtime/int] [4]
date.h:61: Use int16/int64/etc, rather than the C type long [runtime/int] [4]
date.h:67: Use int16/int64/etc, rather than the C type long [runtime/int] [4]
date.h:67: Is this a non-const reference? If so, make const or use a pointer: int& y [runtime/references] [2]
date.h:67: Is this a non-const reference? If so, make const or use a pointer: int& m [runtime/references] [2]
date.h:67: Is this a non-const reference? If so, make const or use a pointer: int& d [runtime/references] [2]
date.h:68: Use int16/int64/etc, rather than the C type long [runtime/int] [4]
date.h:70: Use int16/int64/etc, rather than the C type long [runtime/int] [4]
date.h:71: Use int16/int64/etc, rather than the C type long [runtime/int] [4]
date.h:72: Use int16/int64/etc, rather than the C type long [runtime/int] [4]
date.h:73: Use int16/int64/etc, rather than the C type long [runtime/int] [4]
date.h:74: Using deprecated casting style. Use static_cast<int>(...) instead [readability/casting] [4]
date.h:75: Using deprecated casting style. Use static_cast<int>(...) instead [readability/casting] [4]
date.h:76: Using deprecated casting style. Use static_cast<int>(...) instead [readability/casting] [4]
date.h:19: Add #include <string> for string [build/include_what_you_use] [4]
Done processing date.h
Total errors found: 31
|