Re: magick_config.h included several times?
Bob Friesenhahn <[email protected]> Sat, 12 Dec 2020 08:03:20 -0600 (CST)
| Newsgroups | gmane.comp.video.graphicsmagick.help |
|---|---|
| Message-ID | <[email protected]> |
On Sat, 12 Dec 2020, Pro Turm wrote: > Hi Bob, > what is the reason for including magick_conig.h several times? e.g. in > api.h and studio.h ? It doesnt have include guards and some redefintions > appear ? There should not be any redefintions occuring. What symbols do you see being re-defined? While GraphicsMagick is built, there is a full-fledged magick/magick_config.h which has all of the definitions that GraphicsMagick itself needs to compile. At least for the configure-based build, there is a magick/magick_config_api.h which is installed as magick/magick_config.h and which includes only the definitions that magick/api.h needs. Bob -- Bob Friesenhahn [email protected], http://www.simplesystems.org/users/bfriesen/ GraphicsMagick Maintainer, http://www.GraphicsMagick.org/ Public Key, http://www.simplesystems.org/users/bfriesen/public-key.txt