[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gomd-devel] libgomd.h question
From: |
Johnny Cache |
Subject: |
[gomd-devel] libgomd.h question |
Date: |
Thu, 15 Apr 2004 22:54:04 -0500 (CDT) |
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] 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