[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 09:08:33 -0500 (CDT) |
Hey guys slight revision. I didnt mean to say taht gomdview had
successfully compiledbefore. I meant to tsay teh qt example successfully
compiles.
Best Regards
-jc
On Thu, 15 Apr 2004, Johnny Cache wrote:
> Hi guys, ive been working on getting 3dmosmon on OSX and now that 3dmosmon
> itself compiles i was working on adding the gomd support (finally)
> anyway, i didnt get very far.
>
> Heres the offending line of code:
> #include "libgomd.h"
> And heres the error i get:
>
> In file included from /usr/local/include/cc++2/cc++/missing.h:49,
> from /usr/local/include/cc++2/cc++/socket.h:50,
> from /usr/include/libgomd.h:11,
> from
> /Users/johnnycache/projects/3dmosmon/include/DataGatherer.h:47,
> from
> /Users/johnnycache/projects/3dmosmon/include/BarManager.h:45,
> from
> /Users/johnnycache/projects/3dmosmon/src/3dmosmon.cpp:32:
>
> /usr/local/include/cc++2/cc++/strchar.h:111: error: declaration of C
> function `int ost::operator==(ost::keystring, const char*)' conflicts with
> /usr/local/include/cc++2/cc++/strchar.h:108: error: previous declaration
> `int ost::operator==(ost::keystring, ost::keystring)' here
> /usr/local/include/cc++2/cc++/strchar.h:117: error: declaration of C
> function `int ost::operator==(const char*, ost::keystring)' conflicts with
>
> The error message itself doesnt even make any sense. I mean, the functions
> it accuses of conflicting have different signatures? Very Confusing.
>
> Anyway after scratching my head a while i just #include <cc++/strchar.h>
> instead of libgomd.h to see if i get any errors and it compiles fine.
>
> So, apparently, there is something libgomd.h that makes my compiler get
> confused but i have no idea what to even start looking for.
>
> The only hunches i have are
> 1) XCode compiles with gcc -x c++, not g++. So i changed the c++ example
> in gomd to use gcc -x c++ and it went just fine, so that doesnt seem to be
> it.
>
> 2) Well, actually thats it. i also tried commoncpp-1.1.0 and -1.1.1, same
> thing. But i ddnt really expect that to help.
>
>
> If anyone has any guesses at all please let mme know, this is driving me
> nuts.
>
> Im using gcc-3.3 on my powerbook, and it compiles the shared c++ exmaple
> just fine.
>
>
>
> Thanks
> -jc
>
>
>
>
>
>
>
>
>
>
>
> _______________________________________________
> gomd-devel mailing list
> address@hidden
> http://mail.nongnu.org/mailman/listinfo/gomd-devel
>
- [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