/in/foo.cc: In function 'int* m(SeqList&, SeqList&)':
/in/foo.cc:21:28: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
{if (obj1.a[i] = obj2.a[j]){*(c+k) = obj1.a[i];k++;};}}
^
/in/foo.cc: In function 'int mian()':
/in/foo.cc:34:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0;i < sizeof(m(c[0], c[1]));i++)
~~^~~~~~~~~
/in/foo.cc:39:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
/usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/Scrt1.o: In function `_start':
(.text+0x20): undefined reference to `main'
collect2: error: ld returned 1 exit status