MantisBT - LibParserUtils | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0002620 | LibParserUtils | [All Projects] General | public | 2018-09-25 05:05 | 2020-02-21 10:09 |
| Reporter | J. Peter Mugaas | ||||
|---|---|---|---|---|---|
| Assigned To | Vincent Sanders | ||||
| Priority | normal | Severity | minor | Reproducibility | have not tried |
| Status | assigned | Resolution | open | ||
| Platform | mingw-w64 | OS | Windows 10 | OS Version | 10 |
| Product Version | 0.2.1 | ||||
| Target Version | Fixed in Version | ||||
| Fixed in CI build # | |||||
| Reported in CI build # | |||||
| Summary | 0002620: 0.2.4 - test suite cscodec-utf16.c in Windows | ||||
| Description | I tried to compile cscodec-utf16.c in Windows with an automated build process that I was writing. I found that cscodec-utf16.c had these references: #include <arpa/inet.h> #include <netinet/in.h> Those are NOT valid for Windows. To use the htonl and ntohl functions, you must include winsock2 and then you have to link to the Ws2_32 library. Please verify this statement at: https://docs.microsoft.com/en-us/windows/desktop/api/winsock/nf-winsock-ntohl . I have done this in a cmake script I was writing to build libparserutils in Windows that includes running your test executables with a good deal of success I am providing a patch to fix the issue. Please feel free to use it. | ||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | https://bugs.netsurf-browser.org/mantis/file_download.php?file_id=562&type=bug | ||||
| There are no notes attached to this issue. |
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
|---|---|---|---|---|---|
| 2018-09-25 05:05 | J. Peter Mugaas | New Issue | |||
| 2018-09-25 05:05 | J. Peter Mugaas | File Added: test-htonl-ntohl.patch | |||
| 2020-02-21 10:09 | Vincent Sanders | Assigned To | => Vincent Sanders | ||
| 2020-02-21 10:09 | Vincent Sanders | Status | new => assigned | ||