mirror of
https://github.com/neovim/neovim.git
synced 2026-11-02 09:49:02 -06:00
fix(unittest): preprocess failure when __typeof declarations present #40145
On Debian's ppc64el build, the unittests are failing during preprocess
with
test/unit/testutil.lua:298: declaration specifier expected near '__typeof' at line 298
test/unit/testutil.lua:282: assertion failed!
Running with NVIM_TEST_PRINT_I set shows these lines as being the
problem when trying to preprocess test/unit/fixtures/posix.h.
690 extern __typeof (strtold) strtold ;
691 extern __typeof (strtold_l) strtold_l ;
692 extern __typeof (strfroml) strfroml ;
693 extern __typeof (qecvt) qecvt ;
694 extern __typeof (qfcvt) qfcvt ;
695 extern __typeof (qgcvt) qgcvt ;
696 extern __typeof (qecvt_r) qecvt_r ;
697 extern __typeof (qfcvt_r) qfcvt_r ;
This commit is contained in:
1 parent
8f584031bc
commit
6c2f2b73eb
1 file changed
+1
@@ -151,6 +151,7 @@ local function filter_complex_blocks(body)
|
||||
or string.find(line, '__f64x2_t')
|
||||
or string.find(line, '__sv_f32_t')
|
||||
or string.find(line, '__sv_f64_t')
|
||||
or string.find(line, 'extern __typeof')
|
||||
or string.find(line, 'msgpack_zone_push_finalizer')
|
||||
or string.find(line, 'msgpack_unpacker_reserve_buffer')
|
||||
or string.find(line, 'value_init_')
|
||||
|
||||
Reference in new issue
Block a user