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

bugs at busybox.net bugs at busybox.net
Mon Feb 5 22:51:22 UTC 2007


The following issue has been SUBMITTED. 
====================================================================== 
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:                     assigned
====================================================================== 
Date Submitted:             02-05-2007 14:51 PST
Last Modified:              02-05-2007 14:51 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          
======================================================================




More information about the uClibc-cvs mailing list