In fairness, I was not compiling w/ +98. Having changed over, I got correct behavior. -Alex- On Wed, 29 Sep 1999, Alastair Reid wrote: > > [Moved to hugs-bugs] > > > Ok that worked well. Now I am being told that "with" is a reserved word. > > Any idea why/what that is? > > It obviously is not reserved by whatever compiler Malcolm Wallace is > > developing with. > > Slap on the wrists for Jeff Lewis and co-conspirators - they added 2 > new keywords (see "Implicit parameters" in the "Hugs Extensions" > section of the Hugs manual) but didn't turn them off when you use hugs > +98 (or just hugs since +98 is default). You could turn it off by > recompiling Hugs with the symbol IPARAM undefined (not clear if this > can be done via config or by editing the Makefile or ...). If you > have Microsoft's compiler, you could give this a shot - instructions > on building Hugs are in the Install file at the top of the Hugs source > tree. > > A second slap for grabbing a common English word (with). The other > keyword (dlet) will probably not be missed. If there's no > less-intrusive alternative, the (quite disgusting but unavoidable) > hack used to let us us "as", "hiding" and "qualified" as keywords > without making them reserved is probably the thing to do. > > Meanwhile, the quick fix is obvious enough: > > gcc -xc -E -traditional -Dwith=thisIsNotAReservedWord > > > A > ___________________________________________________________________ S. Alexander Jacobson Shop.Com 1-212-697-0184 voice The Easiest Way To Shop
Re: I tried to turn on C preprocessor
S. Alexander Jacobson Thu, 30 Sep 1999 00:24:06 +0200 (MET DST)
- Re: I tried to turn on C preprocessor Alastair Reid
- S. Alexander Jacobson
