Bug 448184 - WXWIN_OS_DESCRIPTION is incorrect
Product: Fedora
Classification: Fedora
Component: wxGTK (Show other bugs)
i386 Linux
low Severity low
: ---
: ---
Assigned To: Matthew Miller
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2008-05-24 02:30 EDT by Eric Hobbs
Modified: 2008-05-24 08:01 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-05-24 08:01:29 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
test case for the wxGetOsDescription call (115 bytes, text/x-c++src)
2008-05-24 04:50 EDT, Dan Horák
no flags Details

  None (edit)
Description Eric Hobbs 2008-05-24 02:30:16 EDT
Description of problem:

wx/setup.h contains an incorrect string.

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

How reproducible:

Steps to Reproduce:
1. open /usr/lib/wx/include/gtk2-unicode-release-2.8/wx/setup.h
2. or call wxGetOsDescription()
Actual results:
Linux 2.6.18-53.1.6.el5 i686

Expected results:
Linux i686
Comment 1 Dan Horák 2008-05-24 04:46:55 EDT
WXWIN_OS_DESCRIPTION is set during the building of the library, it is set with
output of uname of the builder. It has no connection with the machine the
library is run on.
I have written a testcase for the wxGetOsDescription call and it works as
expected from the wxGTK source code - it returns the output of uname from the
running machine.
Comment 2 Dan Horák 2008-05-24 04:50:07 EDT
Created attachment 306564 [details]
test case for the wxGetOsDescription call

compile with
g++ `wx-config --cflags --libs` -o wx wx.cpp
and then run "./wx", it should output the kernel version of the running

Also you can check "which wx-config" whether you are using the Fedora's wxGTK

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