Chameleon

Issue 321: Compile issue with Xcode 4.6

Reported by chromafile, Jan 30, 2013

Just updated to Xcode 4.6 & command line tools and got the 
compile errors.


	[CC] fake_efi.c
fake_efi.c:391:19: error: duplicate 'const' declaration specifier
      [-Werror,-Wduplicate-decl-specifier]
static const char const TSC_Frequency_prop[] = 
"TSCFrequency";
                  ^
fake_efi.c:392:19: error: duplicate 'const' declaration specifier
      [-Werror,-Wduplicate-decl-specifier]
static const char const FSB_Frequency_prop[] = 
"FSBFrequency";
                  ^
fake_efi.c:393:19: error: duplicate 'const' declaration specifier
      [-Werror,-Wduplicate-decl-specifier]
static const char const CPU_Frequency_prop[] = 
"CPUFrequency";
                  ^
fake_efi.c:427:19: error: duplicate 'const' declaration specifier
      [-Werror,-Wduplicate-decl-specifier]
static const char const FIRMWARE_REVISION_PROP[] = 
"firmware-revision";
                  ^
fake_efi.c:428:19: error: duplicate 'const' declaration specifier
      [-Werror,-Wduplicate-decl-specifier]
static const char const FIRMWARE_ABI_PROP[] = 
"firmware-abi";
                  ^
fake_efi.c:429:19: error: duplicate 'const' declaration specifier
      [-Werror,-Wduplicate-decl-specifier]
static const char const FIRMWARE_VENDOR_PROP[] = 
"firmware-vendor";
                  ^
fake_efi.c:430:19: error: duplicate 'const' declaration specifier
      [-Werror,-Wduplicate-decl-specifier]
static const char const FIRMWARE_ABI_32_PROP_VALUE[] = 
"EFI32";
                  ^
fake_efi.c:431:19: error: duplicate 'const' declaration specifier
      [-Werror,-Wduplicate-decl-specifier]
static const char const FIRMWARE_ABI_64_PROP_VALUE[] = 
"EFI64";
                  ^
fake_efi.c:432:19: error: duplicate 'const' declaration specifier
      [-Werror,-Wduplicate-decl-specifier]
static const char const SYSTEM_ID_PROP[] = "system-id";
                  ^
fake_efi.c:433:19: error: duplicate 'const' declaration specifier
      [-Werror,-Wduplicate-decl-specifier]
static const char const SYSTEM_SERIAL_PROP[] = 
"SystemSerialNumber";
                  ^
fake_efi.c:434:19: error: duplicate 'const' declaration specifier
      [-Werror,-Wduplicate-decl-specifier]
static const char const SYSTEM_TYPE_PROP[] = 
"system-type";
                  ^
fake_efi.c:435:19: error: duplicate 'const' declaration specifier
      [-Werror,-Wduplicate-decl-specifier]
static const char const MODEL_PROP[] = "Model";
                  ^
fake_efi.c:436:19: error: duplicate 'const' declaration specifier
      [-Werror,-Wduplicate-decl-specifier]
static const char const BOARDID_PROP[] = "board-id";
                  ^
13 errors generated.
make[3]: *** 
[/Volumes/Data/src/chameleon/obj/i386/libsaio/fake_efi.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Comment 1 by Cosmosis Jones, Jan 31, 2013

Status: Fixed

Created: 6 years 5 months ago by chromafile

Updated: 6 years 5 months ago

Status: Fixed

Followed by: 1 person

Labels:
Priority:Medium
Type:Defect