bug-commoncpp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Suggestion regarding header files...


From: Federico Montesino Pouzols
Subject: Re: Suggestion regarding header files...
Date: Wed, 13 Nov 2002 23:51:34 +0100
User-agent: Mutt/1.4i

        It is in CVS for next releases.

On Sat, Nov 02, 2002 at 09:50:16PM -0600, Ari Johnson wrote:
> 
> I like that solution.
> 
> On Sat, 2 Nov 2002, Federico Montesino Pouzols wrote:
> 
> >
> >     Currently, the autoconf stuff defines two symbols:
> > COMMON_XML_PARSING (A) and HAVE_LIBXML (B). Only B is used for the
> > #ifdefs. Using both A and B we could do things like this:
> >
> > #if defined(A) && defined(B)
> >     // libxml based stuff as it is currently defined.
> > #if defined(A) && !defined(B)
> >     // at present, #error "libxml not installed"
> >     // in the future, check another HAVE_... alternative xml lib.
> > #if !defined(A)
> >     // put in xml.cpp something like #warning "XML support is not
> >     // being compiled, are you sure?". And put in xml.h #error
> >     // "XML support not available"
> >




reply via email to

[Prev in Thread] Current Thread [Next in Thread]