Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 542954 - media-gfx/imagemagick-6.9.0.3 - coders/dps.c:96:32: error: expected identifier or '(' before 'const' static inline double MagickMin(const double x,const double y)
Summary: media-gfx/imagemagick-6.9.0.3 - coders/dps.c:96:32: error: expected identifie...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-11 19:15 UTC by zebediah49+jk
Modified: 2019-01-06 18:30 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description zebediah49+jk 2015-03-11 19:15:57 UTC
media-gfx/imagemagick-6.9.0.3 emerge fails:

    In file included from coders/dps.c:50:0:
    coders/dps.c:96:32: error: expected identifier or '(' before 'const'
     static inline double MagickMin(const double x,const double y)
                                    ^
    ./magick/image-private.h:28:28: note: in definition of macro 'MagickMin'
     #define MagickMin(x,y)  (((x) < (y)) ? (x) : (y))
                                    ^
    ./magick/image-private.h:28:31: error: expected ')' before '<' token
     #define MagickMin(x,y)  (((x) < (y)) ? (x) : (y))
                                   ^
    coders/dps.c:96:22: note: in expansion of macro 'MagickMin'
     static inline double MagickMin(const double x,const double y)
                          ^
    ./magick/image-private.h:28:38: error: expected ')' before '?' token
     #define MagickMin(x,y)  (((x) < (y)) ? (x) : (y))
                                          ^
     coders/dps.c:96:22: note: in expansion of macro 'MagickMin'
      static inline double MagickMin(const double x,const double y)
                           ^
    

I tracked the bug down (in 6.8.9.9) and posted it to upstream, where it was confirmed and patched in 6.9.0-6 beta http://www.imagemagick.org/discourse-server/viewtopic.php?t=27026

Latest release is 6.9.0-10.

Let me know if you need more information, or if I should just continue waiting for a version bump to finally happen and resolve the issue.
Comment 1 Thomas Deutschmann (RETIRED) gentoo-dev 2019-01-06 18:30:28 UTC
Version is no longer available in Gentoo repository. Please re-open if you can reproduce with latest version.