public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: hugo@adept.co.za
To: gcc-gnats@gcc.gnu.org
Subject: c/8793: Simple code results in "numeric constant contains digits beyond the radix"
Date: Tue, 03 Dec 2002 06:16:00 -0000	[thread overview]
Message-ID: <20021203141446.10114.qmail@sources.redhat.com> (raw)


>Number:         8793
>Category:       c
>Synopsis:       Simple code results in "numeric constant contains digits beyond the radix"
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Dec 03 06:16:02 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     hugo@adept.co.za
>Release:        3.2 20020903 (Red Hat Linux 8.0 3.2-7)   as well as   2.96 20000731 (Red Hat Linux 7.3 2.96-110)
>Organization:
>Environment:
Redhat Linux, 8.0, and 7.3

Both g++ and gcc
>Description:
This says it all.

$ g++ test.cc
test.cc:6: numeric constant contains digits beyond the radix
test.cc:6: numeric constant contains digits beyond the radix
test.cc:6: numeric constant contains digits beyond the radix
test.cc:7: numeric constant contains digits beyond the radix
test.cc:7: numeric constant contains digits beyond the radix
test.cc:7: numeric constant contains digits beyond the radix


Source code:

============test.cc==================

unsigned int bug[60] =
 { 07, 04, 00, 01, 01,  02, 03, 01, 01, 00,
   01, 01, 02, 02, 01,  00, 00, 00, 00, 00,
   00, 12, 12, 13, 15,  05, 04, 03, 11, 12,
   13, 15, 05, 04, 04,  01, 02, 01, 03, 03,
   02, 02, 09, 10, 09,  11, 07, 06, 06, 09,
   09, 08, 08, 04, 04,  04, 02, 02, 01, 00};

>How-To-Repeat:
Simply try and compile that array ...
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


             reply	other threads:[~2002-12-03 14:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-03  6:16 hugo [this message]
2002-12-03  6:23 nathan

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=20021203141446.10114.qmail@sources.redhat.com \
    --to=hugo@adept.co.za \
    --cc=gcc-gnats@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).