This is on Fedora 17, gcc 4.7.0, I had to add this patch (fix suggested
by gcc):
--- fomus-0.1.18-alpha/src/lib/mods.h~ 2011-06-24 20:20:31.000000000
-0700
+++ fomus-0.1.18-alpha/src/lib/mods.h 2012-06-27 20:35:02.000000000
-0700
@@ -214,7 +214,7 @@
class dlmodt2:public dlmodt1<T> {
public:
dlmodt2(const T& st):dlmodt1<T>(st) {}
- void* getdata(FOMUS f) const {return initerrwrap(T::newdata(f));}
+ void* getdata(FOMUS f) const {return
this->initerrwrap(T::newdata(f));}
void freedata(void* data) const {T::freedata(data);
T::initerrcheck();}
};
typedef dlmodt1<dlmodstuffinit> dlmodinit; // auxiliary modules
----
and then I'm hitting this:
----
vars.cc: In function 'bool fomus::doparsekeysig(const fomus::fomusdata*,
const module_value&, std::vector<std::pair<boost::rational<long int>,
boost::rational<long int> > >&, boost::ptr_vector<fomus::userkeysigent>&)':
vars.cc:461:13: error: redeclaration of 'fomus::rat i'
vars.cc:453:30: error: 'const module_value* i' previously declared here
----
Any suggestions?
-- Fernando
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
fomus-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fomus-user