A
Abhishek
Hi,
I am trying to use the STL for C++ on Compaq. From what I read in
the man pages and several online documentation, it is recommended that
in order to use the STL on COMPAQ , I need to use the following flag -
__USE_STD_IOSTREAM. The compilation goes through fine, but at the
linking time, I get the following errors -
Unresolved:
std::basic_istream<char, std::char_traits<char> >::getline(char*,
long, char)
std::basic_istream<char, std::char_traits<char> >:eek(void)
std:perator >>(std::basic_istream<char, std::char_traits<char> >&,
char*)
std::ws(std::basic_istream<char, std::char_traits<char> >&)
std::basic_ostringstream<char, std::char_traits<char>,
std::allocator<char> >::b
asic_ostringstream(int)
std::basic_ostream<char, std::char_traits<char> >:perator
<<(std::ios_base& (*
)(std::ios_base&))
std::basic_istream<char, std::char_traits<char> >::get(char*, long,
char)
)(std::ios_base&))
*** Exit 1
Any idea why this is happening.
I am using the cxx compiler version
Compaq C++ V6.3-002 for Compaq Tru64 UNIX V5.1 (Rev. 732)
Compiler Driver V6.3-002 (cxx) cxx Driver
I have also tried to explicitly link with the libcxxstd.a file, but
that also does not seem to resolve this issue. Any guesses what is
happening here, and what options do I have. Am I missing a patch of
somekind, in order to have the STL support?
Any help would be very much appreciated.
Thanks and Regards,
Abhi
I am trying to use the STL for C++ on Compaq. From what I read in
the man pages and several online documentation, it is recommended that
in order to use the STL on COMPAQ , I need to use the following flag -
__USE_STD_IOSTREAM. The compilation goes through fine, but at the
linking time, I get the following errors -
Unresolved:
std::basic_istream<char, std::char_traits<char> >::getline(char*,
long, char)
int, long)std::basic_ifstream said:::basic_ifstream(const char*,
std::basic_istream<char, std::char_traits<char> >:utback(char)std::basic_ifstream said:::~basic_ifstream(void)
std::basic_istream<char, std::char_traits<char> >:eek(void)
std:perator >>(std::basic_istream<char, std::char_traits<char> >&,
char*)
std::ws(std::basic_istream<char, std::char_traits<char> >&)
std::basic_ostringstream<char, std::char_traits<char>,
std::allocator<char> >::b
asic_ostringstream(int)
std::basic_ostream<char, std::char_traits<char> >:perator
<<(std::ios_base& (*
)(std::ios_base&))
std::basic_istream<char, std::char_traits<char> >::get(char*, long,
char)
)(std::ios_base&))
*** Exit 1
Any idea why this is happening.
I am using the cxx compiler version
Compaq C++ V6.3-002 for Compaq Tru64 UNIX V5.1 (Rev. 732)
Compiler Driver V6.3-002 (cxx) cxx Driver
I have also tried to explicitly link with the libcxxstd.a file, but
that also does not seem to resolve this issue. Any guesses what is
happening here, and what options do I have. Am I missing a patch of
somekind, in order to have the STL support?
Any help would be very much appreciated.
Thanks and Regards,
Abhi