------- Comment #8 from howarth at nitro dot med dot uc dot edu  2006-10-01 
16:38 -------
FX,
    I found a thread that discusses a simple fix...

http://curl.haxx.se/mail/lib-2004-10/0089.html

All we have to change is...

Index: io/list_read.c
===================================================================
--- io/list_read.c      (revision 117347)
+++ io/list_read.c      (working copy)
@@ -1457,7 +1457,7 @@ check_type (st_parameter_dt *dtp, bt typ
    greater than one, we copy the data item multiple times.  */

 static void
-list_formatted_read_scalar (st_parameter_dt *dtp, bt type, void *p, int kind,
+list_formatted_read_scalar (st_parameter_dt *dtp, volatile bt type, void *p,
int kind,
                            size_t size)
 {
   char c;

...to keep type out of a register and the warning goes away! Can you test that
change 
on your system?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22423

Reply via email to