/in/foo.cc: In function 'void build()':
/in/foo.cc:61:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(register int i=0;i<=temp.size();++i)
~^~~~~~~~~~~~~
/in/foo.cc:64:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
register int r=temp[(i>temp.size()-1?0:i)]-'0';
~^~~~~~~~~~~~~~
/in/foo.cc:70:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(new_string.empty()||new_string.size()>max_len)//||new_string.size()!=temp.size()+1)
~~~~~~~~~~~~~~~~~^~~~~~~~
/in/foo.cc:84:8: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(i==temp.size())
~^~~~~~~~~~~~~
/in/foo.cc:86:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(register int j=i+1;j<temp.size();++j)
~^~~~~~~~~~~~
/in/foo.cc:90:26: warning: suggest parentheses around '+' inside '<<' [-Wparentheses]
register int wt=(x&y)+(x^y)<<1;
~~~~~^~~~~~
/in/foo.cc:109:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(register int i=0;i<temp.size();++i)
~^~~~~~~~~~~~
/in/foo.cc:113:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
register int r=temp[(i+1>temp.size()-1?0:i+1)]-'0';
~~~^~~~~~~~~~~~~~