• 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
typechecking
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

typechecking


  • Subject: typechecking
  • From: email@hidden
  • Date: Wed, 30 Apr 2008 12:32:03 +0200

hi,

i think 'being accurate' is very important in the case of writing
software. and storing a 64 bit value in a variable that is not
capable of holding that much bits, should lead to an error, preferably
a compiler error.

i wrote the following function:

void test(void){
int myint;
int64_t myintbig=412345678;

myint=myintbig;
}

my question is: how (and where) do i tell xcode to generate an
error on the above assignment?

--
met vriendelijke groeten
perry winkel

http://www.perry7.nl
http://www.myspace.com/dehufters

 _______________________________________________
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: typechecking
      • From: Chris Espinosa <email@hidden>
  • Prev by Date: Re: specifying the source of stdin (pipe / file)
  • Next by Date: Re: typechecking
  • Previous by thread: Re: specifying the source of stdin (pipe / file)
  • Next by thread: Re: typechecking
  • Index(es):
    • Date
    • Thread