Red Hat Bugzilla – Bug 147728
neon headers define "min"
Last modified: 2007-11-30 17:11:00 EST
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):
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
Created attachment 110935 [details]
patch to move min macro outside public headers
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...