* netbsd/amd64 build getting further...
@ 2009-08-28 23:41 Greg Troxel
2009-08-28 23:47 ` Greg Troxel
0 siblings, 1 reply; 2+ messages in thread
From: Greg Troxel @ 2009-08-28 23:41 UTC (permalink / raw)
To: guile-devel
[-- Attachment #1: Type: text/plain, Size: 904 bytes --]
/bin/ksh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DBUILDING_LIBGUILE=1 -I.. -I.. -I../lib -I../lib -I/usr/pkg/include -I/usr/y0/include -I/usr/pkg/include -I/usr/y0/include -pthread -Wall -Wmissing-prototypes -Werror -fvisibility=hidden -g -O2 -MT libguile_la-read.lo -MD -MP -MF .deps/libguile_la-read.Tpo -c -o libguile_la-read.lo `test -f 'read.c' || echo './'`read.c
gcc -DHAVE_CONFIG_H -DBUILDING_LIBGUILE=1 -I.. -I.. -I../lib -I../lib -I/usr/pkg/include -I/usr/y0/include -I/usr/pkg/include -I/usr/y0/include -pthread -Wall -Wmissing-prototypes -Werror -fvisibility=hidden -g -O2 -MT libguile_la-read.lo -MD -MP -MF .deps/libguile_la-read.Tpo -c read.c -fPIC -DPIC -o .libs/libguile_la-read.o
cc1: warnings being treated as errors
read.c: In function 'scm_scan_for_encoding':
read.c:1440: warning: array subscript has type 'char'
gmake[3]: *** [libguile_la-read.lo] Error 1
[-- Attachment #2: Type: application/pgp-signature, Size: 193 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: netbsd/amd64 build getting further...
2009-08-28 23:41 netbsd/amd64 build getting further Greg Troxel
@ 2009-08-28 23:47 ` Greg Troxel
0 siblings, 0 replies; 2+ messages in thread
From: Greg Troxel @ 2009-08-28 23:47 UTC (permalink / raw)
To: guile-devel
[-- Attachment #1: Type: text/plain, Size: 481 bytes --]
fix:
diff --git a/libguile/read.c b/libguile/read.c
index d91c868..5f9ce36 100644
--- a/libguile/read.c
+++ b/libguile/read.c
@@ -1437,7 +1437,7 @@ scm_scan_for_encoding (SCM port)
/* grab the next token */
i = 0;
while (pos + i - header <= SCM_ENCODING_SEARCH_SIZE
- && (isalnum(pos[i]) || pos[i] == '_' || pos[i] == '-' || pos[i] == '.'))
+ && (isalnum((int) pos[i]) || pos[i] == '_' || pos[i] == '-' || pos[i] == '.'))
i++;
if (i == 0)
[-- Attachment #2: Type: application/pgp-signature, Size: 193 bytes --]
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-08-28 23:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-28 23:41 netbsd/amd64 build getting further Greg Troxel
2009-08-28 23:47 ` Greg Troxel
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).