Bug 147728

Summary: neon headers define "min"
Product: [Fedora] Fedora Reporter: Caolan McNamara <caolanm>
Component: neonAssignee: Joe Orton <jorton>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 0.24.7-5 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-02-11 09:08:49 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
patch to move min macro outside public headers none

Description Caolan McNamara 2005-02-10 20:11:45 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041220

Description of problem:
The neon headers define "min", so doing stuff with them through c++ and the STL causes chaos as they use std::min which gets mangled by the preprocessor (i.e. in openoffice.org > 1.9.77)

Patch to-be attached to fix the problem

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

How reproducible:
Always

Steps to Reproduce:
1. compile something with neon headers that wants to use std::min
  

Actual Results:  mangled std::min

Expected Results:  unmacroed std::min

Additional info:

Comment 1 Caolan McNamara 2005-02-10 20:12:30 UTC
Created attachment 110935 [details]
patch to move min macro outside public headers

Comment 2 Joe Orton 2005-02-10 21:26:54 UTC
Thanks (that exactly matches what went in for 0.25 already ;).

Trying to rebuild is triggering an openssl abort in the test suite, may take a
short while to resolve...