Current version of GraphicsMagick found in EPEL7 is 1.3.19. One of the important fixes found in 1.3.20 is ability to build applications that link GM with -std=c++11. The current workaround is to use -std=gnu++11 as stated at http://stackoverflow.com/questions/19036440/using-graphicsmagick-c-api-unknown-type-image-compile-error The problem described appears while using both GNU GCC G++ 4.8.2 and CLang 3.4.2. I have done a rpmbuild on the GraphicsMagick 1.3.20 SRPM and I can confirm this problem is fixed in 1.3.20.
working on it...
http://koji.fedoraproject.org/koji/buildinfo?buildID=569386