
I'm a learner of boost.But the boost make me head ache.for example, I can't use /boost/algorithm/string.The VC6 compiler gives hints: yes_no_type.hpp(22) : error C2265: '<Unknown>' : reference to a zero-sized array is illegal yes_no_type.hpp(23) : see reference to class template instantiation 'boost::algorithm::size_descriptor<I>' being compiled who can tell me how to use boost in VC6

boost's string algorithms aren't available for VC6 :-( a lot of other things are though... When in doubt about a library, I suggest you check the regression tests at the boost website, you'll see there if the library you're trying to use is available for a given compiler... Pablo Aguilar "sanduoren" <sanduoren@yahoo.com.cn> wrote in message news:d40i10$e24$1@sea.gmane.org...
I'm a learner of boost.But the boost make me head ache.for example, I can't use /boost/algorithm/string.The VC6 compiler gives hints:
yes_no_type.hpp(22) : error C2265: '<Unknown>' : reference to a zero-sized array is illegal yes_no_type.hpp(23) : see reference to class template instantiation 'boost::algorithm::size_descriptor<I>' being compiled
who can tell me how to use boost in VC6

At Monday 2005-04-18 08:03, you wrote:
I'm a learner of boost.But the boost make me head ache.for example, I can't use /boost/algorithm/string.The VC6 compiler gives hints:
yes_no_type.hpp(22) : error C2265: '<Unknown>' : reference to a zero-sized array is illegal yes_no_type.hpp(23) : see reference to class template instantiation 'boost::algorithm::size_descriptor<I>' being compiled
who can tell me how to use boost in VC6
the best possible thing you can do for your C++ career is get a modern compiler. VC++6.0 ain't. I'm sure I'm gonna take flak for being so blunt, but the compiler is way out of date (it was released just _before_ the C++ standard was approved).
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
Victor A. Wagner Jr. http://rudbek.com The five most dangerous words in the English language: "There oughta be a law"

I recently downloaded a free C++ compiler from Microsoft, as a package called the "Visual C++ Toolkit 2003" - the compiler tells me that it is a "Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 13.10.3077 for 80x86". The compiler can be downloaded from http://msdn.microsoft.com/visualc/vctoolkit2003/. Is this compiler compatible with the boost libraries in general (I have only tested it with rational.hpp (and operators.hpp), and it seems to work. -- Søren

Well that is the same compiler as VS.NET 2003, which comes under VC7.1. There are test results for different parts of the library at http://www.meta-comm.com/engineering/boost-regression/cvs-head/ developer/summary.html Jason On 25 Ebr 2005, at 12:42, Søren Lassen wrote:
I recently downloaded a free C++ compiler from Microsoft, as a package called the "Visual C++ Toolkit 2003" - the compiler tells me that it is a "Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 13.10.3077 for 80x86". The compiler can be downloaded from http://msdn.microsoft.com/visualc/vctoolkit2003/.
Is this compiler compatible with the boost libraries in general (I have only tested it with rational.hpp (and operators.hpp), and it seems to work.
-- Søren
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

On 4/25/05, Søren Lassen <s.lassen@post.tele.dk> wrote:
I recently downloaded a free C++ compiler from Microsoft, as a package called the "Visual C++ Toolkit 2003" - the compiler tells me that it is a "Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 13.10.3077 for 80x86". The compiler can be downloaded from http://msdn.microsoft.com/visualc/vctoolkit2003/.
Is this compiler compatible with the boost libraries in general (I have only tested it with rational.hpp (and operators.hpp), and it seems to work.
-- Søren
Yep, that's the one that comes with VS.NET 2003 - it works very nicely with Boost. I managed to persuade work to upgrade to that from VC6 for new projects - not only does it raise compiler errors less often, it also compiles code using Boost significantly faster, in my experience. Stuart Dootson

At Monday 2005-04-25 04:42, you wrote:
I recently downloaded a free C++ compiler from Microsoft, as a package called the "Visual C++ Toolkit 2003" - the compiler tells me that it is a "Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 13.10.3077 for 80x86".
This is NOT the VC6 compiler. It is the compiler that comes with vs.net2003 and is one of the compilers I use when running the regression tests for boost.
The compiler can be downloaded from http://msdn.microsoft.com/visualc/vctoolkit2003/.
Is this compiler compatible with the boost libraries in general (I have only tested it with rational.hpp (and operators.hpp), and it seems to work.
-- Søren
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
Victor A. Wagner Jr. http://rudbek.com The five most dangerous words in the English language: "There oughta be a law"

On Mon, 25 Apr 2005 09:03:56 -0700 "Victor A. Wagner Jr." <vawjr@rudbek.com> wrote:
At Monday 2005-04-25 04:42, you wrote:
I recently downloaded a free C++ compiler from Microsoft, as a package called the "Visual C++ Toolkit 2003" - the compiler tells me that it is a "Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 13.10.3077 for 80x86".
This is NOT the VC6 compiler. It is the compiler that comes with vs.net2003 and is one of the compilers I use when running the regression tests for boost.
Interesting. I downloaded this so I could have a MS compiler version for testing portability changes. However, I can not get it to work. I installed it according to the recommendations, set VC71_ROOT to the directory above the bin directory of the installation, but got errors that bin\vcvars32.bat was unrecognized batch file, so I copied that file from the "root" down into the "bin" directory, but still get the same errors. Funny, the compilations seem to try to execute, and it seems some work, but I get the batch file errors. Maybe the compiles work because I ran the batch file already. I also get linker errors looking for a library called msvcprtd.lib. Anyway, do you have any suggestions for how to get this config working? Thanks!

At Monday 2005-04-25 10:46, you wrote:
On Mon, 25 Apr 2005 09:03:56 -0700 "Victor A. Wagner Jr." <vawjr@rudbek.com> wrote:
At Monday 2005-04-25 04:42, you wrote:
I recently downloaded a free C++ compiler from Microsoft, as a package called the "Visual C++ Toolkit 2003" - the compiler tells me that it is a "Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 13.10.3077 for 80x86".
This is NOT the VC6 compiler. It is the compiler that comes with vs.net2003 and is one of the compilers I use when running the regression tests for boost.
Interesting. I downloaded this so I could have a MS compiler version for testing portability changes. However, I can not get it to work. I installed it according to the recommendations, set VC71_ROOT to the directory above the bin directory of the installation, but got errors that bin\vcvars32.bat was unrecognized batch file, so I copied that file from the "root" down into the "bin" directory, but still get the same errors. Funny, the compilations seem to try to execute, and it seems some work, but I get the batch file errors. Maybe the compiles work because I ran the batch file already. I also get linker errors looking for a library called msvcprtd.lib.
Anyway, do you have any suggestions for how to get this config working?
I don't, I actually have vs.net2003 which is the installation I use.
Thanks!
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
Victor A. Wagner Jr. http://rudbek.com The five most dangerous words in the English language: "There oughta be a law"

Hi, On Mon, Apr 18, 2005 at 11:03:43PM +0800, sanduoren wrote:
I'm a learner of boost.But the boost make me head ache.for example, I can't use /boost/algorithm/string.The VC6 compiler gives hints:
yes_no_type.hpp(22) : error C2265: '<Unknown>' : reference to a zero-sized array is illegal yes_no_type.hpp(23) : see reference to class template instantiation 'boost::algorithm::size_descriptor<I>' being compiled
who can tell me how to use boost in VC6
Unfortunately, Boost.StringAlgo is not supported for VC6. There are libraries in boost, that support this compiler, however, StringAlgo is not one of them. You need to upgrade you compiler to use it. I would recomend vc7.1 Regards, Pavol.

"sanduoren" <sanduoren@yahoo.com.cn> wrote in message news:d40i10$e24$1@sea.gmane.org...
I'm a learner of boost.But the boost make me head ache.for example, I can't use /boost/algorithm/string.The VC6 compiler gives hints:
yes_no_type.hpp(22) : error C2265: '<Unknown>' : reference to a zero-sized array is illegal yes_no_type.hpp(23) : see reference to class template instantiation 'boost::algorithm::size_descriptor<I>' being compiled
who can tell me how to use boost in VC6
You really need to move to a more modern C++ compiler. Microsoft recently terminated all support for VC++ 6.0. Boost developers are loosing interest in supporting it. If cost is a concern, both the gcc compiler (via cygwin) and the Microsoft compiler (command line version) are available for free. --Beman
participants (9)
-
Beman Dawes
-
Jason Earl
-
Jody Hagins
-
Pablo Aguilar
-
Pavol Droba
-
sanduoren
-
Stuart Dootson
-
Søren Lassen
-
Victor A. Wagner Jr.