Bug 53537 - Devel file <X11/Xutil.h> and <X11/Xlib.h> lack a required prototype for
Devel file <X11/Xutil.h> and <X11/Xlib.h> lack a required prototype for
Status: CLOSED NOTABUG
Product: Red Hat Linux
Classification: Retired
Component: XFree86 (Show other bugs)
7.1
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Mike A. Harris
David Lawrence
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2001-09-10 22:30 EDT by D. Stimits
Modified: 2007-04-18 12:37 EDT (History)
1 user (show)

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


Attachments (Terms of Use)

  None (edit)
Description D. Stimits 2001-09-10 22:30:16 EDT
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-10 22:42:35 EDT
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.