Code::Blocks Forums
Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: jayatk on January 30, 2006, 02:37:41 pm
-
Ever since rev 1879, I've been unable to compile most of the projects in the Contribplugins.workspace. Before that I haven't had a problem.
Here's the error:
Compiling: codestat.cpp
In file included from codestat.cpp:10:
codestat.h: In member function `int CodeStat::GetConfigurationGroup()':
codestat.h:43: error: `cgEditor' undeclared (first use this function)
codestat.h:43: error: (Each undeclared identifier is reported only once for each function it appears in.)
Process terminated with status 1 (0 minutes, 2 seconds)
2 errors, 0 warnings
-
I tried, and it works just fine. Please make sure you updated correctly so your working copy is good.
It is well possible with svn to update only a subpath (deliberately or accidentially) which leads to a collection of files with mixed revisions (yes, this makes sense in some situations, that's a feature, not a bug).
Probably that is the case with your WC. If everything is up-to-date, all is fine.
-
cgEditor? :lol:
-
cgEditor? :lol:
Yes, what about it?
-
Thanks... I did some more digging, and got it working.
-
cgEditor? :lol:
Yes, what about it?
On a first look, I thought it was a typo for cbEditor, on a second look, I thought it was something about the CG nVidia language. :D
Then I realized that was about the configuration. :P
Changing cgXXX to cfgXXX could prevent typos when writting plugins that deals with cbEditors and cgEditors. :wink:
-
This does not bear the same meaning, though. "cg" does not stand for "config", but for "configuration group".
cbEditor is just a const int which will become a typedefed enum once Yiannis is finished working on the configuration stuff, so there will be not much opportunity for typos (and it's not like we have a cg editor, anyway ;)).
-
and it's not like we have a cg editor...
...yet. :lol:
But probably it wouldn't be in the sdk if there were one. :P