usage of kdemain() in dcopstart.cpp, dcop.cpp and dcopfind.cpp ?
neundorf at kde.org
Sat Feb 4 20:24:39 GMT 2006
the following code exists in all three files
kdelibs/dcop/dcopstart.cpp, dcop.cpp and dcopfind.cpp:
# define main kdemain
int main( int argc, char** argv )
This means under windows instead of "main" "kdemain" is used. But nowadays
when the dcop stuff is built under windows using scons or cmake, a
-Dkdemain=main is required, otherwise there are undefined references to main.
This doesn't make much sense. For all three files there was a first commit
which changed main() to kdemain(), followed by a second commit the same day
which reverted this change but kept it as kdemain() for windows.
Are there any objections against just removing the kdemain() ?
Work: alexander.neundorf AT jenoptik.com - http://www.jenoptik-los.de
Home: neundorf AT kde.org - http://www.kde.org
alex AT neundorf.net - http://www.neundorf.net
More information about the kde-core-devel