This is the mail archive of the
guile@sourceware.cygnus.com
mailing list for the Guile project.
Re: Guile docstrings---should Guile code be ANSI C compatible?
- To: Mikael Djurfeldt <mdj at mdj dot nada dot kth dot se>
- Subject: Re: Guile docstrings---should Guile code be ANSI C compatible?
- From: "Greg J. Badros" <gjb at cs dot washington dot edu>
- Date: 14 Jan 2000 16:30:57 -0800
- Cc: Mikael Djurfeldt <djurfeldt at nada dot kth dot se>, Maciej Stachowiak <mstachow at alum dot mit dot edu>, guile at sourceware dot cygnus dot com
- References: <E129GC4-0004oo-00@mdj.nada.kth.se> <xy7u2kgrzw2.fsf@mdj.nada.kth.se>
Mikael Djurfeldt <mdj@mdj.nada.kth.se> writes:
> Mikael Djurfeldt <mdj@mdj.nada.kth.se> writes:
>
> > I guess the main point speaking for 1 is that since gcc *allows* a
> > newline in strings, people will easily forget the \n\ so that Guile
> > code breaks on other compilers.
>
> On the other hand, this could easily be checked by a script...
Or by using -pedantic. However, if you run w/ -pedantic, you'll see
that guile sources aren't ANSI C even ignoring my docstrings. :-)
Greg