gomd-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gomd-devel] libgomd.h question


From: Johnny Cache
Subject: Re: [gomd-devel] libgomd.h question
Date: Fri, 16 Apr 2004 09:46:10 -0500 (CDT)

Okay, so i got a little farther with the gomdview on OSX compilation.
Heres what i get now:

c++ -I. -I.. -I../../lib  -I/Developer/qt/include -I/usr/include/qt3
-I/usr/include/qt -I/usr/X11R6/include -I/usr/include/cc++2
-I/usr/local/include/cc++2 -O2 -O0 -g3 -Wall -fno-check-new  -c
gomdview.cpp
In file included from /usr/local/include/cc++2/cc++/exception.h:54,
                 from /usr/local/include/cc++2/cc++/socket.h:58,
                 from ../../lib/libgomd.h:11,
                 from gomdview.h:74,
                 from gomdview.cpp:21:
/usr/local/include/cc++2/cc++/string.h:84: warning: declaration does not
   declare anything
/usr/local/include/cc++2/cc++/string.h:84: error: storage class specified
for
   typename

Well thats rather odd, heres teh offending line in string.h

class __EXPORT String
{
protected:
    static const unsigned minsize;
    static const unsigned slotsize;
    static const unsigned pagesize;
    static const unsigned slotlimit;
    static const unsigned slots; <== Error, line 84

A quick grep through the gomd source shows:
gomdview.h:  public slots:
gomdview.h~:  public slots:
gomdviewview.h:protected slots:
gomdviewview.h~:  protected slots:

Hmm, i dont even know what that is doing (please enlighten me!)
but even if comment them out (make it public: NOT "public slots:")
i get the same error. Something gotta be the problem though because i can
do this:


cat ./test.c
#include "/usr/local/include/cc++2/cc++/string.h"
#include <stdio.h>
int main()
{
                printf("Hello world!n\n");
}
g++ -I /usr/local/include/cc++2/ ./test.c
./a.out
Hello world!n

So, something is confusing it. Im hoping you guys have a better guess than
me.
See Ya
-jc







reply via email to

[Prev in Thread] Current Thread [Next in Thread]