• 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 types error for two longs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Incompatible types error for two longs


  • Subject: Re: Incompatible types error for two longs
  • From: Godfrey DiGiorgi <email@hidden>
  • Date: Mon, 23 Feb 2004 11:11:58 -0800

Ken,

I can't reproduce this on either of my systems. I suspect there's a hidden control character or something like that in your source file causing the compiler to misinterpret the variable declarations.

Godfrey
---
  Godfrey DiGiorgi - email@hidden
  408 974-6814 tel - 408 974-8101 fax - 408 832-8319 cell
  Technology Manager, Development Tools
  Apple Worldwide Developer Relations

On Feb 22, 2004, at 6:02 PM, Ken Tozier wrote:

I'm taking my first foray into XCode and have found it a bit trying so far. The latest bit of sillyness is that it's telling me that I can't assign the value of one long to another due to incompatible types.

long		var1 = 5,
		var2;

var2 = var1;

Yeilds -> error: conflicting types for "var2"

Has anyone else seen this type of problem? Seems like a bug to me.

Ken
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.

References: 
 >Incompatible types error for two longs (From: Ken Tozier <email@hidden>)

  • Prev by Date: Re: Basic xcode debugging question
  • Next by Date: Re: Basic xcode debugging question
  • Previous by thread: Incompatible types error for two longs
  • Next by thread: Running X11 tasks from Xcode
  • Index(es):
    • Date
    • Thread