bug-guile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

srfi-4.c: arithmetic on void pointers


From: Mike Gran
Subject: srfi-4.c: arithmetic on void pointers
Date: Sun, 5 Mar 2006 17:26:05 -0800 (PST)

Hi,

In srfi-4.c, pointer arithmetic on void pointers is done.  This is a
GNU C extension, and I think it is not C99. For non-GCC C, you might
consider a cast to (char *) or something.

The flag -Wpointer-arith catches this in GCC.

Attached is the diff to 1.8.0

Thanks, 

Mike Gran

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Attachment: srfi-4.c.patch
Description: 3143918226-srfi-4.c.patch


reply via email to

[Prev in Thread] Current Thread [Next in Thread]