ethereum.cpp: In function 'excinfo GetExchangePrice()':
ethereum.cpp:19:3: warning: 'auto' changes meaning in C++11; please remove it [-Wc++0x-compat]
auto v = extended_gcd(p,-q);
^
ethereum.cpp:19:8: error: 'v' does not name a type
auto v = extended_gcd(p,-q);
^
ethereum.cpp:20:13: error: 'v' was not declared in this scope
ret.BTC = v.first;
^
ethereum.cpp:24:3: warning: 'auto' changes meaning in C++11; please remove it [-Wc++0x-compat]
auto v = extended_gcd(-p,q);
^
ethereum.cpp:24:8: error: 'v' does not name a type
auto v = extended_gcd(-p,q);
^
ethereum.cpp:25:14: error: 'v' was not declared in this scope
ret.BTC = -v.first;
^