• 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: clang warning about printf type errors?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: clang warning about printf type errors?


  • Subject: Re: clang warning about printf type errors?
  • From: "Sean McBride" <email@hidden>
  • Date: Mon, 1 Mar 2010 18:20:30 -0500
  • Organization: Rogue Research Inc.

On 3/1/10 3:05 PM, Daniel Quinlan said:

>Is there any way to get clang to complain about mismatched arguments in
>printf style statements, for example where %d is specified,
>but the corresponding argument is long?

The gcc 4.2 that comes with Xcode can do this.  Search it's man page for
"printf".

--
____________________________________________________________
Sean McBride, B. Eng                 email@hidden
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada


 _______________________________________________
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

References: 
 >clang warning about printf type errors? (From: Daniel Quinlan <email@hidden>)

  • Prev by Date: Question about starting my application from an installer postflight script
  • Next by Date: Re: Question about starting my application from an installer postflight script
  • Previous by thread: Re: clang warning about printf type errors?
  • Next by thread: Question about starting my application from an installer postflight script
  • Index(es):
    • Date
    • Thread