Mailing List Archive

[MythTV/mythtv] db852a: libmyth/schemawizard.cpp: silence -Wundef
Branch: refs/heads/master
Home: https://github.com/MythTV/mythtv
Commit: db852ab472f3107898e65221ecb5c81e6f0c2196
https://github.com/MythTV/mythtv/commit/db852ab472f3107898e65221ecb5c81e6f0c2196
Author: ulmus-scott <scott.the.elm@gmail.com>
Date: 2022-11-24 (Thu, 24 Nov 2022)

Changed paths:
M mythtv/libs/libmyth/schemawizard.cpp

Log Message:
-----------
libmyth/schemawizard.cpp: silence -Wundef


Commit: 8ecfa8bf54e5036fcf9ddaca38a1797f175c3601
https://github.com/MythTV/mythtv/commit/8ecfa8bf54e5036fcf9ddaca38a1797f175c3601
Author: Scott Theisen <scott.the.elm@gmail.com>
Date: 2022-11-24 (Thu, 24 Nov 2022)

Changed paths:
M mythtv/libs/libmyth/mediamonitor-unix.cpp

Log Message:
-----------
libmyth/mediamonitor-unix.cpp: silence -Wundef


Commit: 4fc8fdbb46669d88122cc253b9596f8ae1632120
https://github.com/MythTV/mythtv/commit/4fc8fdbb46669d88122cc253b9596f8ae1632120
Author: ulmus-scott <scott.the.elm@gmail.com>
Date: 2022-11-24 (Thu, 24 Nov 2022)

Changed paths:
M mythtv/libs/libmythtv/captions/cc708decoder.cpp

Log Message:
-----------
cc708decoder.cpp: silence -Wundef


Commit: f0699dc35288c25c8ea509a4d9f12ad6f223903a
https://github.com/MythTV/mythtv/commit/f0699dc35288c25c8ea509a4d9f12ad6f223903a
Author: ulmus-scott <scott.the.elm@gmail.com>
Date: 2022-11-24 (Thu, 24 Nov 2022)

Changed paths:
M mythtv/libs/libmythtv/recorders/dvbdev/dvbci.h

Log Message:
-----------
libmythtv/recorders/dvbdev/dvbci.h: silence -Wundef

<cstdint> is used unconditionally in the file, so remove the unnecessary checks


Commit: c1a4e55afc161ca1114283442fc28ca809485a1d
https://github.com/MythTV/mythtv/commit/c1a4e55afc161ca1114283442fc28ca809485a1d
Author: ulmus-scott <scott.the.elm@gmail.com>
Date: 2022-11-24 (Thu, 24 Nov 2022)

Changed paths:
M mythtv/libs/libmythtv/channelscan/channelscanner_cli.cpp

Log Message:
-----------
channelscan/channelscanner_cli.cpp: silence -Wundef


Commit: 7c712773f7cc8e68c95f87c60832248755675ad2
https://github.com/MythTV/mythtv/commit/7c712773f7cc8e68c95f87c60832248755675ad2
Author: ulmus-scott <scott.the.elm@gmail.com>
Date: 2022-11-24 (Thu, 24 Nov 2022)

Changed paths:
M mythtv/libs/libmythtv/recorders/firewirechannel.cpp
M mythtv/libs/libmythtv/recorders/firewiredevice.cpp

Log Message:
-----------
define USING_OSX_FIREWIRE: silence -Wundef


Commit: 36ec32f134a9809e00e943938f9a5e6e4f13944c
https://github.com/MythTV/mythtv/commit/36ec32f134a9809e00e943938f9a5e6e4f13944c
Author: ulmus-scott <scott.the.elm@gmail.com>
Date: 2022-11-24 (Thu, 24 Nov 2022)

Changed paths:
M mythtv/programs/mythtranscode/mpeg2fix.cpp

Log Message:
-----------
mythtranscode/mpeg2fix.cpp: silence -Wundef

The other uses were already ifdef.


Commit: 90cfae1e747653c83d5d7cf54552ecb3d801cc49
https://github.com/MythTV/mythtv/commit/90cfae1e747653c83d5d7cf54552ecb3d801cc49
Author: ulmus-scott <scott.the.elm@gmail.com>
Date: 2022-11-24 (Thu, 24 Nov 2022)

Changed paths:
M mythtv/libs/libmythtv/recorders/vbitext/cc.cpp

Log Message:
-----------
recorders/vbitext/cc.cpp: silence -Wundef

HAVE_GETOPT_H is never defined and getopt is not used in this file, so remove all of it.


Commit: 8d0009f516203b0fef89341cb490742a30001def
https://github.com/MythTV/mythtv/commit/8d0009f516203b0fef89341cb490742a30001def
Author: Scott Theisen <scott.the.elm@gmail.com>
Date: 2022-11-24 (Thu, 24 Nov 2022)

Changed paths:
M mythtv/libs/libmyth/audio/audiooutputbase.cpp

Log Message:
-----------
libmyth/audio/audiooutputbase.cpp: silence -Wundef (g++)

SoundTouch is detected with pkgconfig, which on Ubuntu has:
includedir=${prefix}/include
Cflags: -I${includedir}/soundtouch

GCC sees SoundTouch.h as a non-system header and gives warnings for -Wundef.
/usr/include/soundtouch/STTypes.h:81:11: warning: "SOUNDTOUCH_INTEGER_SAMPLES" is not defined, evaluates to 0 [-Wundef]
81 | #if !(SOUNDTOUCH_INTEGER_SAMPLES || SOUNDTOUCH_FLOAT_SAMPLES)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/soundtouch/STTypes.h:102:10: warning: "_M_IX86" is not defined, evaluates to 0 [-Wundef]
102 | #if (_M_IX86 || __i386__ || __x86_64__ || _M_X64)
| ^~~~~~~
/usr/include/soundtouch/STTypes.h:102:21: warning: "__i386__" is not defined, evaluates to 0 [-Wundef]
102 | #if (_M_IX86 || __i386__ || __x86_64__ || _M_X64)

Including as <soundtouch/SoundTouch.h> suppresses the warnings, since GCC now sees it as a system header.


Commit: 5ce1dea5408d41d6e574ff5017885aa351aeaccc
https://github.com/MythTV/mythtv/commit/5ce1dea5408d41d6e574ff5017885aa351aeaccc
Author: ulmus-scott <scott.the.elm@gmail.com>
Date: 2022-11-24 (Thu, 24 Nov 2022)

Changed paths:
M mythtv/programs/mythbackend/services/image.cpp

Log Message:
-----------
mythbackend/services/image.cpp: silence -Wundef


Commit: 5cf075f4c51c48386b7c9253fe637062d1b8768d
https://github.com/MythTV/mythtv/commit/5cf075f4c51c48386b7c9253fe637062d1b8768d
Author: Scott Theisen <scott.the.elm@gmail.com>
Date: 2022-11-24 (Thu, 24 Nov 2022)

Changed paths:
M mythtv/libs/libmythbase/mythdb.cpp

Log Message:
-----------
libmythbase/mythdb.cpp: silence -Wundef


Commit: 430ee11e0d896f3a11a585602488953e2232ecb1
https://github.com/MythTV/mythtv/commit/430ee11e0d896f3a11a585602488953e2232ecb1
Author: Scott Theisen <scott.the.elm@gmail.com>
Date: 2022-11-24 (Thu, 24 Nov 2022)

Changed paths:
M mythtv/programs/mythbackend/mediaserver.cpp

Log Message:
-----------
mythbackend/mediaserver.cpp: silence -Wundef


Commit: 1d5dab76f52e82b68cfa16e122f5e8bd870baba0
https://github.com/MythTV/mythtv/commit/1d5dab76f52e82b68cfa16e122f5e8bd870baba0
Author: Scott Theisen <scott.the.elm@gmail.com>
Date: 2022-11-24 (Thu, 24 Nov 2022)

Changed paths:
M mythtv/libs/libmythtv/decoders/avformatdecoder.cpp
M mythtv/libs/libmythtv/decoders/avformatdecoder.h

Log Message:
-----------
avformatdecoder.cpp: silence -Wundef

by removing the dts seeking hack, which hasn't compiled since
the FFmpeg 5.1 merge, which moved AVStream::cur_dts to the internal
struct FFStream.


Commit: fdbb3709078ebff9096f3db9a6216ee8b64efc6b
https://github.com/MythTV/mythtv/commit/fdbb3709078ebff9096f3db9a6216ee8b64efc6b
Author: ulmus-scott <scott.the.elm@gmail.com>
Date: 2022-11-24 (Thu, 24 Nov 2022)

Changed paths:
M mythtv/configure
M mythtv/external/libexiv2/libexiv2.pro

Log Message:
-----------
configure: enable -Wundef for C++ code

Disable -Wundef for external/libexiv2/ because of noise from xmpsdk/include/*


Compare: https://github.com/MythTV/mythtv/compare/edf8117b5f6c...fdbb3709078e
_______________________________________________
mythtv-commits mailing list
mythtv-commits@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-commits