• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to enforce C89-style variable declarations in gcc ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to enforce C89-style variable declarations in gcc ?


  • Subject: Re: How to enforce C89-style variable declarations in gcc ?
  • From: Jens Alfke <email@hidden>
  • Date: Wed, 23 Jun 2010 09:18:27 -0700

On Jun 23, 2010, at 7:06 AM, Paul Russell wrote:

> Thanks - that at least generates a warning. It appears that from gcc 4.4 onwards I can use -Werror=declaration-after-statement to get an error rather than a warning, but this is broken in gcc 4.2 and unsupported in gcc 4.0.

Use plain -Werror and fix the spurious warnings in your code? That’s always a good idea anyway.

—Jens _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: How to enforce C89-style variable declarations in gcc ?
      • From: Paul Russell <email@hidden>
References: 
 >How to enforce C89-style variable declarations in gcc ? (From: Paul Russell <email@hidden>)
 >Re: How to enforce C89-style variable declarations in gcc ? (From: Peter O'Gorman <email@hidden>)
 >Re: How to enforce C89-style variable declarations in gcc ? (From: Paul Russell <email@hidden>)

  • Prev by Date: Re: regression to annoying docs search field behavior
  • Next by Date: Re: Target settings not inheriting from Project settings
  • Previous by thread: Re: How to enforce C89-style variable declarations in gcc ?
  • Next by thread: Re: How to enforce C89-style variable declarations in gcc ?
  • Index(es):
    • Date
    • Thread