Afficher un message
Vieux 14/04/2004, 18h32
Re: Obtenir le numéro de série du numéro du premier disque dur. C/C++
  #8
Khertan
Membre junior
 
Date d'inscription: 18/10/02
Messages: 38
Disco: Khertan peut rentrer, mais pas en tennis
Et sous codewarrior ... voici ce que cela donne :

Error : ';' expected
(included from:
CFDateFormatter.h:12
CoreFoundation.h:70
4DPlugin.c:23)
CFLocale.h line 19 CFTypeID CFLocaleGetTypeID(void) AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER;

Error : ';' expected
(included from:
CFDateFormatter.h:12
CoreFoundation.h:70
4DPlugin.c:23)
CFLocale.h line 22 CFLocaleRef CFLocaleGetSystem(void) AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER;

Error : ';' expected
(included from:
CFDateFormatter.h:12
CoreFoundation.h:70
4DPlugin.c:23)
CFLocale.h line 26 CFLocaleRef CFLocaleCopyCurrent(void) AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER;

Error : ';' expected
(included from:
CFDateFormatter.h:12
CoreFoundation.h:70
4DPlugin.c:23)
CFLocale.h line 37 CFStringRef CFLocaleCreateCanonicalLocaleIdentifierFromString( CFAllocatorRef allocator, CFStringRef localeIdentifier) AVAILABLE

Error : ';' expected
(included from:
CFDateFormatter.h:12
CoreFoundation.h:70
4DPlugin.c:23)
CFLocale.h line 42 CFStringRef CFLocaleCreateCanonicalLocaleIdentifierFromScriptM anagerCodes(CFAllocatorRef allocator, LangCode lcode, RegionCode

Error : ';' expected
(included from:
CFDateFormatter.h:12
CoreFoundation.h:70
4DPlugin.c:23)
CFLocale.h line 46 CFLocaleRef CFLocaleCreate(CFAllocatorRef allocator, CFStringRef localeIdentifier) AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER;

Error : ';' expected
(included from:
CFDateFormatter.h:12
CoreFoundation.h:70
4DPlugin.c:23)
CFLocale.h line 50 CFLocaleRef CFLocaleCreateCopy(CFAllocatorRef allocator, CFLocaleRef locale) AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER;

Error : ';' expected
(included from:
CFDateFormatter.h:12
CoreFoundation.h:70
4DPlugin.c:23)
CFLocale.h line 56 CFStringRef CFLocaleGetIdentifier(CFLocaleRef locale) AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER;

Error : ';' expected
(included from:
CFDateFormatter.h:12
CoreFoundation.h:70
4DPlugin.c:23)
CFLocale.h line 61 CFTypeRef CFLocaleGetValue(CFLocaleRef locale, CFStringRef key) AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER;

Error : ';' expected
(included from:
CFDateFormatter.h:12
CoreFoundation.h:70
4DPlugin.c:23)
CFLocale.h line 67 CF_EXPORT const CFStringRef kCFLocaleMeasurementSystem AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER; // "Metric" or "U.S."

Error : ';' expected
(included from:
CFDateFormatter.h:12
CoreFoundation.h:70
4DPlugin.c:23)
CFLocale.h line 68 CF_EXPORT const CFStringRef kCFLocaleDecimalSeparator AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER;

Error : ';' expected
(included from:
CFDateFormatter.h:12
CoreFoundation.h:70
4DPlugin.c:23)
CFLocale.h line 69 CF_EXPORT const CFStringRef kCFLocaleGroupingSeparator AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER;

Error : ';' expected
(included from:
CFDateFormatter.h:12
CoreFoundation.h:70
4DPlugin.c:23)
CFLocale.h line 70 CF_EXPORT const CFStringRef kCFLocaleCurrencySymbol AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER;

Error : ';' expected
(included from:
CFDateFormatter.h:12
CoreFoundation.h:70
4DPlugin.c:23)
CFLocale.h line 71 CF_EXPORT const CFStringRef kCFLocaleCurrencyCode AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER; // ISO 3-letter currency code

Error : ';' expected
CFDateFormatter.h line 23 CFTypeID CFDateFormatterGetTypeID(void) AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER;

Error : ';' expected
CFDateFormatter.h line 46 CFDateFormatterRef CFDateFormatterCreate(CFAllocatorRef allocator, CFLocaleRef locale, CFDateFormatterStyle dateStyle, CFDateFo

Error : ';' expected
CFDateFormatter.h line 51 CFLocaleRef CFDateFormatterGetLocale(CFDateFormatterRef formatter) AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER;

Error : ';' expected
CFDateFormatter.h line 54 CFDateFormatterStyle CFDateFormatterGetDateStyle(CFDateFormatterRef formatter) AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER;

Error : ';' expected
CFDateFormatter.h line 57 CFDateFormatterStyle CFDateFormatterGetTimeStyle(CFDateFormatterRef formatter) AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER;

Error : ';' expected
CFDateFormatter.h line 61 CFStringRef CFDateFormatterGetFormat(CFDateFormatterRef formatter) AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER;

Error : ';' expected
CFDateFormatter.h line 64 void CFDateFormatterSetFormat(CFDateFormatterRef formatter, CFStringRef formatString) AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER

Error : ';' expected
CFDateFormatter.h line 74 CFStringRef CFDateFormatterCreateStringWithDate(CFAllocatorRef allocator, CFDateFormatterRef formatter, CFDateRef date) AVAILAB

Error : ';' expected
CFDateFormatter.h line 77 CFStringRef CFDateFormatterCreateStringWithAbsoluteTime(CFAllo catorRef allocator, CFDateFormatterRef formatter, CFAbsoluteTime

Error : ';' expected
CFDateFormatter.h line 83 CFDateRef CFDateFormatterCreateDateFromString(CFAllocatorRef allocator, CFDateFormatterRef formatter, CFStringRef string, CFRan

Error : ';' expected
CFDateFormatter.h line 86 Boolean CFDateFormatterGetAbsoluteTimeFromString(CFDateFor matterRef formatter, CFStringRef string, CFRange *rangep, CFAbsoluteT

Error : ';' expected
CFDateFormatter.h line 97 void CFDateFormatterSetProperty(CFDateFormatterRef formatter, CFStringRef key, CFTypeRef value) AVAILABLE_MAC_OS_X_VERSION_10_3

Error : ';' expected
CFDateFormatter.h line 100 CFTypeRef CFDateFormatterCopyProperty(CFDateFormatterRef formatter, CFStringRef key) AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER;

Error : ';' expected
CFDateFormatter.h line 104 CF_EXPORT const CFStringRef kCFDateFormatterIsLenient AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER; // CFBoolean

Error : ';' expected
CFDateFormatter.h line 105 CF_EXPORT const CFStringRef kCFDateFormatterTimeZone AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER; // CFTimeZone

Error : ';' expected
CFDateFormatter.h line 106 CF_EXPORT const CFStringRef kCFDateFormatterCalendarName AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER; // CFString

Error : ';' expected
CFDateFormatter.h line 107 CF_EXPORT const CFStringRef kCFDateFormatterDefaultFormat AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER; // CFString

Error : ';' expected
CFDateFormatter.h line 109 CF_EXPORT const CFStringRef kCFGregorianCalendar AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER;

Error : ';' expected
CFNumberFormatter.h line 23 CFTypeID CFNumberFormatterGetTypeID(void) AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER;

Error : ';' expected
CFNumberFormatter.h line 35 CFNumberFormatterRef CFNumberFormatterCreate(CFAllocatorRef allocator, CFLocaleRef locale, CFNumberFormatterStyle style) AVAILA

Error : ';' expected
CFNumberFormatter.h line 40 CFLocaleRef CFNumberFormatterGetLocale(CFNumberFormatterRef formatter) AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER;

Error : ';' expected
CFNumberFormatter.h line 43 CFNumberFormatterStyle CFNumberFormatterGetStyle(CFNumberFormatterRef formatter) AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER;

Error : ';' expected
CFNumberFormatter.h line 47 CFStringRef CFNumberFormatterGetFormat(CFNumberFormatterRef formatter) AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER;

Error : ';' expected
CFNumberFormatter.h line 50 void CFNumberFormatterSetFormat(CFNumberFormatterRef formatter, CFStringRef formatString) AVAILABLE_MAC_OS_X_VERSION_10_3_AND_L

Error : ';' expected
CFNumberFormatter.h line 60 CFStringRef CFNumberFormatterCreateStringWithNumber(CFAllocato rRef allocator, CFNumberFormatterRef formatter, CFNumberRef numbe

Error : ';' expected
CFNumberFormatter.h line 63 CFStringRef CFNumberFormatterCreateStringWithValue(CFAllocator Ref allocator, CFNumberFormatterRef formatter, CFNumberType numbe

Error : ';' expected
CFNumberFormatter.h line 73 CFNumberRef CFNumberFormatterCreateNumberFromString(CFAllocato rRef allocator, CFNumberFormatterRef formatter, CFStringRef strin

Error : ';' expected
CFNumberFormatter.h line 76 Boolean CFNumberFormatterGetValueFromString(CFNumberFormat terRef formatter, CFStringRef string, CFRange *rangep, CFNumberType n

Error : ';' expected
CFNumberFormatter.h line 89 void CFNumberFormatterSetProperty(CFNumberFormatterRef formatter, CFStringRef key, CFTypeRef value) AVAILABLE_MAC_OS_X_VERSION_

Error : ';' expected
CFNumberFormatter.h line 92 CFTypeRef CFNumberFormatterCopyProperty(CFNumberFormatterRef formatter, CFStringRef key) AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LA

Error : ';' expected
CFNumberFormatter.h line 96 CF_EXPORT const CFStringRef kCFNumberFormatterCurrencyCode AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER; // CFString

Error : ';' expected
CFNumberFormatter.h line 97 CF_EXPORT const CFStringRef kCFNumberFormatterDecimalSeparator AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER; // CFString

Error : ';' expected
CFNumberFormatter.h line 98 CF_EXPORT const CFStringRef kCFNumberFormatterCurrencyDecimalSeparator AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER; // CFString

Error : ';' expected
CFNumberFormatter.h line 99 CF_EXPORT const CFStringRef kCFNumberFormatterAlwaysShowDecimalSeparator AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER; // CFBoolea

Error : ';' expected
CFNumberFormatter.h line 100 CF_EXPORT const CFStringRef kCFNumberFormatterGroupingSeparator AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER; // CFString

Error : ';' expected
CFNumberFormatter.h line 101 CF_EXPORT const CFStringRef kCFNumberFormatterUseGroupingSeparator AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER; // CFBoolean

Error : ';' expected
CFNumberFormatter.h line 102 CF_EXPORT const CFStringRef kCFNumberFormatterPercentSymbol AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER; // CFString

Error : ';' expected
CFNumberFormatter.h line 103 CF_EXPORT const CFStringRef kCFNumberFormatterZeroSymbol AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER; // CFString

Error : ';' expected
CFNumberFormatter.h line 104 CF_EXPORT const CFStringRef kCFNumberFormatterNaNSymbol AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER; // CFString

Error : ';' expected
CFNumberFormatter.h line 105 CF_EXPORT const CFStringRef kCFNumberFormatterInfinitySymbol AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER; // CFString

Error : ';' expected
CFNumberFormatter.h line 106 CF_EXPORT const CFStringRef kCFNumberFormatterMinusSign AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER; // CFString

Error : ';' expected
CFNumberFormatter.h line 107 CF_EXPORT const CFStringRef kCFNumberFormatterPlusSign AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER; // CFString

Error : ';' expected
CFNumberFormatter.h line 108 CF_EXPORT const CFStringRef kCFNumberFormatterCurrencySymbol AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER; // CFString

Error : ';' expected
CFNumberFormatter.h line 109 CF_EXPORT const CFStringRef kCFNumberFormatterExponentSymbol AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER; // CFString

Error : ';' expected
CFNumberFormatter.h line 110 CF_EXPORT const CFStringRef kCFNumberFormatterMinIntegerDigits AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER; // CFNumber

Error : ';' expected
CFNumberFormatter.h line 111 CF_EXPORT const CFStringRef kCFNumberFormatterMaxIntegerDigits AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER; // CFNumber

Error : ';' expected
CFNumberFormatter.h line 112 CF_EXPORT const CFStringRef kCFNumberFormatterMinFractionDigits AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER; // CFNumber

Error : ';' expected
CFNumberFormatter.h line 113 CF_EXPORT const CFStringRef kCFNumberFormatterMaxFractionDigits AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER; // CFNumber

Error : ';' expected
CFNumberFormatter.h line 114 CF_EXPORT const CFStringRef kCFNumberFormatterGroupingSize AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER; // CFNumber

Error : ';' expected
CFNumberFormatter.h line 115 CF_EXPORT const CFStringRef kCFNumberFormatterSecondaryGroupingSize AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER; // CFNumber

Error : ';' expected
CFNumberFormatter.h line 116 CF_EXPORT const CFStringRef kCFNumberFormatterRoundingMode AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER; // CFNumber

Error : ';' expected
CFNumberFormatter.h line 117 CF_EXPORT const CFStringRef kCFNumberFormatterRoundingIncrement AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER; // CFNumber

Error : ';' expected
CFNumberFormatter.h line 118 CF_EXPORT const CFStringRef kCFNumberFormatterFormatWidth AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER; // CFNumber

Error : ';' expected
CFNumberFormatter.h line 119 CF_EXPORT const CFStringRef kCFNumberFormatterPaddingPosition AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER; // CFNumber

Error : ';' expected
CFNumberFormatter.h line 120 CF_EXPORT const CFStringRef kCFNumberFormatterPaddingCharacter AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER; // CFString

Error : ';' expected
CFNumberFormatter.h line 121 CF_EXPORT const CFStringRef kCFNumberFormatterDefaultFormat AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER; // CFString

Error : ';' expected
CFNumberFormatter.h line 142 Boolean CFNumberFormatterGetDecimalInfoForCurrencyCode(CFS tringRef currencyCode, int32_t *defaultFractionDigits, double *roundi

Warning : identifier expected
IOATAStorageDefines.h line 196 };

Warning : identifier expected
IOATAStorageDefines.h line 235 };

Warning : identifier expected
IOATAStorageDefines.h line 264 };

Error : expression syntax error
4DPlugin.c line 76 CFStringRef data = NULL;

Error : undefined identifier 'data'
4DPlugin.c line 80 data = IORegistryEntryCreateCFProperty(DSservice, key, nil, nil);

Error : undefined identifier 'data'
4DPlugin.c line 86 CFStringGetBytes(data, CFRangeMake(0,CFStringGetLength(data)), kCFStringEncodingMacRoman,

Error : illegal implicit conversion from 'char[256]' to
'unsigned char *'
4DPlugin.c line 87 0, 0, returnValue, 40, NULL);

Could not find or load the file “4DPlugin.plc” for target “MachO Debug” for project “4D Plugin.mcp”.
Khertan est déconnecté   Réponse avec citation