Mailing List Archive

[MythTV/mythtv] d8fe2d: Fix compiler warning about disallowed template-id.
Branch: refs/heads/master
Home: https://github.com/MythTV/mythtv
Commit: d8fe2dafdf2114c24391f86a0685229723180ca8
https://github.com/MythTV/mythtv/commit/d8fe2dafdf2114c24391f86a0685229723180ca8
Author: David Hampton <mythtv@love2code.net>
Date: 2024-03-25 (Mon, 25 Mar 2024)

Changed paths:
M mythtv/libs/libmythbase/referencecounterlist.h

Log Message:
-----------
Fix compiler warning about disallowed template-id.

The gcc-14 compiler is issuing the warning that "template-id not
allowed for constructor in C++20".

Starting with C++17, the compiler automatically deduces the required
type for constructor, but it was OK for the code to also specify the
type. In C++20, the code also specifying the type will apparently
become an error. This commit removes the redundant type
specification.


Commit: 07e06f70edf22acb17ca6a4b9504fab7d6794a19
https://github.com/MythTV/mythtv/commit/07e06f70edf22acb17ca6a4b9504fab7d6794a19
Author: David Hampton <mythtv@love2code.net>
Date: 2024-03-25 (Mon, 25 Mar 2024)

Changed paths:
M mythtv/libs/libmythtv/captions/cc708window.h

Log Message:
-----------
Fix compiler warning about converting from initializer list to explicit constructor

The gcc-14 compiler is issuing the warning:

converting to ‘CC708CharacterAttribute’ from initializer list would
use explicit constructor
‘CC708CharacterAttribute::CC708CharacterAttribute(bool, bool, bool,
QColor)’

Removing the explicit empty initializer from the m_pen member field
eliminates this error.


Commit: 0ad35e97cd650362aa007bb3ba196f122fee29dc
https://github.com/MythTV/mythtv/commit/0ad35e97cd650362aa007bb3ba196f122fee29dc
Author: David Hampton <mythtv@love2code.net>
Date: 2024-03-25 (Mon, 25 Mar 2024)

Changed paths:
M mythtv/configure

Log Message:
-----------
Fix compilation on FreeBSD 15.

The regular expression to strip the /usr/local/include path from the
FREETYPE_CFLAGS has always been broken, but the break was never
detected because that path always appeared in the middle of the cflags
string. In FreeBSD 15, that include path now appears at the end of
the cflags string and the broken regex fails to remove it. Fix the
regular expression to correctly remove the include path at the end of
the cflags string. This has been tested on FreeBSD 13, 14, and 15.


Compare: https://github.com/MythTV/mythtv/compare/704b192a1605...0ad35e97cd65

To unsubscribe from these emails, change your notification settings at https://github.com/MythTV/mythtv/settings/notifications
_______________________________________________
mythtv-commits mailing list
mythtv-commits@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-commits