public inbox for newlib@sourceware.org
 help / color / mirror / Atom feed
From: Brian Inglis <Brian.Inglis@SystematicSw.ab.ca>
To: newlib@sourceware.org
Subject: Re: C11 conformance: <uchar.h>, TIME_UTC, timespec_get
Date: Tue, 10 May 2022 11:17:03 -0600	[thread overview]
Message-ID: <3d2a2cf3-aa37-b524-16bc-8535a3f0ed8b@SystematicSw.ab.ca> (raw)
In-Reply-To: <CAL9Mx1shOiRNH36qK+PyiLQ1PNZpV2mLz2HdW=PuAo5W3Q1RwQ@mail.gmail.com>

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/<VERSION>/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.]

  reply	other threads:[~2022-05-10 17:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-02 23:16 Pavel M
2022-05-10 15:35 ` Pavel M
2022-05-10 17:17   ` Brian Inglis [this message]
2022-05-10 18:06     ` Pavel M

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3d2a2cf3-aa37-b524-16bc-8535a3f0ed8b@SystematicSw.ab.ca \
    --to=brian.inglis@systematicsw.ab.ca \
    --cc=newlib@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).