Boost logo

Boost Users :

Subject: [Boost-users] Fwd: building Regex for Builder C++ 6.0
From: Aleksandr Razov (aleksandr.razov_at_[hidden])
Date: 2010-12-06 03:20:15


Hello,

I have a problem with building Regex for Builder C++ 6.0
When I execute make -fbcb6.mak I get following errors

MAKE Version 5.2 Copyright (c) 1987, 2000 Borland

        bcc32 @MAKE0000.@@@

Borland C++ 5.6 for Win32 Copyright (c) 1993, 2002 Borland

../src/c_regex_traits.cpp:

        bcc32 @MAKE0001.@@@

Borland C++ 5.6 for Win32 Copyright (c) 1993, 2002 Borland

../src/cpp_regex_traits.cpp:

        bcc32 @MAKE0002.@@@

Borland C++ 5.6 for Win32 Copyright (c) 1993, 2002 Borland

../src/cregex.cpp:

Error E2316 ../../../boost/functional/hash/hash.hpp 64: 'long_long_type' is
> not

a member of 'boost'

Error E2356 ../../../boost/functional/hash/hash.hpp 64: Type mismatch in
> redecla

ration of 'boost::hash_value(bool)'

Error E2344 ../../../boost/functional/hash/hash.hpp 48: Earlier declaration
> of '

boost::hash_value(bool)'

Error E2063 ../../../boost/functional/hash/hash.hpp 64: Illegal
> initialization

Error E2293 ../../../boost/functional/hash/hash.hpp 64: ) expected

Error E2316 ../../../boost/functional/hash/hash.hpp 65: 'ulong_long_type' is
> not

 a member of 'boost'

Error E2238 ../../../boost/functional/hash/hash.hpp 65: Multiple declaration
> for

 'boost::hash_value(bool)'

Error E2344 ../../../boost/functional/hash/hash.hpp 64: Earlier declaration
> of '

boost::hash_value(bool)'

Error E2063 ../../../boost/functional/hash/hash.hpp 65: Illegal
> initialization

Error E2293 ../../../boost/functional/hash/hash.hpp 65: ) expected

Error E2171 ../../../boost/functional/hash/hash.hpp 137: Body has already
> been d

efined for function 'boost::hash_value(bool)'

Error E2451 ../../../boost/functional/hash/hash.hpp 138: Undefined symbol
> 'v' in

 function boost::hash_value(bool)

Error E2316 ../../../boost/functional/hash/hash.hpp 194: 'long_long_type' is
> not

 a member of 'boost'

Error E2092 ../../../boost/functional/hash/hash.hpp 194: Storage class
> 'inline'

is not allowed here

Error E2445 ../../../boost/functional/hash/hash.hpp 194: Variable
> 'hash_value' i

s initialized more than once

Error E2063 ../../../boost/functional/hash/hash.hpp 194: Illegal
> initialization

Error E2293 ../../../boost/functional/hash/hash.hpp 194: ) expected

Error E2316 ../../../boost/functional/hash/hash.hpp 434: 'long_long_type' is
> not

 a member of 'boost'

Error E2299 ../../../boost/functional/hash/hash.hpp 434: Cannot generate
> templat

e specialization from 'hash<T>'

Error E2428 ../../../boost/functional/hash/hash.hpp 434: Templates must be
> class

es or functions

Error E2316 ../../../boost/functional/hash/hash.hpp 435: 'ulong_long_type'
> is no

t a member of 'boost'

Error E2299 ../../../boost/functional/hash/hash.hpp 435: Cannot generate
> templat

e specialization from 'hash<T>'

Error E2428 ../../../boost/functional/hash/hash.hpp 435: Templates must be
> class

es or functions

*** 23 errors in Compile ***

> ** error 1 ** deleting bcb\libboost_regex-bcb-s-1_45\cregex.obj

Please. Could anybody help me to resolve the problem.
Thank you in advance.

Aleksandr



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net