This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Proposal


On Thu, Sep 27, 2001 at 04:22:09PM -0700, Zack Weinberg wrote:
> On Thu, Sep 27, 2001 at 04:07:55PM +0200, Frank Klemm wrote:
> > On Thu, Sep 27, 2001 at 05:17:40AM -0300, Alexandre Oliva wrote:
> > > On Sep 17, 2001, Frank Klemm <pfk@fuchs.offl.uni-jena.de> wrote:
> > > 
> > > > For instance try to convert 
> > > 
> > > >    #define MILLION	MY_MERGE_5 ( 1, _, 000, _, 000 )
> > > 
> > > If you're going down this road, I'd rather just do
> > > 
> > > #define MILLION MERGE3(1, 000, 000)
> > > 
> > > where
> > > 
> > > #define MERGE3(a,b,c) a##b##c
> > > 
> > Everyone misinterprets this example.
> > 
> > This is not an example to write 'grouped' numbers.
> > 
> > It is an example what must be forbidden to be able to write a filter program
> > which removes '_' from numbers.
> 
> Nonsense.  Your filter program can simply sit between the preprocessor
> and the compiler.
> 
This do not work. Preprocessed files are not suitable for distribution.

    blafasel-KandR.tar.Z
    blafasel-C89.tar.gz
    blafasel-C99.tar.bz2
    blafasel-C_99.tar.bz2

You write the source in C_99 and you also want to distribute the source as
C99, so you can also compile the source with other binary only compilers.
   
-- 
Frank Klemm


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]