GNU bug report logs -
#72440
31.0.50; MacOS: TUINSRemoteViewController log message
Previous Next
Reported by: Gerd Möllmann <gerd.moellmann <at> gmail.com>
Date: Sat, 3 Aug 2024 10:34:02 UTC
Severity: normal
Found in version 31.0.50
Fixed in version 31.1
Done: Gerd Möllmann <gerd.moellmann <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
Message #22 received at 72440 <at> debbugs.gnu.org (full text, mbox):
Mattias Engdegård <mattias.engdegard <at> gmail.com> writes:
> 5 aug. 2024 kl. 17.27 skrev Gerd Möllmann <gerd.moellmann <at> gmail.com>:
>
>> Can you please check with what I just committed?
>
> Thank you but that doesn't make a difference -- it's a static, not dynamic, warning.
> Instead we could put it inside
>
> #if MAC_OS_X_VERSION_MAX_ALLOWED >= 140000
> ..
> #endif
>
> which works here but I may be confusing the version macros.
>
> More to the point, is the [self setClipsToBounds: YES] line actually
> required with older OS versions? If so, maybe it's just a matter of
> declaring the property somehow since it's supposed to exist even if
> the declaration was only made public in v14, but not sure if that is
> even possible.
I also don't know what's the right thing to do is here. One could use
the #ifdef as you showed, but then an Emacs compiled on 13.x won't do
what it should when run on 14.x. (I gather that it would otherwise run
fine.)
A runtime check with NSAppKitVersionNumber would work, if one copies the
float values for the version from NSApplication.h, and compares with
that. One has to copy the version number if one compiles on older
versions where the constant is not defined (can be either a define or a
const double in 14.5 here).
What a mess. Hopefully Alan has some advice.
This bug report was last modified 285 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.