]> begriffs open source - freertos/commit
Improvement for 64bit Windows port (#1011)
authorwat <78684666+watsk@users.noreply.github.com>
Mon, 18 Mar 2024 06:09:49 +0000 (15:09 +0900)
committerGitHub <noreply@github.com>
Mon, 18 Mar 2024 06:09:49 +0000 (14:09 +0800)
commit6dcce924907bc86a4732be67a2f9e33567d7f563
treeeb3891862a20ee9056d80f37c1f48d8d3bce8e9f
parent4732b96dba05e2eeaeaec795977ab0a054cce065
Improvement for 64bit Windows port (#1011)

* 64bit TickType_t is supported on Windows port.(MSVC and MinGW)
Especially it is introduced for 64bit compiler.(x64 platform on MSVC and MinGW-w64)

* Unnecessary compiler warning for the cast operation is disabled locally.(MinGW-w64 only)

* Modify the condition for ignoring compiler warning for the cast operation.

Before modification: Compiler warning was ignored only on MinGW64
After modification: Compiler warning is ignored on MinGW32 and MinGW64
Reason of modification: The cast warning here is unavoidable not only on MinGW64 but also on MinGW32.
"__GNUC__" macro is used because MSVC does not recognize this #pragma directive.
portable/MSVC-MingW/port.c
portable/MSVC-MingW/portmacro.h