Re: strange behaviour of gcc 4.0.2



Michael.Ruehling@xxxxxxxxxxx wrote:

Hi,
at least i was ready to attack some program which is to be done
since December. So i started typing some files and tried to compiler
them. And guess what, my compiler told me that he does not know
anything about cout/cin/cerr and all that stuff concerning
StreamIO. Is this correct and when yes, why? It seems part of
C++ standard lib.

Please post the code which causes the error, the compiler commandline and
the exact error message. As long you don't do that we can only guess what's
going wrong.

Two guesses:
You are using gcc ( the C-compiler) instead of g++ ( the C++-compiler) to
compile your stuff. So the stndard C++-library is not linked.

Your code is not conforming to the standard regarding namespaces.
.



Relevant Pages

  • Re: generic interface question
    ... SUBROUTINE foo2 ... This has absolutely zero to do with host association. ... Is that actually what the compiler says, ... exact error message. ...
    (comp.lang.fortran)
  • Re: method parameter
    ... makes a variable passed by reference to a function. ... The compiler ... Placing the @ ... us the exact error message, we might be able to help. ...
    (microsoft.public.fox.programmer.exchange)
  • Re: Bcc & C
    ... >> Is there any body to explain me why when I compile with bcc55 a .c file I ... impossible to fin httpc.cpp file ... > Sounds like a misconfiguration of your compiler. ... and cut-and-paste the exact error message. ...
    (comp.lang.c)
  • Re: cygwin path problem
    ... The compiler doesn't search the directories in the PATH ... gcc uses the -I option. ... the exact command you entered and the exact error message ...
    (comp.unix.admin)
  • Re: RAD vs. performance
    ... Thing if the compiler doesn't let you get away with this. ... command1 and command2 defined as before, and a lot of Common Lisp ... written compiler for a dynamic language isn't inherently slower than ... The difference is that, for static typing, you reject programs ...
    (comp.lang.misc)