Bug 1069

Summary: Bug in libXmu compile with -DDEBUG
Product: xorg Reporter: Deron Johnson <deron.johnson>
Component: Lib/XmuAssignee: Jim Gettys <jg>
Status: CLOSED FIXED QA Contact:
Severity: minor    
Priority: high    
Version: unspecified   
Hardware: SPARC   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Deron Johnson 2004-08-13 08:47:11 UTC
gcc -m32 -c -g -DDEBUG  -ansi -pedantic -Wall -Wpointer-arith
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations
-Wredundant-decls -Wnested-externs -Wundef    -I../.. -I../../exports/include  
-Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE
-D_BSD_SOURCE -D_SVID_SOURCE  -D_GNU_SOURCE   -DFUNCPROTO=15 -DNARROWPROTO
-DXTHREADS  -D_REENTRANT -DXUSE_MTSAFE_API    -DHAS_SNPRINTF   
-DXTSTRINGDEFINES -fPIC CmapAlloc.c
CmapAlloc.c: In function `icbrt_with_guess':
CmapAlloc.c:334: `icbrt_loopcount' undeclared (first use in this function)
CmapAlloc.c:334: (Each undeclared identifier is reported only once
CmapAlloc.c:334: for each function it appears in.)

The problem is that icbrt_loopcount is only defined when  _X_ROOT_STATS
is defined, which it is not in the default X11.tmpl build. But, unfortunately,
the usuage of icbrt_loopcount is not conditioned by _X_ROOT_STATS
Comment 1 Josh Triplett 2005-05-06 21:51:07 UTC
Component: libXmu
Comment 2 Jeremy Huddleston Sequoia 2011-09-24 17:01:48 UTC
d7d2ad7dde7b2653aa1e08e9339674bc40f1560a

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.