unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
* apparenty SCM_I_CHAR is fixed, but:
@ 2009-08-19 13:56 Greg Troxel
  2009-08-19 15:09 ` Mike Gran
  0 siblings, 1 reply; 5+ messages in thread
From: Greg Troxel @ 2009-08-19 13:56 UTC (permalink / raw)
  To: guile-devel

[-- Attachment #1: Type: text/plain, Size: 1381 bytes --]


From my autobuild on master

cc1: warnings being treated as errors
In file included from vm-engine.c:133,
                 from vm.c:322:
vm-i-scheme.c: In function 'vm_regular_engine':
vm-i-scheme.c:437: warning: comparison is always true due to limited range of data type
vm-i-scheme.c:437: warning: comparison is always true due to limited range of data type
vm-i-scheme.c:439: warning: comparison is always true due to limited range of data type
vm-i-scheme.c:439: warning: comparison is always true due to limited range of data type
In file included from vm-engine.c:133,
                 from vm.c:330:
vm-i-scheme.c: In function 'vm_debug_engine':
vm-i-scheme.c:437: warning: comparison is always true due to limited range of data type
vm-i-scheme.c:437: warning: comparison is always true due to limited range of data type
vm-i-scheme.c:439: warning: comparison is always true due to limited range of data type
vm-i-scheme.c:439: warning: comparison is always true due to limited range of data type
gmake[3]: *** [libguile_la-vm.lo] Error 1
gmake[3]: Leaving directory `/home/gdt/BUILD-GUILE-master/guile/libguile'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/home/gdt/BUILD-GUILE-master/guile/libguile'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/home/gdt/BUILD-GUILE-master/guile'
gmake: *** [all] Error 2


[-- Attachment #2: Type: application/pgp-signature, Size: 193 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: apparenty SCM_I_CHAR is fixed, but:
  2009-08-19 13:56 apparenty SCM_I_CHAR is fixed, but: Greg Troxel
@ 2009-08-19 15:09 ` Mike Gran
  2009-08-19 15:25   ` Ludovic Courtès
  0 siblings, 1 reply; 5+ messages in thread
From: Mike Gran @ 2009-08-19 15:09 UTC (permalink / raw)
  To: Greg Troxel; +Cc: guile-devel

On Wed, 2009-08-19 at 09:56 -0400, Greg Troxel wrote:
> From my autobuild on master
> 
> vm-i-scheme.c:437: warning: comparison is always true due to limited range of data type

For gcc, -Wtype-limits will catch this at compile time.  Maybe we should
put that in the GCC_CFLAGS in the configure.in.

-Mike






^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: apparenty SCM_I_CHAR is fixed, but:
  2009-08-19 15:09 ` Mike Gran
@ 2009-08-19 15:25   ` Ludovic Courtès
  2009-08-19 15:37     ` Greg Troxel
  2009-08-19 15:39     ` Mike Gran
  0 siblings, 2 replies; 5+ messages in thread
From: Ludovic Courtès @ 2009-08-19 15:25 UTC (permalink / raw)
  To: guile-devel

Mike Gran <spk121@yahoo.com> writes:

> On Wed, 2009-08-19 at 09:56 -0400, Greg Troxel wrote:
>> From my autobuild on master
>> 
>> vm-i-scheme.c:437: warning: comparison is always true due to limited range of data type
>
> For gcc, -Wtype-limits will catch this at compile time.

IIUC this is precisely a compile-time warning.  :-)

Ludo'.





^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: apparenty SCM_I_CHAR is fixed, but:
  2009-08-19 15:25   ` Ludovic Courtès
@ 2009-08-19 15:37     ` Greg Troxel
  2009-08-19 15:39     ` Mike Gran
  1 sibling, 0 replies; 5+ messages in thread
From: Greg Troxel @ 2009-08-19 15:37 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: guile-devel

[-- Attachment #1: Type: text/plain, Size: 549 bytes --]


ludo@gnu.org (Ludovic Courtès) writes:

> Mike Gran <spk121@yahoo.com> writes:
>
>> On Wed, 2009-08-19 at 09:56 -0400, Greg Troxel wrote:
>>> From my autobuild on master
>>> 
>>> vm-i-scheme.c:437: warning: comparison is always true due to limited range of data type
>>
>> For gcc, -Wtype-limits will catch this at compile time.
>
> IIUC this is precisely a compile-time warning.  :-)

Yes, but it's apparently only happening to me, and I think Mike is
suggesting adding flags to make it happen for everyone so it's easier to
fix.

[-- Attachment #2: Type: application/pgp-signature, Size: 193 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: apparenty SCM_I_CHAR is fixed, but:
  2009-08-19 15:25   ` Ludovic Courtès
  2009-08-19 15:37     ` Greg Troxel
@ 2009-08-19 15:39     ` Mike Gran
  1 sibling, 0 replies; 5+ messages in thread
From: Mike Gran @ 2009-08-19 15:39 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: guile-devel

On Wed, 2009-08-19 at 17:25 +0200, Ludovic Courtès wrote:
> Mike Gran <spk121@yahoo.com> writes:

> > For gcc, -Wtype-limits will catch this at compile time.
> 
> IIUC this is precisely a compile-time warning.  :-)

It is a compile time warning that is default for Greg, but apparently
not for Andy or I.

-Mike





^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-08-19 15:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-19 13:56 apparenty SCM_I_CHAR is fixed, but: Greg Troxel
2009-08-19 15:09 ` Mike Gran
2009-08-19 15:25   ` Ludovic Courtès
2009-08-19 15:37     ` Greg Troxel
2009-08-19 15:39     ` Mike Gran

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).