I decided to add this git allocator to myself, but first I wanted to test its work. I downloaded all the files, went into the folder, wrote the make command and saw
buddy.c:214:2: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' [-Wformat=] TRACE_FLOW("(%lu)", sizesCount); ^ buddy.c:227:2: warning: large integer implicitly truncated to unsigned type [-Woverflow] MARK_BLOCK_FREE(sizeof(Address) * 2); ^ And many more of the same warning for other functions. What could be the problem?
когда подключаю .c к своему файлу- how exactly, what does it mean to "connect"? - PinkTux