/in/foo.cc: In function 'int main()':
/in/foo.cc:30:10: warning: format '%lf' expects argument of type 'double*', but argument 2 has type 'long double*' [-Wformat=]
30 | scanf("%lf%lf%lf",a,a+1,a+2);
| ~~^ ~
| | |
| double* long double*
| %Lf
/in/foo.cc:30:13: warning: format '%lf' expects argument of type 'double*', but argument 3 has type 'long double*' [-Wformat=]
30 | scanf("%lf%lf%lf",a,a+1,a+2);
| ~~^ ~~~
| | |
| double* long double*
| %Lf
/in/foo.cc:30:16: warning: format '%lf' expects argument of type 'double*', but argument 4 has type 'long double*' [-Wformat=]
30 | scanf("%lf%lf%lf",a,a+1,a+2);
| ~~^ ~~~
| | |
| double* long double*
| %Lf
/in/foo.cc:33:10: warning: format '%lf' expects argument of type 'double*', but argument 2 has type 'long double*' [-Wformat=]
33 | scanf("%lf%lf%lf",a,a+1,a+2);
| ~~^ ~
| | |
| double* long double*
| %Lf
/in/foo.cc:33:13: warning: format '%lf' expects argument of type 'double*', but argument 3 has type 'long double*' [-Wformat=]
33 | scanf("%lf%lf%lf",a,a+1,a+2);
| ~~^ ~~~
| | |
| double* long double*
| %Lf
/in/foo.cc:33:16: warning: format '%lf' expects argument of type 'double*', but argument 4 has type 'long double*' [-Wformat=]
33 | scanf("%lf%lf%lf",a,a+1,a+2);
| ~~^ ~~~
| | |
| double* long double*
| %Lf