mingw status

Peter Kümmel syntheticpp at gmx.net
Tue Feb 21 19:07:47 CET 2006


Thiago Macieira wrote:
> Christian Ehrlicher wrote:
>> It seems to be not supported :-(
> 
> Ok, then my suggestion is:
> 
> - wrap the method around #ifndef Q_OS_WIN32 or equivalent
> - add to its documentation:
>   \paragraph Warning 
>     This method is not available on Win32 platforms and should, therefore, 
> not be used in code intending to be portable.
> 

Here a new solution which works and I've tested:

1. when compiling with mingw declare the convenience functions
   of KJS::UString and KJS::Identifier as inline (with a macro definition)

2. move the implementation of these functions from khtml/ecma/kjs_binding.cpp
   to a new file

3. - when building with mingw:     include this file in kjs_bindings.h
   - when not building with mingw: include this file in kjs_bindings.cpp


If there is a chance that this solution is acceptable I could
clean up my current implementation and send a patch to the list.

Peter



More information about the Kde-buildsystem mailing list