Bug 40144

Summary: desktopconv will not compile w/o optimization
Product: [Retired] Red Hat Raw Hide Reporter: j. alan eldridge <alane>
Component: kdebaseAssignee: Bernhard Rosenkraenzer <bero>
Status: CLOSED RAWHIDE QA Contact: Aaron Brown <abrown>
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-05-12 07:39:42 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:
Attachments:
Description Flags
include locale.h unconditionally none

Description j. alan eldridge 2001-05-10 20:09:11 UTC
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 07:39:37 UTC
Created attachment 18187 [details]
include locale.h unconditionally

Comment 2 Bernhard Rosenkraenzer 2001-05-22 17:58:17 UTC
Fixed in 2.2-0.alpha2.2