2023-12-19 19:12 UTC+0100 Enrico Maria Giordano <e.m.giordano@emagsoftware.it>
 * contrib\hbhpdf
   ! Reverted my recent changes
Il 19/12/2023 19:13, Enrico Maria Giordano ha scritto:
2023-12-19 19:12 UTC+0100 Enrico Maria Giordano <e.m.giordano@emagsoftware.it>
* contrib\hbhpdf
! Reverted my recent changes
OK, now I get many of these errors using MSC32:
contrib\hbhpdf\hpdf_objects.c(60): error C2664: 'void HPDF_String_Free(HPDF_String)': cannot convert argument 1 from 'void *'
to 'HPDF_String'
contrib\hbhpdf\hpdf_objects.c(60): note: Conversion from 'void*' to
pointer to non-'void' requires an explicit cast
Please note that they are errors, not warnings. What to do, other than
fixing them?
Il 19/12/2023 19:13, Enrico Maria Giordano ha scritto:
2023-12-19 19:12 UTC+0100 Enrico Maria Giordano <e.m.giordano@emagsoftware.it>
* contrib\hbhpdf
! Reverted my recent changes
OK, now I get many of these errors using MSC32:
contrib\hbhpdf\hpdf_objects.c(60): error C2664: 'void HPDF_String_Free(HPDF_String)': cannot convert argument 1 from 'void *'
to 'HPDF_String'
contrib\hbhpdf\hpdf_objects.c(60): note: Conversion from 'void*' to
pointer to non-'void' requires an explicit cast
Please note that they are errors, not warnings. What to do, other than
fixing them?
Enrico Maria Giordano wrote:
Il 19/12/2023 19:13, Enrico Maria Giordano ha scritto:
2023-12-19 19:12 UTC+0100 Enrico Maria Giordano <e.m.giordano@emagsoftware.it>
* contrib\hbhpdf
! Reverted my recent changes
OK, now I get many of these errors using MSC32:
contrib\hbhpdf\hpdf_objects.c(60): error C2664: 'void HPDF_String_Free(HPDF_String)': cannot convert argument 1 from 'void *'
to 'HPDF_String'
contrib\hbhpdf\hpdf_objects.c(60): note: Conversion from 'void*' to
pointer to non-'void' requires an explicit cast
Please note that they are errors, not warnings. What to do, other than fixing them?
Enbrico,
Can you please provide all of them?
One approahc we may consider is:
-D'HPDF_String_Free(arg)=HPDF_String_Free((HPDF_String)(arg))'
On the command line in the make for given compiler.
Another approach is to FORK libharu and make the fixes in our fork, and
later we may MERGE future modifications of libharu into our fork.
Or BEST we may open an issue on GitHub, and report such errors and
propose the fix ass a PULL REQUEST.
What do you think?
Ron
Ron
Can you please provide all of them?
One approahc we may consider is:
-D'HPDF_String_Free(arg)=HPDF_String_Free((HPDF_String)(arg))'
On the command line in the make for given compiler.
Another approach is to FORK libharu and make the fixes in our fork, and
later we may MERGE future modifications of libharu into our fork.
Or BEST we may open an issue on GitHub, and report such errors and
propose the fix ass a PULL REQUEST.
What do you think?
One more approach is to ADD one more source file (xhb_config.c) like
this:
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 380 |
Nodes: | 16 (2 / 14) |
Uptime: | 48:18:13 |
Calls: | 8,142 |
Calls today: | 5 |
Files: | 13,085 |
Messages: | 5,858,374 |