Thread: Singleton problems

  1. #16
    Registered User
    Join Date
    Aug 2003
    Posts
    35
    Hmm...This is really wierd. I guess I will have to look harder at all the files to see if I am missing something somewhere. It fails in both g++ and vc++ 6, so it's not a compiler problem. VC++ 6 says that I don't have the header files included so the type isn't recognized, but I do have the headers. Maybe I will try taking out the singleton, but if you want to take a look at the code, I gave it above in another post. Thanks for your help guys.
    you make me rery ascared

  2. #17
    Registered User
    Join Date
    Aug 2003
    Posts
    35
    Could this be an order of inclusion problem?

    It would be greatly appreciated if someone could take a hard look at the code here: http://max.muffinpeddler.com/arch/an...200511.tar.bz2 and tell me if they notice anything whacky. I have such a low morale because of this Thanks.


    EDIT: Actually, I did get it to compile, but I had to add forward references and make the places of problems into pointers...hmm...I am going to make a new post with new questions, thanks.
    Last edited by techrolla; 01-02-2005 at 09:37 PM.
    you make me rery ascared

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Singleton template problem
    By cloudy in forum C++ Programming
    Replies: 14
    Last Post: 01-11-2009, 05:40 AM
  2. Singleton Problems..
    By JJFMJR in forum C++ Programming
    Replies: 8
    Last Post: 04-11-2007, 05:08 PM
  3. How To Derive from a singleton
    By appleGuy in forum C++ Programming
    Replies: 8
    Last Post: 03-24-2007, 01:55 PM
  4. Thread-safe singleton.
    By Hulag in forum C++ Programming
    Replies: 3
    Last Post: 06-14-2006, 10:45 AM
  5. Possible circular definition with singleton objects
    By techrolla in forum C++ Programming
    Replies: 3
    Last Post: 12-26-2004, 10:46 AM