/in/foo.cc: In member function 'void Point::read()':
/in/foo.cc:55:42: warning: format '%lf' expects argument of type 'double*', but argument 2 has type 'long double*' [-Wformat=]
void read () { scanf("%lf%lf", &x, &y); }
^
/in/foo.cc:55:42: warning: format '%lf' expects argument of type 'double*', but argument 3 has type 'long double*' [-Wformat=]
/in/foo.cc: In member function 'void Point::write()':
/in/foo.cc:56:43: warning: format '%lf' expects argument of type 'double', but argument 2 has type 'long double' [-Wformat=]
void write () { printf("%lf %lf", x, y); }
^
/in/foo.cc:56:43: warning: format '%lf' expects argument of type 'double', but argument 3 has type 'long double' [-Wformat=]