pppoe / WhatsThis-iOS

MXNet WhatThis Example for iOS
MIT License
112 stars 25 forks source link

Unknown type name '__declspec' #1

Closed lalamm closed 8 years ago

lalamm commented 8 years ago

Thanks for a great example app! But when I compile it with the new xcode 7.3 I get the following error Unknown type name '__declspec'.

How can I solve it?

pppoe commented 8 years ago

@lalamm Thanks for pointing out this. I am able to reproduce this after updating to Xcode 7.3. The master branch is updated. You can also fix it by adding "-fms-extensions" in Build Settings -> Apple LLVM 7.1 - Custom Compiler Flags -> Other Warning Flags.

Reference

lalamm commented 8 years ago

Great, thank you!