NetBSD-Bugs archive

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

re: lib/34516: size_t should be equivalent to unsigned long



The following reply was made to PR lib/34516; it has been noted by GNATS.

From: matthew green <mrg%eterna.com.au@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: lib-bug-people%netbsd.org@localhost, gnats-admin%netbsd.org@localhost,
    netbsd-bugs%netbsd.org@localhost, Christian Biere 
<christianbiere%gmx.de@localhost>
Subject: re: lib/34516: size_t should be equivalent to unsigned long 
Date: Mon, 21 Jan 2008 16:07:24 +1100

     
     Furthermore, the precise expansion of size_t is gcc's choice, because
     gcc "knows" the type signatures of various standard functions, so we
     can't or shouldn't change it in NetBSD even if there were a good
     argument in favor.
 
 
 we infact have changed the definition of size_t on at least 1
 platform, and i think a couple more as well.
 
 it means that your build has warnings next time, but it's not
 very much of a big deal to do.
 
 (we did this on sparc, so that the type was consistent between
 32 and 64 bit.)
 
 
 .mrg.
 



Home | Main Index | Thread Index | Old Index