[uClibc 0001196]: inttypes.h uses #if when it should use #ifdef

bugs at busybox.net bugs at busybox.net
Tue Feb 13 17:50:10 UTC 2007


The following issue has been CLOSED 
====================================================================== 
http://busybox.net/bugs/view.php?id=1196 
====================================================================== 
Reported By:                smithj
Assigned To:                uClibc
====================================================================== 
Project:                    uClibc
Issue ID:                   1196
Category:                   Other
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             02-05-2007 14:51 PST
Last Modified:              02-13-2007 09:50 PST
====================================================================== 
Summary:                    inttypes.h uses #if when it should use #ifdef
Description: 
inttypes.h has the following line (line 30 in 0.9.28.1):
#if __UCLIBC_HAS_WCHAR__

Everywhere else in the headers, #ifdef is used instead. My busybox build
fails thusly without this change:

  CC      applets/applets.o
In file included from include/libbb.h:19,
                 from include/busybox.h:10,
                 from applets/applets.c:15:
/usr/i386-linux-uclibc/usr/include/inttypes.h:30:5: error:
"__UCLIBC_HAS_WCHAR__" is not defined
/usr/i386-linux-uclibc/usr/include/inttypes.h:314:5: error:
"__UCLIBC_HAS_WCHAR__" is not defined

====================================================================== 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
02-05-07 14:51  smithj         New Issue                                    
02-05-07 14:51  smithj         Status                   new => assigned     
02-05-07 14:51  smithj         Assigned To               => uClibc          
02-05-07 14:53  smithj         Issue Monitored: smithj                      
02-13-07 09:50  vapier         Status                   assigned => closed  
02-13-07 09:50  vapier         Resolution               open => fixed       
======================================================================




More information about the uClibc-cvs mailing list