Thread: What does this error mean?

  1. #1
    Registered User
    Join Date
    Jan 2003

    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
    It looks like it means you declared but never defined operator<< for your Diamond class.

Popular pages Recent additions subscribe to a feed