In WebCore/platform/image- decoders/jpeg/JPEGImageDecoder.cpp ( https://trac.webkit.org/browser/trunk/WebCore/platform/image-decoders/jpeg/JPEGImageDecoder.cpp) and png/PNGImageDecoder.cpp, setjmp and longjmp are called. This causes this code unportable to Windows environment. At http://msdn.microsoft.com/en-us/library/xe7acxfb%28VS.80%29.aspx, it is mentioned that "setjmp and longjmp do not support C++ object semantics". My understanding is that WebKit has been ported to Windows for three years. Can someone educate me on how current Chrome and Safari work on Windows? Why does such a basic problem exist but without being seen? Do they use the above image decoder files? I tried to run a program linked with a prebuilt Windows WebKit library and it crashes at setjmp() when accessing a jpeg file. Can this problem be fixed?
Thanks, S.R.
_______________________________________________ webkit-dev mailing list [email protected] http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

