[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference turris::c_plus_plus

Title:C++
Notice:Read 1.* and use keywords (e.g. SHOW KEY/FULL KIT_CXX_VAX_VMS)
Moderator:DECCXX::AMARTIN
Created:Fri Nov 06 1987
Last Modified:Thu Jun 05 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:3604
Total number of notes:18242

3590.0. "Can not configure Tools.h++ on CXX V5.6" by TAEC::GERVAIS () Tue May 27 1997 14:24

	Hello,

	I'm trying to configure Rogue Wave Tools.h++ on a workstation
	with CXX V5.6 T06 (D-UNIX V4)

	The configuration script delivered with Tools.h++ could not
	compile the Standard C++ header files.

	To check for Standard C++ Library Support the Rogue Wave configuration
	script tries to compile the following code:

	#include <algorithm>
	#include <functional>
	#include <utility>
	#include <iterator>
	#include <set>
	#include <list>
	#include <vector>

	int main()
	{
  	list<int,allocator> aList;

  	return 0;
	}

	The compiler displays the following error message:

	lucky.vbe.dec.com> cxx stl_test.cxx
	cxx: Error: stl_test.cxx, line 12: In this declaration, "allocator" does
not name a type.
  	list<int,allocator> aList;
	-----------^
	

	According to you, is the problem comes from the Tools.h++ configuration
	script ?


	Regards,


		Christophe
T.RTitleUserPersonal
Name
DateLines
3590.1that looks like a bug in RW's config scriptDECC::J_WARDTue May 27 1997 17:4411
I think they meant:

list<int,allocator<int> > aList;

since allocator is templatized. Or perhaps
they distribute an older (incorrect) version of the
allocator class that with Tools.h++
that is not templatized?

I'd ask them about it...