Hi.
When using the lstat function from the file libats/libc/SATS/sys/stat.sats, I get the following warning:
/src/main.dats: In function 'symlink_exists_199':
/usr/lib/ats2-postiats-0.3.11/libats/libc/CATS/sys/stat.cats:74:34: warning: implicit declaration of function 'lstat'; did you mean 'fstat'? [-Wimplicit-function-declaration]
#define atslib_libats_libc_lstat lstat
^~~~~
/usr/lib/ats2-postiats-0.3.11/ccomp/runtime/pats_ccomp_instrset.h:276:37: note: in definition of macro 'ATSINSmove'
#define ATSINSmove(tmp, val) (tmp = val)
^~~
/src/main.dats:189:20: note: in expansion of macro 'atslib_libats_libc_lstat'
val error = $STAT.lstat(filename, stat)
^~~~~~~~~~~~~~~~~~~~~~~~
I guess it needs to be declared somewhere in the standard library.
Thanks to fix this.
Hi. When using the
lstat
function from the filelibats/libc/SATS/sys/stat.sats
, I get the following warning:I guess it needs to be declared somewhere in the standard library. Thanks to fix this.