Boost logo

Boost :

From: John Maddock (jm_at_[hidden])
Date: 2003-08-06 05:29:37


> Does regex address the issue of alignment and calling convention etc and
> other options (in BCB, treat enums as ints is a good one to screw up
> libraries) by wrapping the headers in push/pop option statements?

Yes:

#ifdef __BORLANDC__
# pragma option push -a8 -b -Vx -Ve -pc -w-8027
#endif

// code here....

#ifdef __BORLANDC__
# pragma option pop
#endif

We should standardize this boost-wide really in some kind of prefix/suffix
header.

John.


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