-
Notifications
You must be signed in to change notification settings - Fork 141
Description
First there is the problem that it assumes the architecture on each it is compiled. But I saw a pending PR adding the support: #198 which is very nice to have
Second: trying to compile pclsync I get some casting issues which for the older compilers may have been acceptable , but for system I have they are considered fatal:
`psynclib.c: In function ‘psync_create_backup’:
ptools.h:49:20: error: passing argument 3 of ‘parse_os_path’ makes pointer from integer without a cast [-Wint-conversion]
49 | #define DELIM_DIR '/'
| ^~~
| |
| int
.....
psynclib.c: In function ‘psync_async_delete_sync’:
psynclib.c:2870:27: error: initialization of ‘psync_syncid_t’ {aka ‘unsigned int’} from ‘psync_syncid_t *’ {aka ‘unsigned int ’} makes integer from pointer without a cast [-Wint-conversion]
2870 | psync_syncid_t syncId = (psync_syncid_t)ptr;
| ^
psynclib.c: In function ‘psync_async_ui_callback’:
psynclib.c:2883:17: error: initialization of ‘int’ from ‘int ’ makes integer from pointer without a cast [-Wint-conversion]
2883 | int eventId = (int)ptr;
| ^
psynclib.c: In function ‘psync_delete_sync_by_folderid’:
psynclib.c:2913:10: error: assignment to ‘psync_syncid_t *’ {aka ‘unsigned int *’} from ‘uint64_t’ {aka ‘long unsigned int’} makes pointer from integer without a cast [-Wint-conversion]
2913 | syncId = row[0];
| ^
.....
`
Here are gcc and cmake
`
└─$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/aarch64-linux-gnu/15/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none
OFFLOAD_TARGET_DEFAULT=1
Target: aarch64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 15.2.0-7' --with-bugurl=file:///usr/share/doc/gcc-15/README.Bugs --enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++,m2,rust,cobol,algol68 --prefix=/usr --with-gcc-major-version-only --program-suffix=-15 --program-prefix=aarch64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/libexec --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-libstdcxx-backtrace --enable-gnu-unique-object --disable-libquadmath --disable-libquadmath-support --enable-plugin --enable-default-pie --with-system-zlib --enable-libphobos-checking=release --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --enable-fix-cortex-a53-843419 --disable-werror --enable-offload-targets=nvptx-none=/build/reproducible-path/gcc-15-15.2.0/debian/tmp-nvptx/usr --enable-offload-defaulted --without-cuda-driver --enable-checking=release --build=aarch64-linux-gnu --host=aarch64-linux-gnu --target=aarch64-linux-gnu --with-build-config=bootstrap-lto-lean --enable-link-serialization=4
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 15.2.0 (Debian 15.2.0-7)
└─$ cmake --version
cmake version 3.31.6
CMake suite maintained and supported by Kitware (kitware.com/cmake).
`
It seems the project needs maintaing
I am trying to find out if there is anything I can do fix the problems. Any help would be appreciated.