Bug 330737

Summary: libebml headers #define min
Product: [openSUSE] openSUSE 11.0 Reporter: Richard Biener <rguenther>
Component: DevelopmentAssignee: Forgotten User ZhJd0F0L3x <forgotten_ZhJd0F0L3x>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: Alpha 2   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Development Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Richard Biener 2007-10-04 13:38:57 UTC
namely /usr/include/ebml/c/libebml_t.h which is included from EbmlTypes.h.
This is very bad for C++ as it breaks libstdc++v3 headers.

Just remove this crappy define from user-visible headers.

This at least breaks libmatroska build in beta with funny error messages such
as

/usr/include/c++/4.3.0/bits/stl_algo.h: In function 'void std::__merge_sort_loop(_RandomAccessIterator1, _RandomAccessIterator1, _RandomAccessIterator2, _Distance)':
/usr/include/c++/4.3.0/bits/stl_algo.h:3007: error: expected unqualified-id before '(' token
/usr/include/c++/4.3.0/bits/stl_algo.h: In function 'void std::__merge_sort_loop(_RandomAccessIterator1, _RandomAccessIterator1, _RandomAccessIterator2, _Distance, _Compare)':
/usr/include/c++/4.3.0/bits/stl_algo.h:3031: error: expected unqualified-id before '(' token
Comment 1 Richard Biener 2007-10-24 20:18:45 UTC
*** Bug 336510 has been marked as a duplicate of this bug. ***
Comment 2 Forgotten User ZhJd0F0L3x 2007-10-24 20:46:09 UTC
Fixed package submitted.