Bug 162871

Summary: touble on compiling monotone 0.20
Product: [Fedora] Fedora Reporter: Jochen Schmitt <jochen>
Component: boostAssignee: Benjamin Kosnik <bkoz>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: mnewsome
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: boost-1.33.1-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-11-14 15:53:36 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 which contains a workaround for the anon enum problem. none

Description Jochen Schmitt 2005-07-10 21:05:27 UTC
When I try to compile monotone 0.20; i got the following error messages:

/usr/include/boost/regex/v4/char_regex_traits.hpp: In member function
'uint_fast32_t
boost::deprecated::char_regex_traits_i<wchar_t>::lookup_classname(const
wchar_t*, const wchar_t*) const':
/usr/include/boost/regex/v4/char_regex_traits.hpp:68: error:
'boost::re_detail::c_traits_base::<anonymous enum>' is/uses anonymous type
/usr/include/boost/regex/v4/char_regex_traits.hpp:68: error:   trying to
instantiate 'template<class T> struct boost::is_integral'
make[2]: *** [monotone-commands.o] Error 1
make[2]: Leaving directory `/home/pclinux/redhat/BUILD/monotone-0.20'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/pclinux/redhat/BUILD/monotone-0.20'
make: *** [all] Error 2


I have found out, that gcc-4.0.1 has problems with a nonymous enum, which
occured in a header file of boost-devel.

So I have create a patch, which convert the anonymous enum into static consts.

Best Ragards:

Jochen Schmitt

Comment 1 Jochen Schmitt 2005-07-10 21:05:27 UTC
Created attachment 116577 [details]
Patch which contains a workaround for the anon enum problem.

Comment 2 Benjamin Kosnik 2005-09-06 19:19:46 UTC
Can you try the boost-1.33.0 packages with gcc-4.0.x? I believe this will be a
better fit.

-benjamin