[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdelibs/kdecore/kconfig_compiler
From: Thiago Macieira <thiago () kde ! org>
Date: 2007-01-20 18:34:42
Message-ID: 1169318082.797420.29097.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 625666 by thiago:
Add a notice to change kconfig_compiler later.
It should generate unrelocated code, just like moc.
M +3 -0 kconfig_compiler.cpp
--- trunk/KDE/kdelibs/kdecore/kconfig_compiler/kconfig_compiler.cpp #625665:625666
@@ -1282,6 +1282,9 @@
QStringList values = (*itEntry)->paramValues();
if ( !values.isEmpty() ) {
if ( globalEnums ) {
+ // ### FIXME!!
+ // make the following string table an index-based string search!
+ // ###
h << " enum { " << values.join( ", " ) << " };" << endl;
h << " static const char* const " << enumName( (*itEntry)->param() ) << \
"ToString[];" << endl;
cppPreamble += "const char* const " + className + "::" + enumName( \
(*itEntry)->param() ) +
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic