Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 40144 - desktopconv will not compile w/o optimization
desktopconv will not compile w/o optimization
Product: Red Hat Raw Hide
Classification: Retired
Component: kdebase (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Bernhard Rosenkraenzer
Aaron Brown
Depends On:
  Show dependency treegraph
Reported: 2001-05-10 16:09 EDT by j. alan eldridge
Modified: 2007-04-18 12:33 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-05-12 03:39:42 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
include locale.h unconditionally (340 bytes, patch)
2001-05-12 03:39 EDT, j. alan eldridge
no flags Details | Diff

  None (edit)
Description j. alan eldridge 2001-05-10 16:09:11 EDT
Description of Problem:

desktopconv references setlocale() and the macro LC_ALL, which require 
inclusion of <locale.h>. When -O2 is given, __OPTIMIZE__ is defined, and 
then <libintl.h> includes <locale.h>. No __OPTIMIZE__, no <locale.h>.

How Reproducible:

Do a rebuild of the kdebase-2.2alpha1 rpm with "--define '%optflags -g'". 
Wait for an hour for it to get to desktopconv. Watch the build die.
Comment 1 j. alan eldridge 2001-05-12 03:39:37 EDT
Created attachment 18187 [details]
include locale.h unconditionally
Comment 2 Bernhard Rosenkraenzer 2001-05-22 13:58:17 EDT
Fixed in 2.2-0.alpha2.2

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