akallabeth
491c884c7a
[cmake] remove casts from tables.c
2024-09-03 15:15:08 +02:00
akallabeth
b77d6e8550
[channels] fix function pointer casts
...
* Cast freerdp_load_channel_addin_entry return with a union (removes the
incompatible function pointer cast warnings)
* Typedef function pointers in tables.h
2024-09-03 15:13:58 +02:00
akallabeth
f3d84d4557
[warnings] use ARRAYSIZE macro
2024-09-03 15:10:58 +02:00
akallabeth
baa70d1ab6
[warnings] fix compare integers of different signs
2024-09-03 15:10:46 +02:00
akallabeth
cbeded839d
Merge pull request #10545 from akallabeth/warn-cleanups
...
Warn cleanups
2024-09-03 13:22:40 +02:00
akallabeth
a89aefa8d4
[winpr,smartcard] disable linter warnings
...
* silenced readability-non-const-parameter warnings that can not be
changeddue to API requirements
2024-09-03 13:07:16 +02:00
akallabeth
734d4ce43e
[rdtk] fix integer cast warnings
2024-09-03 12:56:21 +02:00
akallabeth
ca5a8e0625
[ci,clang-tidy] disable cppcoreguidelines-macro-to-enum
2024-09-03 12:56:13 +02:00
akallabeth
42b078a59d
[emu,scard] smartcard emulation cleanup
...
* Fix readability-non-const-parameter (disable lint, API requires these
to be non const)
* Return an appropriate error for functions returning
SCARD_E_UNSUPPORTED_FEATURE if there is a parameter wrong
* Remove unused functions
2024-09-03 12:24:55 +02:00
akallabeth
5a4a1a40ad
fix declaration and implementation parameter names
2024-09-03 12:24:53 +02:00
akallabeth
f7fd817d1c
[warnings] fix redundant casting
2024-09-03 12:24:51 +02:00
akallabeth
72ae7fb54f
[nolint] add cert-dcl37-c,cert-dcl51-cpp
2024-09-03 12:24:48 +02:00
akallabeth
852e0c1450
[common,assistance] fix shadowed variable
2024-09-03 12:17:33 +02:00
akallabeth
cbae4155fb
[client,SDL] delete unused copy & move constructors
2024-09-03 12:17:20 +02:00
akallabeth
96bdd58226
Merge pull request #10544 from akallabeth/double-fixes
...
Double fixes
2024-09-03 08:55:13 +02:00
Armin Novak
fe4cb6de65
[warnings] fix float/double warnings
2024-09-02 16:20:20 +02:00
Armin Novak
7c537d681f
[winpr,file] mark winpr_fopen with WINPR_ATTR_MALLOC
...
enable allocator/deallocator checks for FILE* created by this function
2024-09-02 14:39:53 +02:00
akallabeth
654e107ade
Merge pull request #10543 from akallabeth/wfixes
...
[codec,dsp] fix ffmpeg warnings
2024-09-02 14:30:22 +02:00
Armin Novak
4b62174c4f
[winpr,platform] fix unknown-warning-option
2024-09-02 14:13:10 +02:00
Armin Novak
11a9c010f9
[winpr] wtypes NOLINT
...
Silence linter for basic type definitions that use reserved identifiers
2024-09-02 13:56:07 +02:00
Armin Novak
5791b2a5aa
[codec,dsp] fix ffmpeg warnings
2024-09-02 13:39:12 +02:00
akallabeth
6d8d4ddb1a
Merge pull request #10541 from akallabeth/warn-pedantic
...
Warn pedantic
2024-08-31 11:33:24 +02:00
akallabeth
6fb7bfd043
[winpr,unwind] fix _Unwind_GetLanguageSpecificData
...
The function has various return value definitions (void* or uintptr_t)
and no proper API versioning. So cast to the expected type regardless of
actual definition and silence linter for this specific line.
2024-08-31 11:17:54 +02:00
akallabeth
e756c90569
[warnings] clang-tidy suppress warnings
...
* Suppress NOLINT(bugprone-suspicious-include)
* Suppress __STDC_WANT_LIB_EXT1__ 1 // NOLINT(bugprone-reserved-identifier,cert-dcl37-c,cert-dcl51-cpp)
2024-08-30 22:03:47 +02:00
akallabeth
1dea19ac5f
[warnings] clang-tidy suppress warnings
...
* Suppress NOLINT(bugprone-suspicious-include)
* Suppress __STDC_WANT_LIB_EXT1__ 1 // NOLINT(bugprone-reserved-identifier,cert-dcl37-c,cert-dcl51-cpp)
2024-08-30 16:01:11 +02:00
akallabeth
5887f8a558
[warnings] suppress warnings
...
Some warnings can not be solved as they depend on external libraries or
limitations of the C standard.
Suppress these warnings selectively
2024-08-30 15:40:16 +02:00
akallabeth
36fbed25c9
[winpr,include] define warning ignore macros
...
Define new macros to ignore specific compiler warnings:
* WINPR_PRAGMA_DIAG_IGNORED_OVERLENGTH_STRINGS
* WINPR_PRAGMA_DIAG_IGNORED_QUALIFIERS
2024-08-30 15:40:13 +02:00
akallabeth
3674c5c2f7
[common,assistance] eliminate pedantic cast warnings
2024-08-30 15:40:10 +02:00
akallabeth
7c1fd71b7b
[uwac] elminate pedantic warnings from defines
2024-08-30 15:40:08 +02:00
akallabeth
48aaa53a84
[codec,dsp] fix restrict warning
2024-08-30 15:40:06 +02:00
akallabeth
7d3b2aebfd
[warnings] silence WINPR_FALLTHROGH
2024-08-30 15:40:03 +02:00
akallabeth
190929c018
[warnings] fix function pointer casts
2024-08-30 15:40:01 +02:00
Martin Fleisz
d02a30e377
Merge pull request #10540 from akallabeth/wasm
...
[winpr,comm] do not compile with EMSCRIPTEN
2024-08-30 09:33:08 +02:00
akallabeth
f60e386f3e
[winpr,comm] do not compile with EMSCRIPTEN
2024-08-30 09:12:51 +02:00
akallabeth
e1d0efa817
Merge pull request #10532 from akallabeth/release-3.8.0
...
Release 3.8.0
2024-08-30 08:53:55 +02:00
akallabeth
ab9ae66a8d
Merge pull request #10537 from akallabeth/warnings-for-release
...
[warnings] revert some mismatching function declarations
2024-08-30 08:53:43 +02:00
akallabeth
f22018302f
[warnings] revert some mismatching function declarations
2024-08-30 08:39:30 +02:00
akallabeth
605d390dba
Merge pull request #10535 from akallabeth/clang-tidy-fixes
...
Clang tidy fixes
2024-08-29 17:31:50 +02:00
akallabeth
ec73265268
[channels,rail] fix unused variable warnings
2024-08-29 17:13:57 +02:00
akallabeth
b53146150c
Revert "[ci,clang-tidy] use .clang-tidy file"
...
This reverts commit 113810e45b
.
2024-08-29 17:13:55 +02:00
akallabeth
ba9897f8b7
[warnings] replace rand() function use
2024-08-29 17:13:53 +02:00
akallabeth
bd637c6cd1
[warnings] fix various clang-tidy warnings
2024-08-29 17:13:50 +02:00
akallabeth
f3596b950a
3.8.1-dev0 cycle
2024-08-29 16:52:44 +02:00
akallabeth
d277e494c6
release-3.8.0
2024-08-29 16:52:41 +02:00
akallabeth
a18287694e
changelog 3.8.0
2024-08-29 16:52:39 +02:00
akallabeth
500495dc00
[warnings] fix SDL3 related issues
2024-08-29 16:03:51 +02:00
akallabeth
cc626276d0
[warnings] integer cast and checks
2024-08-29 15:49:33 +02:00
akallabeth
ceae258e37
[warnings] fix clang-tidy issues in clients
2024-08-29 15:34:27 +02:00
akallabeth
47e40dd7a5
[warnings] fix clang-tidy issues in channels
2024-08-29 15:34:25 +02:00
akallabeth
36c3184a0f
[warnings] fix clang-tidy issues in libfreerdp
2024-08-29 15:34:22 +02:00