Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Andrew Cagney <ac131313@cygnus.com>
To: rodneybrown@pmsc.com, gdb@cygnus.com
Subject: Re: 4.17.86 on AIX 4.2.0.0 using IBM xlc
Date: Thu, 01 Apr 1999 00:00:00 -0000	[thread overview]
Message-ID: <36EF66C2.EA0D705A@cygnus.com> (raw)
In-Reply-To: <36EF5F02.F80F3BAD.cygnus.gdb@cygnus.com>

Andrew Cagney wrote:
> 
> rodneybrown@pmsc.com wrote:
> >
> > AIX 4.2.0.0 xlc gives an error for trailing commas in enum declarations
> > Specifically compiling gdb-4.17.86/gdb/blockframe.c it gives
> >
> > "gdb-4.17.86/gdb/target.h", line 57.22: 1506-046 (S) Syntax error.
> > "gdb-4.17.86/gdb/breakpoint.h", line 114.17: 1506-046 (S) Syntax error.
> 
> Thanks,

Hmm (is this a nightmare comming true?),

Looking at C manual:

6.5.2.2 Enumeration specifiers
Syntax
  enum-specifier:
    enum identifieropt { enumerator-list }
    enum identifieropt { enumerator-list , }
    enum identifier
  enumerator-list:
    enumerator
    enumerator-list , enumerator
  enumerator:
    enumeration-constant
    enumeration-constant = constant-expression

and the relevant line:

enum thread_control_capabilities {
        tc_none = 0,            /* Default: can't control thread
execution. */
        tc_schedlock = 1,       /* Can lock the thread scheduler. */
        tc_switch = 2,          /* Can switch the running thread on
demand. */
};

So, what to do about this one?

	Andrew


       reply	other threads:[~1999-04-01  0:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <9903169216.AA921646777.cygnus.gdb@cc.pmsc.com>
     [not found] ` <36EF5F02.F80F3BAD.cygnus.gdb@cygnus.com>
1999-04-01  0:00   ` Andrew Cagney [this message]
1999-04-01  0:00 ` Andrew Cagney
1999-04-01  0:00 Re[2]: " rodneybrown
1999-04-01  0:00 ` Andrew Cagney
1999-04-01  0:00   ` Stan Shebs
     [not found]   ` <199903240254.SAA11154.cygnus.gdb@andros.cygnus.com>
1999-04-01  0:00     ` Andrew Cagney
1999-04-01  0:00       ` Stan Shebs
1999-04-01  0:00 rodneybrown

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=36EF66C2.EA0D705A@cygnus.com \
    --to=ac131313@cygnus.com \
    --cc=gdb@cygnus.com \
    --cc=rodneybrown@pmsc.com \
    /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