$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Hartmut Kaiser (hartmutkaiser_at_[hidden])
Date: 2004-01-04 05:14:07
Pavel Vozenilek wrote:
> > It's a pain to re-iterate all the conditions and compilers, which 
> > support the #pragma once for every
> >
> >     #if (defined(_MSC_VER) && _MSC_VER >= 1020) || 
> defined(__WAVE__) 
> > ||
> etc.
> >     #pragma once
> >     #endif
> >
> > So I mandate for using a BOOST_... constant for this. The 
> Boost.Config 
> > headers are included first anyways, and not using a #pragma once 
> > inside those shouldn't hurt so much.
> >
> About the effect of #pragma once: it was found quite useful:
> http://aspn.activestate.com/ASPN/Mail/Message/boost/1798707
Sure, so what? Seems we're on the same track here.
The question is, how to guard those #pragma once directives - with compiler
specific pp constants or with a boost pp constant? I would like to introduce
a BOOST_HAS_PRAGMA_ONCE constant here.
Regards Hartmut