DrawMenuBar
DrawMenuBar
- Subject: DrawMenuBar
- From: Jonas Maebe <email@hidden>
- Date: Sat, 25 Jun 2005 09:59:36 +0200
Hello,
How come the assembler code for the following program does not
contain any call at all to DrawMenuBar? (even when compiled with -O0)
---
#include <Carbon/Carbon.h>
int main(int argc, char* argv[])
{ OSStatus err;
err = fesetround(FE_TOWARDZERO);
DrawMenuBar;
return err;
}
---
In the gcc -E output, all I can find is
# 2987 "/System/Library/Frameworks/Carbon.framework/Frameworks/
HIToolbox.framewo
rk/Headers/Menus.h" 3
extern void
DrawMenuBar(void) ;
That does not seem to me like something which can be optimized away.
Thanks,
Jonas
_______________________________________________
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