On Mon, 7 Sep 2009, marti.ma...@littlecms.com wrote:
>
> I've been evaluating this, and there are some drawbacks. One is you
> cannot use namespaces if extern "C" is being used (the behavior is
> then undefined and depends on the compiler)

If it helps any, in Magick++ (C++ API for ImageMagick/GraphisMagick) 
the *Magick C APIs do use extern "C", but Magick++ includes the header 
file for these C APIs into a C++ namespace so that they become 
namespaced as far as C++ (although, not the linker) is concerned.  I 
have not seen an issue with this across a broad span of C++ compilers, 
and since 1998.

Bob
--
Bob Friesenhahn
bfrie...@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Lcms-user mailing list
Lcms-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lcms-user

Reply via email to