aburgh / Disk-Arbitrator

A Mac OS X forensic utility which manages file system mounting in support of forensic procedures.
BSD 3-Clause "New" or "Revised" License
662 stars 70 forks source link

Won't compile in Xcode 6.4 because of missing "extern" keywords #12

Closed tempelmann closed 9 years ago

tempelmann commented 9 years ago

I just tried to build the master in Xcode 6.4 after removing the code signing settings and changing deployment to 10.10.

I got a few "duplicate symbols" errors then. The issue is in "DiskArbitratorAppController+Toolbar.h" where the ToolbarItem... declarations need to have an "extern" modifier added as follows:

// Toolbar Item Identifier constants extern NSString * const ToolbarItemMainIdentifier; extern NSString * const ToolbarItemInfoIdentifier; extern NSString * const ToolbarItemMountIdentifier; extern NSString * const ToolbarItemEjectIdentifier; extern NSString * const ToolbarItemAttachDiskImageIdentifier;

kainjow commented 9 years ago

Fixed in 75104ef60881130217bc09723b65c8100ce7f8cb