imagemagick_lib_iphone icon indicating copy to clipboard operation
imagemagick_lib_iphone copied to clipboard

Cocoapod compile warning "Unknown attribute '__alloc_size__' ignored"

Open dredenba opened this issue 9 years ago • 0 comments

I'm not sure if this is the right repository but I think so.

I have included the ios imagemagick pod (pod 'ImageMagick', '~> 6.8.8-9') in my project but I get a compile warning in Xcode 7, on 8 different lines in magick/memory_.h

for example one of the warnings in the build logs looks like this:

In file included from Pods/Headers/Private/wand/MagickWand.h:72:
In file included from Pods/Headers/Private/magick/MagickCore.h:120:
Pods/Headers/Private/magick/memory_.h:29:36: warning: unknown attribute '__alloc_size__' ignored [-Wunknown-attributes]
  *(*AcquireMemoryHandler)(size_t) magick_alloc_size(1),

dredenba avatar Oct 21 '15 01:10 dredenba