foo.cc: In function 'll gcd(ll, ll)':
foo.cc:8:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if (a < 0) a = -a; if (b < 0) b = -b;
^~
foo.cc:8:24: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
if (a < 0) a = -a; if (b < 0) b = -b;
^~
foo.cc: In member function 'void trans_radix::read_str()':
foo.cc:101:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
void read_str() { scanf("%s", s + 1); }
~~~~~^~~~~~~~~~~~~