This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

--disable-libstdcxx-v3 has inverse meaning on hppa2.0w-hp-hpux11.00


Hi!

Maybe I am stupid, but configuring without saying anything about
which libstdcxx-version I wish to use, I get configure messages
that tell me version 3 will be taken.

But this is wrong: the std headers will not be installed.
Please take a look at your configure script again.

Using  --disable-libstdcxx-v3 now gives me
version 3 installed (?!), but that one is crazy
- or is this another new feature of g++?

#include<iostream>

int main() {
  std::cout << "Why does hp not support g++?" << endl;
}

$ g++ HelloWorld.C
HelloWorld.C: In function `int main()':
HelloWorld.C:4: `cout' undeclared in namespace `std'


Every hint on what might have gone wrong appreciated.


Markus


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]