Opened 5 months ago
Last modified 5 months ago
#72897 assigned defect
gtk-sharp2: int conversion errors
| Reported by: | BobPortmann (Bob Portmann) | Owned by: | MarcusCalhoun-Lopez (Marcus Calhoun-Lopez) |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | |
| Keywords: | sequoia | Cc: | |
| Port: | gtk-sharp2 |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
The gtk-sharp2 port errors with the following error on Sequoia 15.6.1 (note that this is from the main.log output)
:info:build windowmanager.c:113:12: error: incompatible integer to pointer conversion assigning to 'gpointer' (aka 'void *') from 'long' [-Wint-conversion] :info:build 113 | list [i] = data [i];
This can be fixed with the addition of
configure.args CFLAGS=-Wno-int-conversion
to the Portfile.
Note that this CFLAG was not needed in earlier versions of Mac OS but it probably doesn't hurt to have it.
Change History (2)
comment:1 Changed 5 months ago by ryandesign (Ryan Carsten Schmidt)
| Description: | modified (diff) |
|---|---|
| Keywords: | sequoia added |
| Port: | gtk-sharp2 added |
| Summary: | gtk-sharp2 needs CFLAG on Sequoia → gtk-sharp2: int conversion errors |
comment:2 Changed 5 months ago by jmroot (Joshua Root)
| Owner: | set to MarcusCalhoun-Lopez |
|---|---|
| Status: | new → assigned |
Note: See
TracTickets for help on using
tickets.

We would rather fix the code than suppress the warning.
If fixing the code is too difficult then use
configure.cflags-append -Wno-int-conversioninstead.