[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)
break;
row++;
resPopupListButton is a PopUp button. This is at Document.nib file,
is the PopUp to select the zoom.
Germán.
- NSClassSwapper leaving dangling pointers?, Luboš Doležel, 2013/06/21
- Re: NSClassSwapper leaving dangling pointers?, Fred Kiefer, 2013/06/21
- Re: NSClassSwapper leaving dangling pointers?,
Germán Arias <=
- Re: NSClassSwapper leaving dangling pointers?, Eric Wasylishen, 2013/06/22
- Message not available
- Re: NSClassSwapper leaving dangling pointers?, Gregory Casamento, 2013/06/23
- Re: NSClassSwapper leaving dangling pointers?, Luboš Doležel, 2013/06/24
- Re: NSClassSwapper leaving dangling pointers?, Luboš Doležel, 2013/06/24
- Re: NSClassSwapper leaving dangling pointers?, Luboš Doležel, 2013/06/24
- Re: NSClassSwapper leaving dangling pointers?, Fred Kiefer, 2013/06/24
- Re: NSClassSwapper leaving dangling pointers?, Luboš Doležel, 2013/06/25