bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: timespec_get: Fix compilation error with MSVC 14


From: Paul Eggert
Subject: Re: timespec_get: Fix compilation error with MSVC 14
Date: Sun, 4 Sep 2022 16:41:46 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0

On 9/4/22 10:15, Bruno Haible wrote:
this platform's <time.h> contains a 'static inline'
definition of timespec_get

That violates the C standard, as it means an extern inline function cannot call timespec_get.

Shouldn't we instead fix Gnulib's timespec_get module to work around this MSVC 14 bug? That way, all we need to do is have timespec_get callers depend on the timespec_get module, which they should do already.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]