Closed adammoody closed 4 years ago
@adammoody that's a glibc function defined in
Oh, cool. I always just used getcwd() and didn't know of this one.
Looks like we're missing the include for it in that case.
Also this one:
[ 10%] Building C object src/CMakeFiles/axl_o.dir/axl.c.o /g/g0/moody20/projects/filo.git/AXL.git/src/axl.c: In function 'AXL_Dispatch': /g/g0/moody20/projects/filo.git/AXL.git/src/axl.c:214:26: warning: initialization makes pointer from integer without a cast char* dest_dir = dirname(dest_path);
Is this function defined somewhere? The test program seems to be missing the definition and the prototype.
[100%] Building C object test/CMakeFiles/test_axl.dir/test_axl_sync.c.o /g/g0/moody20/projects/filo.git/AXL.git/test/test_axl_sync.c: In function 'test_axl_sync': /g/g0/moody20/projects/filo.git/AXL.git/test/test_axl_sync.c:38:15: warning: initialization makes pointer from integer without a cast char* pwd = get_current_dir_name();