[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSClassSwapper leaving dangling pointers?

From: Germán Arias
Subject: Re: NSClassSwapper leaving dangling pointers?
Date: Sat, 22 Jun 2013 01:12:21 -0600
User-agent: GNUMail (Version 1.2.0)

Maybe this is related with a problem I'm having to compile
Cenon 4.0.2. I get the error:

 Compiling file TileScrollView.m ...
TileScrollView.m: In function '-[TileScrollView zoomIn:]':
TileScrollView.m:95:9: warning: 'NSCollectionViewItem' may not respond to 
'-tag' [enabled by default]
TileScrollView.m:95:9: warning: (Messages without a matching method signature 
[enabled by default]
TileScrollView.m:95:9: warning: will be assumed to return 'id' and accept 
[enabled by default]
TileScrollView.m:95:9: warning: '...' as arguments.) [enabled by default]
TileScrollView.m:95:9: error: pointer value used where a floating point value 
was expected

The code is:

  for (row=0; row<[resPopupListButton numberOfItems]; row++)
      if (Diff((VFloat)[[resPopupListButton itemAtIndex:row] tag] / 100.0, 
oldScaleFactor) < 0.001)

resPopupListButton is a PopUp button. This is at Document.nib file,
is the PopUp to select the zoom.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]