MantisBT - LibWapcaplet | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0002624 | LibWapcaplet | [All Projects] General | public | 2018-09-29 21:30 | 2019-02-16 17:55 |
Reporter | J. Peter Mugaas | ||||
---|---|---|---|---|---|
Assigned To | |||||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | won't fix | ||
Platform | mingw-w64 | OS | Windows | OS Version | 10 |
Fixed in CI build # | |||||
Reported in CI build # | |||||
Summary | 0002624: Contribution - CMake-build-system for libwapcaplet | ||||
Description | Here's a build system that I made to build and test libwapcaplet. While the tests fail, it does make a good start. The idea is to help people this on Windows including both static and shared libraries. This might also work on Cygwin and MSYS2. Please feel to include this in your projects. Here's a build log so far: [ 9%] Building C object CMakeFiles/libwapcatlet_shared.dir/src/libwapcaplet.c.obj [ 18%] Building RC object CMakeFiles/libwapcatlet_shared.dir/libwapcaplet.rc.obj D:/msys64/home/jpmugaas/exp/mingw-w64-libwapcaplet/src/libwapcaplet-0.4.1/src/libwapcaplet.c: In function 'lwc_intern_string': D:/msys64/home/jpmugaas/exp/mingw-w64-libwapcaplet/src/libwapcaplet-0.4.1/src/libwapcaplet.c:148:16: warning: cast between incompatible function types from 'void * (*)(void * restrict, const void * restrict, size_t)' {aka 'void * (*)(void * restrict, const void * restrict, long long unsigned int)'} to 'void (*)(char *, const char *, size_t)' {aka 'void (*)(char *, const char *, long long unsigned int)'} [-Wcast-function-type] strncmp, (lwc_memcpy)memcpy); ^ [ 27%] Building C object CMakeFiles/libwapcatlet_static.dir/src/libwapcaplet.c.obj D:/msys64/home/jpmugaas/exp/mingw-w64-libwapcaplet/src/libwapcaplet-0.4.1/src/libwapcaplet.c: In function 'lwc_intern_string': D:/msys64/home/jpmugaas/exp/mingw-w64-libwapcaplet/src/libwapcaplet-0.4.1/src/libwapcaplet.c:148:16: warning: cast between incompatible function types from 'void * (*)(void * restrict, const void * restrict, size_t)' {aka 'void * (*)(void * restrict, const void * restrict, long long unsigned int)'} to 'void (*)(char *, const char *, size_t)' {aka 'void (*)(char *, const char *, long long unsigned int)'} [-Wcast-function-type] strncmp, (lwc_memcpy)memcpy); | ||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | CMakeLists.txt (9,276) 2018-09-29 21:30 https://bugs.netsurf-browser.org/mantis/file_download.php?file_id=566&type=bug |
Notes | |||||
|
|||||
|
|
Issue History | |||||
Date Modified | Username | Field | Change | ||
---|---|---|---|---|---|
2018-09-29 21:30 | J. Peter Mugaas | New Issue | |||
2018-09-29 21:30 | J. Peter Mugaas | File Added: CMakeLists.txt | |||
2018-10-23 19:41 | Vincent Sanders | Status | new => acknowledged | ||
2019-02-16 17:55 | Daniel Silverstone | Status | acknowledged => closed | ||
2019-02-16 17:55 | Daniel Silverstone | Resolution | open => won't fix | ||
2019-02-16 17:55 | Daniel Silverstone | Note Added: 0001881 |