Article View: comp.sys.mac.programmer.codewarrior
Article #754Re: [ANN] New Compiler Features for CWDS Mac OS 9
From: MW Ron
Date: Tue, 26 Aug 2003 13:31
Date: Tue, 26 Aug 2003 13:31
57 lines
2835 bytes
2835 bytes
In article <e5c40519.0308260208.5cdd6477@posting.google.com>,
agrosam@onlinehome.de (Andreas Grosam) wrote:
>MW Ron <mwron@metrowerks.com> wrote in message
>news:<mwron-9D5A52.14174225082003@enews.newsguy.com>...
>> Some Compiler Features:
>[...]
>> * The prefix file field has been removed from the C/C++ Language panel.
>> You can use the new text field that can be used to #define macros, set
>> #pragmas, or #include prefix files.
>That is, the content of this text field was formerly included with a
>prefix file.
>Means this is equivalent to the old method:
>Formerly in the Prefix File Field:
>MyPrefixFile.h
>
>New Text field:
>#include MyPrefixHeader.h
>
>which has the same effect.
>
>And now we have more flexibility:
>#define MY_DEBUG
>#include MyPrefixFile.h
>
>Right?
right and more.
>Question:
>Will this text field be included for pre-compiling, too? That is, if
>there is a MyPrecompHeader.pch++, will the text field implicitly
>included in the precomp source file?
There is a check box to use if for Precompiled headers or not.
>Would this be possible:
>#if __option(precompile)
> #define MY_OPTION
> #define PRECOMPILE_TARGET "MyPrecompTarget1.mch"
> // MyPrecompHeader.pch++ contains #pragma precompile_target
>PRECOMPILE_TARGET
>#else
> #include "MyPrecompTarget1.mch"
>#endif
I think so, but I've not tried it. If the option is on it should let
you do this.
Ron
--
CodeWarrior Development Studio for Macintosh v9
Enhance Your Productivity and Shorten your Development Cycles
<http://store.metrowerks.com/>
Sales and Support 512-996-5300 800-377-5416
Ron Liechty - MWRon@metrowerks.com - http://www.metrowerks.com
Technical Details
Message-ID:
<mwron-7DBDA4.09314526082003@enews.newsguy.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!pln-w!spln!dex!extra.newsguy.com!newsp.newsguy.com!mwronReferences:
<mwron-9D5A52.14174225082003@enews.newsguy.com> <e5c40519.0308260208.5cdd6477@posting.google.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10bcce,7fc77234192a308d
X-Google-Attributes: gid10bcce,public
X-Google-Thread: f635e,7fc77234192a308d
X-Google-Attributes: gidf635e,public
X-Google-ArrivalTime: 2003-08-26 06:50:46 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!pln-w!spln!dex!extra.newsguy.com!newsp.newsguy.com!mwron
From: MW Ron <mwron@metrowerks.com>
Newsgroups: comp.sys.mac.programmer.codewarrior,codewarrior.mac
Subject: Re: [ANN] New Compiler Features for CWDS Mac OS 9
Date: Tue, 26 Aug 2003 09:31:45 -0400
Organization: Metrowerks
Lines: 57
Message-ID: <mwron-7DBDA4.09314526082003@enews.newsguy.com>
References: <mwron-9D5A52.14174225082003@enews.newsguy.com> <e5c40519.0308260208.5cdd6477@posting.google.com>
NNTP-Posting-Host: p-017.newsdawg.com
User-Agent: MT-NewsWatcher/3.2 (PPC Mac OS X)
X-Face: )mY~XFHLw)UOW!W#[Ljvxq6Ja7(g'#F0-g*&puNxR8hEJkd@Oue/70^.)I78\
(%a%&Id211u"l/t.llWo/M|?15XUlx9!IGkdWiEmcasiyg"k;Q9[~XuE+`t2"*n(>nmm
@L/q,TjMd5+H{gASEPDR^$