Skip navigation.
 
mlweird error in 10.3.9 header file
FROM : Lon Giese
DATE : Sun Jul 23 11:44:05 2006

Hello, Getting a weird build error. target 10.3. Probably because of
zero link.

ControlDefinitions.h:6135: error: parse error before
"AVAILABLE_MACWOS_X_VERSION_10_0_AND_LATER"

  notice the W in MACWOS.

Below is what is displayed in the XCode editor. I looked at the same
file with TextEdit and the macro is spelled correctly with an 
underscore    AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER

I tried a clean build, deleting the build folder, restarting XCode and
combinations of the preceding. Nothing worked. It works with a
development build but that's probably because of zero link. Finally I
restarted my computer and that fixed it.

It's fixed now, but I am curious about what happened in case it happens
again. Because I'm not really sure what I did to fix it.

Thanks
Lon


BTW: thanks for all the help from the very helpful people on this List.

/*
      File:      HIToolbox/ControlDefinitions.h

      Contains:  Definitions of controls provided by the Control Manager

      Version:    HIToolbox-145.33~1

      Copyright:  © 1999-2003 by Apple Computer, Inc., all rights
reserved.

      Bugs?:      For bug reports, consult the following page on
                  the World Wide Web:

                      http://developer.apple.com/bugreporter/

*/
/*
  *  GetDataBrowserTableViewItemRowHeight()
  *
  *  Mac OS X threading:
  *    Not thread safe
  *
  *  Availability:
  *    Mac OS X:        in version 10.0 and later in Carbon.framework
  *    CarbonLib:        in CarbonLib 1.1 and later
  *    Non-Carbon CFM:  not available
  */
extern OSStatus
GetDataBrowserTableViewItemRowHeight(
  ControlRef          browser,
  DataBrowserItemID  item,
  UInt16 *            height)                               
AVAILABLE_MACWOS_X_VERSION_10_0_AND_LATER;




WooHoo the ultimate Mac App for 'The Sims 2' power users.
http://woohooformac.wordpress.com/ _______________________________________________
MacOSX-dev mailing list
<email_removed>
http://www.omnigroup.com/mailman/listinfo/macosx-dev

Related mailsAuthorDate
No related mails found.