Bug 53537 - Devel file <X11/Xutil.h> and <X11/Xlib.h> lack a required prototype for
Summary: Devel file <X11/Xutil.h> and <X11/Xlib.h> lack a required prototype for
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: XFree86   
(Show other bugs)
Version: 7.1
Hardware: i386 Linux
medium
medium
Target Milestone: ---
Assignee: Mike A. Harris
QA Contact: David Lawrence
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-09-11 02:30 UTC by D. Stimits
Modified: 2007-04-18 16:37 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2001-09-11 02:30:20 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

Description D. Stimits 2001-09-11 02:30:16 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.77 [en] (X11; U; Linux 2.4.6-pre1-xfs-4 i686)

Description of problem:
Either Xutil.h or Xlib.h must have the prototype of "parsestring" defined.
This is used in
XParseGeometry as argument 1.  Apparently the proper value is "_Xconst
char*", but it is
incorrect for user programs to have to use this format. The rpm providing
this is:
XFree86-devel-4.0.3-5

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


How reproducible:
Always

Steps to Reproduce:
1. #include <X11/Xlib.h>
2. #include <X11/Xutil.h>
3. Declare a variable of type "parsestring".
4. Try to compile a C or C++ program based on this, probably passing the
parsestring
to XParseGeometry().
	

Actual Results:  parsestring is undefined.

Expected Results:  parsestring is defined.

Additional info:

Devel package:
XFree86-devel-4.0.3-5

Comment 1 D. Stimits 2001-09-11 02:42:35 UTC
My literature contained a typographic error, and simply did not list the type of
argument "parsestring"...the bug report can be ignored.


Note You need to log in before you can comment on or make changes to this bug.