Hi
I've reported similar experience.
4. #include <stdbool.h> is not allowed in C++ code, and doesn't need
it since C++ has it's own bool datatype. The easiest way around this is
to guard the include as
#ifndef __cplusplus
#include <stdbool.h>
#endif
Personally, I find this more than just a little scary. On most
platforms, sizeof(bool) in C++ is 1 and sizeof(bool) in C99 is 4 (one
exception is Mac OS X, which I believe has 4byte C++ bools). Depending
on how the bool is used, this can lead to nasty crashes.
5. On Solaris, munmap is only defined as munmap(void *, size_t) in
POSIX mode or XPG4.2+ mode. So, I added a
#define _XOPEN_VERSION 500
at the top of JavaScriptCore/kjs/collector.cpp
I'd go the whole hog and put it in qmake.conf.
7. While compiling WebCore/bindings/js/JSAttrCustom.cpp, I get the
following error messages:
"/code2/Qt/qt-4.4.0-beta1/src/3rdparty/webkit/JavaScriptCore/wtf/PassRefPtr.h",
line 37: Error: The type "WebCore::Event" is incomplete.
"/code2/Qt/qt-4.4.0-beta1/src/3rdparty/webkit/WebCore/dom/EventTargetNode.h",
line 64: Where: While instantiating
"WTF::PassRefPtr<WebCore::Event>::PassRefPtr(WebCore::Event*)".
"/code2/Qt/qt-4.4.0-beta1/src/3rdparty/webkit/WebCore/dom/EventTargetNode.h",
line 64: Where: Instantiated from non-template code.
"/code2/Qt/qt-4.4.0-beta1/src/3rdparty/webkit/JavaScriptCore/wtf/PassRefPtr.h",
line 45: Error: The type "WebCore::Event" is incomplete.
"/code2/Qt/qt-4.4.0-beta1/src/3rdparty/webkit/WebCore/dom/EventTargetNode.h",
line 64: Where: While instantiating
"WTF::PassRefPtr<WebCore::Event>::~PassRefPtr()".
"/code2/Qt/qt-4.4.0-beta1/src/3rdparty/webkit/WebCore/dom/EventTargetNode.h",
line 64: Where: Instantiated from non-template code.
2 Error(s) detected.
I have no idea how this one is generated, as I can't follow the code.
Any help with this will be greatly appreciated.
I don't remember having this problem.
A+
Paul
To unsubscribe - send "unsubscribe" in the subject to [EMAIL PROTECTED]