diff options
| author | Marc Mutz <marc.mutz@qt.io> | 2024-08-07 11:46:37 +0200 |
|---|---|---|
| committer | Marc Mutz <marc.mutz@qt.io> | 2024-08-10 13:37:22 +0200 |
| commit | ebafcfade81c96818e704aff28810ebec8a2bfdb (patch) | |
| tree | 50d11c88050260e35540711dfe5ec5bbdd6ca2f4 /src/corelib/kernel/qtimer.cpp | |
| parent | b8a956c2d3f9c158594265eca89185bd2bc671e7 (diff) | |
qYieldCpu(): compile in strict C11 mode
This function is one of the few Qt functions that are also available
in C (as opposed to C++) mode. Testing has shown that 'asm' doesn't
work in strict mode (-std=c11) on GCC, so use __asm__ instead, like we
do in qthread.h.
Amends a7f227f56cfe562280e89d3c73040f7e8384129e and
877c158c5976bebffd0ff02c39b6b66a842c6344.
Task-number: QTBUG-119901
Task-number: QTBUG-103014
Task-number: QTBUG-103011
Pick-to: 6.8 6.7 6.5
Change-Id: I4cb59bf6c716b09bfc7225314624ccd5ab77a5fd
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/kernel/qtimer.cpp')
0 files changed, 0 insertions, 0 deletions
