Ok so C::B started compiling on FreeBSD, but I have some problems with autorevision which prevents me from compiling C::B.
See here (http://forums.codeblocks.org/index.php?topic=4429.msg35040#msg35040).
In file included from configmanager-revision.cpp:13:
autorevision.h:14: error: `encoding' was not declared in this scope
autorevision.h:14: error: expected primary-expression before '>' token
autorevision.h:14: error: expected primary-expression before ';' token
autorevision.h:14: error: expected `:' before ';' token
autorevision.h:14: error: expected primary-expression before ';' token
autorevision.h:15: error: expected `)' before "utf"
configmanager-revision.cpp: In static member function `static wxString ConfigManager::GetRevisionString()':
configmanager-revision.cpp:17: error: expected primary-expression before '(' token
configmanager-revision.cpp:17: error: expected `)' before "utf"
Here is autorevision.h
/*encoding="utf-8"?>*/
#ifndef AUTOREVISION_H
#define AUTOREVISION_H
#include <wx/string.h>
#define SVN_REVISION "encoding="utf-8"?>"
#define SVN_DATE "<entry"
namespace autorevision
{
const unsigned int svn_revision = encoding="utf-8"?>;
const wxString svnRevision(_T("encoding="utf-8"?>"));
}
#endif
Anyone have this problem? Afb?
Ok I don't know how to do that though. LOL
I just hacked it out in the generated Makefile, and then edited src/sdk/autorevision.h by hand.
all-local: auto_revision
#./auto_revision +int +wx +t $(top_srcdir) $(srcdir)/../../sdk/autorevision.h
The Fedora Extras package does the same thing. We really need to fix autorevision soon.