ECP-VeloC / AXL

Asynchronous Transfer Library
MIT License
2 stars 8 forks source link

get_current_dir_name() missing definition #7

Closed adammoody closed 4 years ago

adammoody commented 6 years ago

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();

becker33 commented 6 years ago

@adammoody that's a glibc function defined in

adammoody commented 6 years ago

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.

adammoody commented 6 years ago

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);