www.digitalmars.com         C & C++   DMDScript  

c++.idde - Other Flags thru IDDE

reply "Rajiv Bhagwat" <dataflow vsnl.com> writes:
Please don't forget to comment the way to give additional flags thru IDDE:

I don't think that the way to give 'other' flags (newer ones not on the
property pages) such as -Ab is documented anywhere. Basically, you use the
'defines' edit box and give the flags there. In such a case, you must
explicitely use -D for your defines. If you are only defining, then -D is
not reqd.

e.g. If you want to define 'NDEBUG' only, specify only 'NDEBUG'. If in
addition, you want to specify -Ab, you must write:

-Ab -DNDEBUG

I hope this helps. My request to Walter and his team is to document this
clearly for the upcoming release.
- Rajiv (Is is 'R' flag with 'ajiv'???)
Apr 10 2001
parent "Walter" <walter digitalmars.com> writes:
I'm putting your note in the FAQ!

Rajiv Bhagwat wrote in message <9auh9c$11ra$2 digitaldaemon.com>...
Please don't forget to comment the way to give additional flags thru IDDE:

I don't think that the way to give 'other' flags (newer ones not on the
property pages) such as -Ab is documented anywhere. Basically, you use the
'defines' edit box and give the flags there. In such a case, you must
explicitely use -D for your defines. If you are only defining, then -D is
not reqd.

e.g. If you want to define 'NDEBUG' only, specify only 'NDEBUG'. If in
addition, you want to specify -Ab, you must write:

-Ab -DNDEBUG

I hope this helps. My request to Walter and his team is to document this
clearly for the upcoming release.
- Rajiv (Is is 'R' flag with 'ajiv'???)

Apr 10 2001