Skip to content

Fix OS X compile errors #6

Merged
merged 2 commits into from Jul 8, 2013

2 participants

@Neal
Neal commented Jul 8, 2013

Prior to commit 0c8986e, compiling on OS X would fail with error:

pwnmetheus2/AppleMobileDevice.h:56:33: error: extra qualification on member 'AddDevicesForPID'
        static void AppleMobileDevice::AddDevicesForPID(SInt32 usbPID);
                    ~~~~~~~~~~~~~~~~~~~^

Commit 0c8986e removes the extra qualification on member 'AddDevicesForPID' which fixes the error.


Commit 2c0f33a fixes the following warning and error:

pwnmetheus2/AppleMobileDevice.cpp:185:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
        while(usbDevice = IOIteratorNext(anIterator))
              ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
pwnmetheus2/AppleMobileDevice.cpp:482:34: error: called object type 'int' is not a function or function pointer
                if(this->Mode() = kRecoveryMode())
                                  ~~~~~~~~~~~~~^
Neal added some commits Feb 20, 2013
@Neal Neal fixed warnings on OS X (maybe others also) 2c0f33a
@Neal Neal Fix the annoying error when compiling on OS X.
pwnmetheus2/AppleMobileDevice.h:56:33: error:
extra qualification on member 'AddDevicesForPID'
	static void AppleMobileDevice::AddDevicesForPID(SInt32 usbPID);
fc99ef7
@planetbeing planetbeing merged commit 894830e into planetbeing:master Jul 8, 2013
@planetbeing
Owner

Looks good. Thanks!

@Neal Neal deleted the Neal:fix-osx-errors branch Jul 8, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.