Boost logo

Boost Users :

From: Edward Diener (yg-boost-users_at_[hidden])
Date: 2002-07-10 20:14:01


Try this in a batch file:

@echo off
set bcroot="h:\program files\borland\cbuilder4"
set path=%SYSTEMROOT%\SYSTEM32;%SYSTEMROOT%;h:\program
files\borland\cbuilder4\bin
h:
cd "\Utilities\Boost Libraries\boost_1_28_0\libs\regex\build"
make -fbcb4.mak > out.txt
notepad out.txt

Substitute the path to BCB4 in Line 2
Susbstitute the path to Boost in line 5 ( with the appropriate drive letter
in line 4 )
Substitute your favorite editor in the last line

"Atul Bhouraskar" <atul.bhouraskar_at_[hidden]> wrote in message
news:5.1.0.14.0.20020710174521.00a05250_at_172.16.0.20...
> Hi,
>
> I just downloaded the Regex Library. I followed the install instructions
> for Borland C++ 4.0 and tried to make with
>
> (path to BC++ bin dir)/MAKE -fBCB4.mak INSTALL
>
> I got the following errors:
>
> ../src/c_regex_traits.cpp:
> Error C:\PROGRA~1\BORLAND\CBUILD~1\BIN\..\include\list.h 3: Incorrect
> pragma directive option: push
> Error C:\PROGRA~1\BORLAND\CBUILD~1\BIN\..\include\list.h 3: Incorrect
> pragma directive option: -Vx-
> Error C:\PROGRA~1\BORLAND\CBUILD~1\BIN\..\include\algorith.h 3: Incorrect
> pragma directive option: push
> Error C:\PROGRA~1\BORLAND\CBUILD~1\BIN\..\include\algorith.h 3: Incorrect
> pragma directive option: -Vx-
> Error C:\PROGRA~1\BORLAND\CBUILD~1\BIN\..\include\iterator.h 3: Incorrect
> pragma directive option: push
> Error C:\PROGRA~1\BORLAND\CBUILD~1\BIN\..\include\iterator.h 3: Incorrect
> pragma directive option: -Vx-
> Error C:\PROGRA~1\BORLAND\CBUILD~1\BIN\..\include\rw/stddefs.h 3:
Incorrect
> pragma directive option: push
> Error C:\PROGRA~1\BORLAND\CBUILD~1\BIN\..\include\rw/stddefs.h 3:
Incorrect
> pragma directive option: -Vx-
> Error C:\PROGRA~1\BORLAND\CBUILD~1\BIN\..\include\rw/stdwind.h 3:
Incorrect
> pragma directive option: push
> Error C:\PROGRA~1\BORLAND\CBUILD~1\BIN\..\include\rw/stdwind.h 3:
Incorrect
> pragma directive option: -Vx-
> Error C:\PROGRA~1\BORLAND\CBUILD~1\BIN\..\include\rw/stdwind.h 212:
> Incorrect pragma directive option: pop
> Error C:\PROGRA~1\BORLAND\CBUILD~1\BIN\..\include\rw/stddefs.h 191:
> Incorrect pragma directive option: pop
> Error C:\PROGRA~1\BORLAND\CBUILD~1\BIN\..\include\iterator.h 120: Type
name
> expected
> Error C:\PROGRA~1\BORLAND\CBUILD~1\BIN\..\include\iterator.h 120: ,
expected
> Error C:\PROGRA~1\BORLAND\CBUILD~1\BIN\..\include\iterator.h 141: Multiple
> declaration for 'std::iterator_traits<Iterator>'
> Error C:\PROGRA~1\BORLAND\CBUILD~1\BIN\..\include\iterator.h 148:
> Declaration terminated incorrectly
> Error C:\PROGRA~1\BORLAND\CBUILD~1\BIN\..\include\iterator.h 149: Multiple
> declaration for 'std::iterator_traits<Iterator>'
> Error C:\PROGRA~1\BORLAND\CBUILD~1\BIN\..\include\iterator.h 156:
> Declaration terminated incorrectly
> Error C:\PROGRA~1\BORLAND\CBUILD~1\BIN\..\include\iterator.h 191:
Templates
> must be classes or functions
> Error C:\PROGRA~1\BORLAND\CBUILD~1\BIN\..\include\iterator.h 373: Type
name
> expected in template std::reverse_iterator<Iterator>
> Error C:\PROGRA~1\BORLAND\CBUILD~1\BIN\..\include\iterator.h 373: {
> expected in template std::reverse_iterator<Iterator>
> Error C:\PROGRA~1\BORLAND\CBUILD~1\BIN\..\include\iterator.h 377: {
> expected in template std::reverse_iterator<Iterator>
> Error C:\PROGRA~1\BORLAND\CBUILD~1\BIN\..\include\iterator.h 424:
> Declaration terminated incorrectly in template
std::reverse_iterator<Iterator>
> Error C:\PROGRA~1\BORLAND\CBUILD~1\BIN\..\include\iterator.h 608: Type
name
> expected in template std::back_insert_iterator<Container>
> Error C:\PROGRA~1\BORLAND\CBUILD~1\BIN\..\include\iterator.h 608: {
> expected in template std::back_insert_iterator<Container>
> Error C:\PROGRA~1\BORLAND\CBUILD~1\BIN\..\include\iterator.h 608: Too many
> error or warning messages in template std::back_insert_iterator<Container>
> *** 26 errors in Compile ***
>
> ** error 1 ** deleting bcb4\boost_regex_bcb4_sss\c_regex_traits.obj
>
>
> What's wrong??
> Could someone help me out?
>
> Thanks,
>
> Atul
>
>


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