Boost logo

Boost-Build :

Subject: [Boost-build] Compiler flags for MSVC8
From: John.X.Foster_at_[hidden]
Date: 2009-09-28 01:10:25


Hi

Sorry if this question has been asked before - if so please redirect me to
the relevant thread.

I am buliding under MSVC8. In this version, Microsoft have introduced
various annoying compiler defaults which I normally avoid using the
following defines:

_HAS_ITERATOR_DEBUGGING=0
_CRT_NONSTDC_NO_DEPRECATE
_CRT_SECURE_NO_DEPRECATE
_SECURE_SCL=0
_SCL_SECURE_NO_DEPRECATE

For the Boost libraries which must be built as libraries, eg regex, I need
to build them with these compiler flags. I have done this for regex by
modifying the vc8.mak file. Is there a generic way of setting these flags
in the jamroot or other file, so I dont need to modify particular files
for each library?

Thanks for any suggestions.

John

This e-mail is sent by or on behalf of the named sender identified above.
If:

(a) you do not wish to receive any e-mail marketing material from this
person in the future, please forward the contents of this email to
unsubscribe_at_[hidden] with the word "unsubscribe" in the subject box.

(b) you wish to unsubscribe from all central e-mail marketing lists used
by our business, please forward the contents of this e-mail to
unsubscribeall_at_[hidden] with the message "unsubscribe from all central
e-mail marketing lists" in the subject box.

If you do not forward the contents of this e-mail with your
unsubscription then it may not be able to be implemented.

The information contained in this e-mail communication may be
confidential. You should only read, disclose, re-transmit, copy,
distribute, act in reliance on or commercialise the information if you
are authorised to do so. If you are not the intended recipient of this
e-mail communication, please immediately notify us by e-mail to
postmaster_at_[hidden], or reply by e-mail direct to the sender and then
destroy any electronic and paper copy of this message. Any views
expressed in this e-mail communication are those of the individual
sender, except where the sender specifically states them to be the views
of a member of the National Australia Bank Group of companies. Any
advice contained in this e-mail has been prepared without taking into
account your objectives, financial situation or needs. Before acting on
any advice in this e-mail, National Australia Bank Limited recommends
that you consider whether it is appropriate for your circumstances. If
this e-mail contains reference to any financial products, the National
recommends you consider the Product Disclosure Statement (PDS) or other
disclosure document before making any decisions regarding any products.
The National Australia Bank Group of companies does not represent,
warrant or guarantee that the integrity of this communication has been
maintained nor that the communication is free of errors, virus or
interference.



Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk