🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac.programmer.codewarrior
Article #751

Re: [ANN] New Compiler Features for CWDS Mac OS 9

#751
From: Andreas Grosam
Date: Tue, 26 Aug 2003 10:08
40 lines
2117 bytes
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?

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?

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


Andreas
Technical Details
Message-ID: <e5c40519.0308260208.5cdd6477@posting.google.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mail
References: <mwron-9D5A52.14174225082003@enews.newsguy.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 03:08:48 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mail
From: agrosam@onlinehome.de (Andreas Grosam)
Newsgroups: comp.sys.mac.programmer.codewarrior,codewarrior.mac
Subject: Re: [ANN] New Compiler Features for CWDS Mac OS 9
Date: 26 Aug 2003 03:08:46 -0700
Organization: http://groups.google.com/
Lines: 40
Message-ID: <e5c40519.0308260208.5cdd6477@posting.google.com>
References: <mwron-9D5A52.14174225082003@enews.newsguy.com>
NNTP-Posting-Host: 80.131.231.65
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1061892527 16913 127.0.0.1 (26 Aug 2003 10:08:47 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 26 Aug 2003 10:08:47 GMT