• 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
incompatible implicit declaration of built-in function 'malloc'
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

incompatible implicit declaration of built-in function 'malloc'


  • Subject: incompatible implicit declaration of built-in function 'malloc'
  • From: "Daniel R. Killoran,Ph.D." <email@hidden>
  • Date: Fri, 25 Aug 2006 14:27:14 -0400

I get the following perplexing warning:

.../SeriatedSubs.c:159: warning: incompatible implicit declaration of built-in function 'malloc'

on the perfectly ordinary-appearing line:

	tPtr = tmpStr = (char *)malloc((size_t)leng/2+1);

I can't find any hint in the documentation (or the archives) of why I should get it?!

Using XCode 2.4

Dan Killoran
_______________________________________________
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: incompatible implicit declaration of built-in function 'malloc'
      • From: "Clark Cox" <email@hidden>
    • Re: incompatible implicit declaration of built-in function 'malloc'
      • From: "Sean McBride" <email@hidden>
    • Re: incompatible implicit declaration of built-in function 'malloc'
      • From: Chris Espinosa <email@hidden>
  • Prev by Date: Re: Visual Studio-style indent
  • Next by Date: Re: incompatible implicit declaration of built-in function 'malloc'
  • Previous by thread: Re: Class Model omits properties and operations of Java sources
  • Next by thread: Re: incompatible implicit declaration of built-in function 'malloc'
  • Index(es):
    • Date
    • Thread