Main.cc: In function ‘int main(int, const char**)’: Main.cc:16:55: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘size_t {aka long unsigned int}’ [-Wformat=] printf("Input %dx%d integer matrix:\n", ROWS, COLS); ^ Main.cc:16:55: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘size_t {aka long unsigned int}’ [-Wformat=] Main.cc:10:30: warning: variable ‘totalnum’ set but not used [-Wunused-but-set-variable] size_t i, j, ROWS, COLS, totalnum; ^~~~~~~~ /tmp/ccb9jE4O.o: In function `main': Main.cc:(.text.startup+0x12d): undefined reference to `funMin(int (*) [3], int)' collect2: error: ld returned 1 exit status