Changes between Initial Version and Version 2 of Ticket #66174


Ignore:
Timestamp:
Nov 6, 2022, 9:55:51 PM (18 months ago)
Author:
jmroot (Joshua Root)
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #66174

    • Property Owner set to mascguy
    • Property Status changed from new to assigned
    • Property Summary changed from port: gtk3-devel build failed due to incompatible pointer types (gint64 != int64_t). to gtk3-devel build failed due to incompatible pointer types (gint64 != int64_t).
  • Ticket #66174 – Description

    initial v2  
    44
    55The 14.x clang compilers on MacOS are creating errors and warnings about mismatched types even when sizeof (long) == sizeof (long long).  Or in this case, sizeof (gint64) == sizeof (int64_t).
    6 
     6{{{
    77libtool: compile:  /usr/bin/clang -arch x86_64 -DHAVE_CONFIG_H -I. -I../.. -DG_LOG_DOMAIN=\"Gdk\" -DG_LOG_USE_STRUCTURED=1 -DGDK_COMPILATION -I../.. -I../../gdk -I../../gdk -fvisibility=hidden -DG_ENABLE_DEBUG -DG_DISABLE_CAST_CHECKS -DGLIB_MIN_REQUIRED_VERSION=GLIB_VERSION_2_56 -DGLIB_MAX_ALLOWED_VERSION=GLIB_VERSION_2_58 -I/opt/local/include/pango-1.0 -I/opt/local/include/harfbuzz -I/opt/local/include/pango-1.0 -I/opt/local/include/harfbuzz -I/opt/local/include/gdk-pixbuf-2.0 -I/opt/local/include/cairo -I/opt/local/include/gio-unix-2.0 -I/opt/local/include/cairo -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng16 -I/opt/local/include/fribidi -I/opt/local/include -DX_LOCALE -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -pipe -Os -fstrict-aliasing -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -arch x86_64 -Wall -MT gdkmonitor-x11.lo -MD -MP -MF .deps/gdkmonitor-x11.Tpo -c gdkmonitor-x11.c -o gdkmonitor-x11.o >/dev/null 2>&1
    88gdkglcontext-x11.c:107:43: warning: incompatible pointer types passing 'gint64 *' (aka 'long *') to parameter of type 'int64_t *' (aka 'long long *') [-Wincompatible-pointer-types]
     
    2424                        &ust, &msc, &sbc);
    2525                                    ^~~~
     26}}}