• 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: Why can't I do "new uint32_t[ size ]"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Why can't I do "new uint32_t[ size ]"


  • Subject: Re: Why can't I do "new uint32_t[ size ]"
  • From: Scott Ribe <email@hidden>
  • Date: Tue, 12 Jul 2011 11:46:54 -0600

On Jul 12, 2011, at 11:24 AM, Per Bull Holmen wrote:

>  I thought perhaps "new uint32_t" wasn't legal
> in c++, but after searching I find many source code examples that do
> this. In XCode I get the error message " Missing type specifier after
> 'operator' ".

Your code looks correct to me. I have seen that error on lines that looked correct, and eventually out of desperation re-typed the line, and the error went away. In other words, there was some non-displaying control character somewhere in the line. So, yeah, maybe you actually have something like uint32\???_t or some such ;-)
--
Scott Ribe
email@hidden
http://www.elevated-dev.com/
(303) 722-0567 voice




 _______________________________________________
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: 
 >Why can't I do "new uint32_t[ size ]" (From: Per Bull Holmen <email@hidden>)

  • Prev by Date: Why can't I do "new uint32_t[ size ]"
  • Next by Date: Re: Why can't I do "new uint32_t[ size ]"
  • Previous by thread: Why can't I do "new uint32_t[ size ]"
  • Next by thread: Re: Why can't I do "new uint32_t[ size ]"
  • Index(es):
    • Date
    • Thread