[Top][All Lists]
[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 10:44:14 -0500 (CDT) |
Hey Matt good news.
I fixed it in 3dmosmon. I think your right about the string thing.
Im not sure exactly how i fixed it (Im trying to get good with this ide,
theres a bit of a learning curve). Anyway im merrilly hacking away again.
Best Regards
-jc
On Fri, 16 Apr 2004, Matthias Rechenburg wrote:
> Hey Johnny,
>
> On Freitag 16 April 2004 14:46, Johnny Cache wrote:
> > 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:
>
> public slots are the callback functions from QT
> which were connected to e.g a button, timer, ... any user-interaction.
>
> >
> > 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 think we cannot simple change this because it is a QT internal
> and required mechansim.
> I am curious why i do not get this compile errors on my system.
>
> .............. but wait ? why it is using the "string" from the
> common-cpp ? it should use the basic STL string (to my mind).
>
> on my system(s) :
> address@hidden root]# ls /usr/include/string.h
> /usr/include/string.h
> address@hidden root]# rpm -qf /usr/include/string.h
> glibc-devel-2.2.93-5
> address@hidden root]#
>
> just a guess, maybe you are missing the correct string.h ?
> ... "my" one does not conflict with the qt-slots ;)
>
> have fun,
>
> Matt
>
> > 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
> >
> >
> >
> >
> >
> > _______________________________________________
> > gomd-devel mailing list
> > address@hidden
> > http://mail.nongnu.org/mailman/listinfo/gomd-devel
>
> --
> E-mail : address@hidden
> www : http://www.openmosixview.com
> an openMosix-cluster management GUI
>
> ping -c 1 -p 2b2b2b415448300d0a $1
>
- [gomd-devel] Re: Re:<HOWTO> "Adding Support Class to the GOMD daemon" (v1.1), Ian Latter, 2004/04/15
- [gomd-devel] linux build / cvs questin, Johnny Cache, 2004/04/25
- Re: [gomd-devel] linux build / cvs questin, Gian Paolo Ghilardi, 2004/04/25
- Re: [gomd-devel] linux build / cvs questin, Matthias Rechenburg, 2004/04/26
- Re: [gomd-devel] linux build / cvs questin, Johnny Cache, 2004/04/27
[gomd-devel] Re: Re:<HOWTO> "Adding Support Class to the GOMD daemon" (v1.1), Matthias Rechenburg, 2004/04/16