Bug 501009

Summary: enable-debug flag breaks build
Product: Red Hat Enterprise Linux 5 Reporter: ritz <rkhadgar>
Component: xorg-x11-serverAssignee: Adam Jackson <ajax>
Status: CLOSED WONTFIX QA Contact: desktop-bugs <desktop-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.4Keywords: Triaged
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
URL: http://lists.freedesktop.org/archives/xorg/2007-March/022423.html
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-04-17 19:40:07 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description ritz 2009-05-15 13:56:02 UTC
Description of problem:
Enabling "--enable-debug" flag breaks build

Version-Release number of selected component (if applicable):
rhel5

How reproducible:
always

Steps to Reproduce:
1. Add "--enable-debug" to configure option 
  
Actual results:
xf86Debug.c:48: warning: no previous prototype for 'xf86Break1'
xf86Debug.c:52: warning: no previous prototype for 'xf86Break2'
xf86Debug.c:56: warning: no previous prototype for 'xf86Break3'
xf86Debug.c:129: warning: no previous prototype for 'xf86PeekFb8'
xf86Debug.c:130: warning: no previous prototype for 'xf86PeekFb16'
xf86Debug.c:131: warning: no previous prototype for 'xf86PeekFb32'


Expected results:
should build

Additional info:
replace BUILDDEBUG with DEBUG .

refrence : http://lists.freedesktop.org/archives/xorg/2007-March/022423.html

Comment 1 Adam Jackson 2012-04-17 19:40:07 UTC
Don't care.