[MacPorts] #71012: nbsmtp @1.00: error: incompatible integer to pointer conversion assigning to 'char *' from 'char' [-Wint-conversion] (was: nbsmtp failed to build)
MacPorts
noreply at macports.org
Wed Oct 2 05:11:49 UTC 2024
#71012: nbsmtp @1.00: error: incompatible integer to pointer conversion assigning
to 'char *' from 'char' [-Wint-conversion]
----------------------+--------------------
Reporter: Buadhai | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.10.2
Resolution: | Keywords:
Port: nbsmtp |
----------------------+--------------------
Changes (by ryandesign):
* port: => nbsmtp
Comment:
Thanks for the report. The log tell us the problem is:
{{{
original.c:464:29: warning: cast to smaller integer type 'char' from 'void
*' [-Wvoid-pointer-to-int-cast]
464 | serverinfo->auth_user =
(char)NULL;
| ^~~~~~~~~~
original.c:464:27: error: incompatible integer to pointer conversion
assigning to 'char *' from 'char' [-Wint-conversion]
464 | serverinfo->auth_user =
(char)NULL;
| ^ ~~~~~~~~~~
original.c:465:29: warning: cast to smaller integer type 'char' from 'void
*' [-Wvoid-pointer-to-int-cast]
465 | serverinfo->auth_pass =
(char)NULL;
| ^~~~~~~~~~
original.c:465:27: error: incompatible integer to pointer conversion
assigning to 'char *' from 'char' [-Wint-conversion]
465 | serverinfo->auth_pass =
(char)NULL;
| ^ ~~~~~~~~~~
2 warnings and 2 errors generated.
make: *** [original.o] Error 1
make: *** Waiting for unfinished jobs....
}}}
So we either need to update the port to a fixed version from its
developers or, if none exists, we'll have to develop a fix for this
ourselves.
--
Ticket URL: <https://trac.macports.org/ticket/71012#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list