Bug 162871 - touble on compiling monotone 0.20
touble on compiling monotone 0.20
Status: CLOSED CURRENTRELEASE
Product: Fedora
Classification: Fedora
Component: boost (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: Benjamin Kosnik
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2005-07-10 17:05 EDT by Jochen Schmitt
Modified: 2013-08-09 01:47 EDT (History)
1 user (show)

See Also:
Fixed In Version: boost-1.33.1-1
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2006-11-14 10:53:36 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Patch which contains a workaround for the anon enum problem. (2.18 KB, patch)
2005-07-10 17:05 EDT, Jochen Schmitt
no flags Details | Diff

  None (edit)
Description Jochen Schmitt 2005-07-10 17:05:27 EDT
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 17:05:27 EDT
Created attachment 116577 [details]
Patch which contains a workaround for the anon enum problem.
Comment 2 Benjamin Kosnik 2005-09-06 15:19:46 EDT
Can you try the boost-1.33.0 packages with gcc-4.0.x? I believe this will be a
better fit.

-benjamin

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