Bug 147728 - neon headers define "min"
Summary: neon headers define "min"
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: neon
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Joe Orton
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-02-10 20:11 UTC by Caolan McNamara
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version: 0.24.7-5
Clone Of:
Environment:
Last Closed: 2005-02-11 09:08:49 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
patch to move min macro outside public headers (890 bytes, patch)
2005-02-10 20:12 UTC, Caolan McNamara
no flags Details | Diff

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...


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