Boost logo

Boost :

Subject: Re: [boost] [#pragma once]
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2009-04-10 11:25:52


AMDG

Etienne PIERRE wrote:
> On Fri, Apr 10, 2009 at 4:26 PM, Sid Sacek <ssacek_at_[hidden]> wrote:
>
>
>> I've worked with the MSVC, Sun and GCC compilers.
>>
>>
>>
>> Each one of them supports #pragma once. Is there any reason to wrap
>> this pragma within #ifdefs? Are there any compilers out there today that
>> don't support this #pragma?
>>
>
>
> I don't know if it's a supported compiler but IBM's vacpp compiler doesn't
> support it in version 7 although it does in version 9 (I have no version 8
> to test with).
>
> Do we have a list of officially supported compilers ?
>

IMO, there is absolutely no reason to /rely/ on non-standard
features even if /all/ compilers supported it in this case.

In Christ,
Steven Watanabe


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk