Menu

compiling

Help
Anonymous
2002-12-17
2003-03-27
  • Anonymous

    Anonymous - 2002-12-17

    I'm trying to compile the code on a machine running Suse 8.1
    I am getting the following compilation error:

    g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/kde3/include -I/usr/lib/qt3/include -I/usr/X11R6/include   -DQT_THREAD_SUPPORT  -D_REENTRANT  -O2 -fno-exceptions -fno-check-new  -c kprojectdoc.cpp
    In file included from kprojectdoc.cpp:32:
    kprojectview.h:57: friend declaration requires class-key, i.e. `friend struct
       KProjectDoc'
    In file included from kprojectdoc.cpp:33:
    kprojectdoc.h:57: friend declaration requires class-key, i.e. `friend class
       KProjectView'
    make[2]: *** [kprojectdoc.o] Error 1

    No matter what I do to try to get around the problem, nothing
    works.

     
    • Olaf Dreyer

      Olaf Dreyer - 2003-03-27

      Hi George,

      I'm sorry about answering so late, but since I'm a daddy I'm very busy ;-)

      But to your problem.
      I have developed the program on a SuSE 7.3 with (I believe) a gcc 2.95.3.
      I've not tested the program with the gcc 3.x.

      In this moment, I've no machine with this configuration.

      I can try to support you remotly on your machine, but you don't know me and so its perhaps a risk for you. But if you want to take a try, send me a mail.

      Greetings

      olaf

       

Log in to post a comment.