public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Dennis Clarke <dclarke@blastwave.org>
To: gcc-help@gcc.gnu.org
Subject: Re: gcc on Sparc Solaris 8
Date: Mon, 30 Sep 2019 19:34:00 -0000	[thread overview]
Message-ID: <4a6d0069-1245-4a9b-2a2f-30fb3b6aa277@blastwave.org> (raw)
In-Reply-To: <CAH6eHdQ7nYd+swVL_u9YdBMaqEL5f=dSkeT8h_1BO1muLkA=PQ@mail.gmail.com>


> In any case, sscanf is not part of GCC, it comes from the Solaris C
> library, so this is not a GCC problem.
> 

This is not a GCC problem and not even a Solaris problem.

He needs to simply setlocale first :

      #include <locale.h>
      char *setlocale(int category, const char *locale);

Problem solved.


-- 
Dennis Clarke
RISC-V/SPARC/PPC/ARM/CISC
UNIX and Linux spoken
GreyBeard and suspenders optional

  reply	other threads:[~2019-09-30 19:34 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <2147124760.1726006.1569850372525.ref@mail.yahoo.com>
2019-09-30 13:32 ` rolf perau via gcc-help
2019-09-30 13:39   ` Jonathan Wakely
2019-09-30 19:34     ` Dennis Clarke [this message]
2019-09-30 19:36   ` Dennis Clarke
     [not found] <370931742.2089515.1569886162496.ref@mail.yahoo.com>
2019-09-30 23:29 ` rolf perau via gcc-help
     [not found] <1157198014.1780392.1569854535577.ref@mail.yahoo.com>
2019-09-30 14:42 ` rolf perau via gcc-help
2019-09-30 19:23   ` Dennis Clarke
     [not found] <691082870.1339340.1569819291085.ref@mail.yahoo.com>
2019-09-30  4:55 ` rolf perau via gcc-help
2019-09-30  6:11   ` Dennis Clarke

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=4a6d0069-1245-4a9b-2a2f-30fb3b6aa277@blastwave.org \
    --to=dclarke@blastwave.org \
    --cc=gcc-help@gcc.gnu.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).