* guile-2.0.0 enum syntax fix
@ 2011-03-01 1:27 David Fang
2011-03-02 23:14 ` Ludovic Courtès
0 siblings, 1 reply; 2+ messages in thread
From: David Fang @ 2011-03-01 1:27 UTC (permalink / raw)
To: bug-guile
Hi guilers,
In "libguile/array-handle.h", line 84 (or near), there's a stray
comma after the last enum value definition, SCM_ARRAY_ELEMENT_TYPE_LAST,
that triggers errors in some ANSI-strict C and C++ compilers. (e.g. gcc
-ansi -pedantic-errors).
Could the trailing comma be removed? I've patched it out locally
and tested it, and it is safe. Let me know if you need the (trivial)
patch.
Thanks!
Fang
David Fang
http://www.csl.cornell.edu/~fang/
http://www.achronix.com/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: guile-2.0.0 enum syntax fix
2011-03-01 1:27 guile-2.0.0 enum syntax fix David Fang
@ 2011-03-02 23:14 ` Ludovic Courtès
0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2011-03-02 23:14 UTC (permalink / raw)
To: bug-guile
Hi David,
David Fang <fang@csl.cornell.edu> writes:
> In "libguile/array-handle.h", line 84 (or near), there's a
> stray comma after the last enum value definition,
> SCM_ARRAY_ELEMENT_TYPE_LAST, that triggers errors in some ANSI-strict
> C and C++ compilers. (e.g. gcc -ansi -pedantic-errors).
> Could the trailing comma be removed? I've patched it out
> locally and tested it, and it is safe. Let me know if you need the
> (trivial) patch.
Done, thanks!
Ludo’.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-03-02 23:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-01 1:27 guile-2.0.0 enum syntax fix David Fang
2011-03-02 23:14 ` Ludovic Courtès
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).