What does this error mean?

This is a discussion on What does this error mean? within the C++ Programming forums, part of the General Programming Boards category; What does this error mean? Undefined first referenced symbol in file operator<<(std::basic_ostream<char, std::char_traits<char> >&, Diamond&)/var/tmp//cchTCFWx.o ld: fatal: Symbol referencing errors. ...

  1. #1
    Registered User
    Join Date
    Jan 2003
    Posts
    45

    What does this error mean?

    What does this error mean?


    Undefined first referenced
    symbol in file
    operator<<(std::basic_ostream<char, std::char_traits<char> >&, Diamond&)/var/tmp//cchTCFWx.o
    ld: fatal: Symbol referencing errors. No output written to a.out
    collect2: ld returned 1 exit status

  2. #2
    Registered User jlou's Avatar
    Join Date
    Jul 2003
    Posts
    1,088
    It looks like it means you declared but never defined operator<< for your Diamond class.

Popular pages Recent additions subscribe to a feed

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21