This is the mail archive of the gcc-patches@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: PATCH: Support for Pascal strings -- Take 2


On Fri, Jun 29, 2001 at 12:10:22PM -0700, Ziemowit Laski wrote:
> Ok, here is a new, "leaner and meaner" version of the Pascal string patch
> that I submitted on June 15.  Per Zack Weinberg's suggestion, I removed
> all modifications in cpplib sources, and moved \p handling to 
> lex_string().
> Also, I've added a blurb in extend.texi describing the usage of Pascal
> literals.
> 
> Unfortunately, Pascal literals do have to be 'const unsigned char *'.
> While I certainly agree with Mark Mitchell that this is "weird," we
> nevertheless have to support this to be (backwards) compatible with
> other tools on the MacOS platform -- c'est la vie. :(
> 
> Please take a look at this patch, and give Stan and/or myself a
> "yea" or "nay."  Thanks!

I still think that -pedantic should give an error, since \p is exlicitly
reserved for future standards, and not allowed for compilers to upsurp.

-- 
Michael Meissner, Red Hat, Inc.  (GCC group)
PMB 198, 174 Littleton Road #3, Westford, Massachusetts 01886, USA
Work:	  meissner@redhat.com		phone: +1 978-486-9304
Non-work: meissner@spectacle-pond.org	fax:   +1 978-692-4482


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