Boost logo

Boost :

From: David Abrahams (david.abrahams_at_[hidden])
Date: 2002-04-10 08:12:12


----- Original Message -----
From: "John Maddock" <john_maddock_at_[hidden]>

>
> > Does anyone care if I add the extra underscore?
>
> Not at all, I thought it was a non-standard extension either which way
> though:
>
> //
> // whenever we have a conversion function with elipses
> // it needs to be declared _cdecl to suppress compiler
> // warnings from MS and Borland compilers:
> #if defined(BOOST_MSVC) || defined(__BORLANDC__)
> #define BOOST_TT_DECL _cdecl
> #else
> #define BOOST_TT_DECL
> #endif

Non-standard != non-conforming. THe compiler isn't allowed to reserve
_cdecl in all namespaces.


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