From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from omta002.cacentral1.a.cloudfilter.net (omta002.cacentral1.a.cloudfilter.net [3.97.99.33]) by sourceware.org (Postfix) with ESMTPS id 0AB74385780C for ; Tue, 10 May 2022 17:17:05 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 0AB74385780C Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=SystematicSw.ab.ca Authentication-Results: sourceware.org; spf=none smtp.mailfrom=systematicsw.ab.ca Received: from shw-obgw-4004a.ext.cloudfilter.net ([10.228.9.227]) by cmsmtp with ESMTP id oO5CnFrK2Wi4QoTTpn1gVe; Tue, 10 May 2022 17:17:01 +0000 Received: from [10.0.0.5] ([184.64.124.72]) by cmsmtp with ESMTP id oTTrnND0wsF60oTTsn1za4; Tue, 10 May 2022 17:17:04 +0000 X-Authority-Analysis: v=2.4 cv=Z8n/oVdA c=1 sm=1 tr=0 ts=627a9e10 a=oHm12aVswOWz6TMtn9zYKg==:117 a=oHm12aVswOWz6TMtn9zYKg==:17 a=IkcTkHD0fZMA:10 a=94nOnFI1EgyDtX4ev68A:9 a=QEXdDO2ut3YA:10 Message-ID: <3d2a2cf3-aa37-b524-16bc-8535a3f0ed8b@SystematicSw.ab.ca> Date: Tue, 10 May 2022 11:17:03 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.9.0 Reply-To: newlib@sourceware.org Subject: Re: C11 conformance: , TIME_UTC, timespec_get Content-Language: en-CA To: newlib@sourceware.org References: From: Brian Inglis Organization: Systematic Software In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-CMAE-Envelope: MS4xfJ+YXInbDu3sVVVvEeG4py4U921lNWfO92v1CFyvkEZQ/XsECs1WrwSEXIt7wFcz74stuI6bNYKx85CFvhd7q3/B3hwWZzHbHrxbMt+nALfvIUb4pzxy MQntYJe8qKRFRWD5MLc/oCHhKSK+ESMIolkcCTOyiJ3q0cuWzIRcjl1AhJJ/Mff4W80Dp8/Ci8Zi3Q4PWylm/Ld7JduSKG7E0hY= X-Spam-Status: No, score=-1164.3 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, NICE_REPLY_A, SPF_HELO_NONE, SPF_NONE, TXREP, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: newlib@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Newlib mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 May 2022 17:17:06 -0000 On 2022-05-10 09:35, Pavel M wrote: > Hi all, > Any updates? Nobody else has noticed or mentioned those in the last decade, so there may not be, as volunteers have limited time and their own interests and priorities. Given that newlib is a freestanding implementation, and gcc does not provide that header, those definitions or declarations, these are considered platform implementation issues, which someone supporting that platform has to decide if they will provide and support. ICU provides uchar.h which Cygwin libicu-devel maintainer installs under /usr/include/unicode/ with Unicode licence under /usr/share/icu//LICENSE. You could pull those two files from the ICU distro for use in your work. It also is/will be available on glibc platforms which support it. Remember that GNU products are GPL licensed with possibly undesirable requirements for most commercial products. Similarly, TIME_UTC may not be available on some newlib platforms/targets, so it will be up to platform and/or target maintainers to decide if they can support it, and provide implementations. I don't know what your host platform is, your newlib target, or what POSIX time.h CLOCK_/clock_... support is available, but you may wish to use that instead, until someone can provide the ISO C equivalent in newlib under a BSD licence. You may also wish to look at what is available in *BSD sources. -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada This email may be disturbing to some readers as it contains too much technical detail. Reader discretion is advised. [Data in binary units and prefixes, physical quantities in SI.]