/in/foo.cc: In member function 'bool CDtime::isLeap()':
/in/foo.cc:9:53: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
    9 |         bool isLeap() {return year%400==0||year%4==0&&year%100!=0;}
      |                                            ~~~~~~~~~^~~~~~~~~~~~~
/in/foo.cc: In member function 'bool CDtime::isLeap(int)':
/in/foo.cc:10:61: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   10 |         bool isLeap(int year) {return year%400==0||year%4==0&&year%100!=0;}
      |                                                    ~~~~~~~~~^~~~~~~~~~~~~
/in/foo.cc: In member function 'int CDtime::diffday(CDtime&)':
/in/foo.cc:38:41: error: 'y' was not declared in this scope
   38 |                         num+=365+isLeap(y)-dt.Passday()+Passday();
      |                                         ^