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

Re: incompatible implicit declaration of built-in function 'malloc'


  • Subject: Re: incompatible implicit declaration of built-in function 'malloc'
  • From: "Sean McBride" <email@hidden>
  • Date: Fri, 25 Aug 2006 16:09:41 -0400
  • Organization: Rogue Research

On 2006-08-25 14:27, Daniel R. Killoran,Ph.D. said:

>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);

Do you #include <stdlib.h> ?

--
____________________________________________________________
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

  • Follow-Ups:
    • Re: incompatible implicit declaration of built-in function 'malloc'
      • From: Franco <email@hidden>
    • Re: incompatible implicit declaration of built-in function 'malloc'
      • From: "Daniel R. Killoran,Ph.D." <email@hidden>
References: 
 >incompatible implicit declaration of built-in function 'malloc' (From: "Daniel R. Killoran,Ph.D." <email@hidden>)

  • Prev by Date: Re: Automate build numbers
  • Next by Date: Re: incompatible implicit declaration of built-in function 'malloc'
  • Previous by thread: Re: incompatible implicit declaration of built-in function 'malloc'
  • Next by thread: Re: incompatible implicit declaration of built-in function 'malloc'
  • Index(es):
    • Date
    • Thread