/in/foo.cc: In function 'int main()':
/in/foo.cc:12:13: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
y=sqrt(m^2+b)+sqrt(n^2+d);
~^~
/in/foo.cc:12:15: error: 'sqrt' was not declared in this scope
y=sqrt(m^2+b)+sqrt(n^2+d);
^
/in/foo.cc:12:25: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
y=sqrt(m^2+b)+sqrt(n^2+d);
~^~
/in/foo.cc:18:13: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
y=sqrt(m^2+b)+sqrt(n^2+d);
~^~
/in/foo.cc:18:15: error: 'sqrt' was not declared in this scope
y=sqrt(m^2+b)+sqrt(n^2+d);
^
/in/foo.cc:18:25: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
y=sqrt(m^2+b)+sqrt(n^2+d);
~^~