NSChat

Rules → spiff.io/nschat.rules —  Discussion for iOS and OS X ...
Feb 29, 2016 19:04
Hey, anyone around here who has experience instrumenting an llvm pass?
May 16, 2013 05:30
void swap2(int(*a)(int), int(*b)(int)) {

int(*temp)(int) = a;
*a = *b;
*b = temp;
// Gives 'Non-object type 'int (int)' is not assignable
}
May 16, 2013 05:28
Hey all. Looking to see if anyone knows if its possible to swap c function pointers...?
Feb 25, 2013 20:18
:-)
Feb 25, 2013 20:18
ya, tks bro.
Feb 25, 2013 20:15
heh, np man. Thanks for talking with me. Another room just kinda brushed me off. Never feels good.
Feb 25, 2013 20:13
Guess I need to study linking a little more. heh :-)
Feb 25, 2013 20:13
cool, dat helps. Looks like I'm getting the same errors running a simple c program using xcrun.
Feb 25, 2013 20:10
Well xcode has restrictions aplenty and won't really let me build cmd line items for arm. It took me a bunch of extractions/lipo'ing just to get my current xcode vers to compile for the earlier arches that my clients still support.
Feb 25, 2013 20:09
sry, :-)
Feb 25, 2013 20:09
Maybe I should clarify one point -- I want it to run on an arm mobile device, it doesn't have to run on x86.
Feb 25, 2013 20:07
I suppose it's referred to as "Cross-compiling" tinsuke.wordpress.com/2011/02/17/…
Feb 25, 2013 20:07
heh
Feb 25, 2013 20:04
okay...Apparently this is supposed to work, which is what I was following: stackoverflow.com/questions/13805302/…
Feb 25, 2013 20:03
Then bunch of ‘strtol’ was not declared in this scope
Feb 25, 2013 20:03
watch.cpp:15:19: error: ctype.h: No such file or directory
Feb 25, 2013 20:03
First errors I get are
Feb 25, 2013 20:02
It should give it all the libs it needs, but obviously not.
Feb 25, 2013 20:02
ya
Feb 25, 2013 20:02
Well, your cursory read over spotted a few things, so I'll start with that.
Feb 25, 2013 20:01
np
Feb 25, 2013 20:01
I can do simple c compile tests, just having trouble with c++...sucks.
Feb 25, 2013 20:01
I want a command line util.
Feb 25, 2013 20:00
Yes, but they compile apps.
Feb 25, 2013 20:00
an xcode project?
Feb 25, 2013 20:00
$IOSROOT/usr/bin/g++ -c watch.cpp -arch armv7 -isysroot $IOSROOT/SDKs/iPhoneOS6.0.sdk -ncurses
Feb 25, 2013 19:59
I've been doing somethign like this:
Feb 25, 2013 19:59
hrm, okay.
Feb 25, 2013 19:55
This is the source for the watch command. Not my own, but dat's good you spotted that.
Feb 25, 2013 19:54
:-)
 

Lounge<C>

C Programming Language Board: It's like an answering machine; ...
May 16, 2013 05:37
0
Q: Is it possible to swap c function pointers?

Miles AldenLooking to see if anyone knows if its possible to swap c function pointers...? void swap2(int(*a)(int), int(*b)(int)) { int(*temp)(int) = a; *a = *b; *b = temp; // Gives 'Non-object type 'int (int)' is not assignable } swap2(&funcA, &funcB);

May 16, 2013 05:33
Woohoo empty room
 

Fb App Devlopers

Facebook apps related developement regarding any SDK
May 6, 2013 21:32
Hey sorry to bug you. Do you knwo the answer to that question?
May 6, 2013 21:32
@GilbertoRamos
May 6, 2013 21:32
@Gil
May 6, 2013 21:16
I'm trying to determine if I use the FB SDK (iOS) to send my app-install conversion success callback to facebook if it will in turn forward it on to my adword site, (i.e. Google Adwords)
May 6, 2013 21:15
Anybody around?
May 6, 2013 21:15
@all
 

[iOS][Android][ChaosOverFlow]

Join to become part of the community, not to simply ask questi...
May 2, 2013 17:15
k. Nice pic.
May 2, 2013 17:11
Anybody local to CA Bay Area looking for an iOS gig?
May 2, 2013 17:11
Hey guys.
 

Lounge<C++>

Today we're daydreaming about C++26 reflection
Feb 25, 2013 20:01
sry for the trbl.
Feb 25, 2013 20:01
ahh. Okay, gotcha.
Feb 25, 2013 20:00
ha. I suppose I could do a new 1uestion. Thought this would be easier.
Feb 25, 2013 19:59
All my command line compilation settings give me like a billion errors.
Feb 25, 2013 19:58
Hell man I don't know. Just trying to get some help compiling a cpp command line binary to arm (ios)
Feb 25, 2013 19:54
Heh, dat's okay. Can you let me in?
Feb 25, 2013 19:53
.
Feb 25, 2013 19:50
That a different room?
 

 bin

It's a bin, for binning things.
Feb 25, 2013 19:46
Looking for someone who can help me compile this cpp code to armv7 (ios) as a command line utility. collabedit.com/gy9yk Having trouble and I'm unfamiliar with compiling cpp...