[Bug 330737] New: libebml headers #define min
https://bugzilla.novell.com/show_bug.cgi?id=330737 Summary: libebml headers #define min Product: openSUSE 11.0 Version: unspecified Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Development AssignedTo: seife@novell.com ReportedBy: rguenther@novell.com QAContact: qa@suse.de Found By: Development 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 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=330737#c1
Richard Guenther
https://bugzilla.novell.com/show_bug.cgi?id=330737#c2
Stefan Seyfried
participants (1)
-
bugzilla_noreply@novell.com