Re: [PATCH] tests: Fix specifying constant of double type

2024-10-03 Thread Mark Wielaard
Hi Khem, On Wed, Oct 02, 2024 at 05:04:08PM -0700, Khem Raj wrote: > 'd' suffix seems to be not acceptable by clang compiler Funny, seems like the d suffix is an undocumented GNU extension that accidentially slipped in because an early/draft standard said 'd' stood for double, but that was not in

[PATCH] tests: Fix specifying constant of double type

2024-10-02 Thread Khem Raj
'd' suffix seems to be not acceptable by clang compiler Using 'e0' fixes this by keeping value to be same Fixes funcretval_test_struct.c:83:27: error: invalid suffix 'd' on floating constant 83 | dpoint_t dp = dmkpt (3.0d, 1.0d); | ^ funcretval_test_struct.c:83