kde4init_dummy.cpp.in

Peter Kümmel syntheticpp at gmx.net
Thu Feb 2 22:55:58 CET 2006


Peter Kümmel wrote:
> How does the code fore the dummy main work?
> 
> Currently compiling with cmake break because kdemain is defined as a macro
> (which looks like a hack, because it's not upper case) in kdelibs_global_win.h.
> 
> this macro can't compile with the dummy code from kde4init_dummy.cpp.in:
> 
> extern "C" int kdemain(int argc, char* argv[]);
> extern "C" int kdeinitmain(int argc, char* argv[]) { return kdemain(argc,argv); }
> int main(int argc, char* argv[]) { return kdemain(argc,argv); }
> 
> Is it necessary to add a version for win?
> 
> Peter
> 
> 
> 
> here the errors:

or see here:

http://public.kitware.com/KDE/Testing/Sites/CNAME/Win32-nmake/20060202-2150-Experimental/BuildError.html


More information about the Kde-buildsystem mailing list