Closed Bug 454703 Opened 17 years ago Closed 17 years ago

WinCE Compiler Missing Values and APIs or Redefined Values

Categories

(Firefox Build System :: General, defect)

ARM
Windows Mobile 6 Professional
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: wolfe, Unassigned)

References

Details

(Keywords: mobile)

Attachments

(1 file)

The values EINVAL and ERANGE are used by mozilla-central code, but not in the WinMobile headers. These values are also not yet defined in the WinCE mozce_shunt.h header file. Microsoft, in their infinite wisdom, decided to make Wide and Char versions of the structure SHELLEXECUTEINFO -- and define the Wide version as SHELLEXECUTEINFOW for the desktop. For WinMobile, the SHELLEXECUTEINFO structure IS exactly the desktop's Wide version. Added some mozce_shunt.h defines to map SHELLEXECUTEINFOW to SHELLEXECUTEINFO for WinCE, and the function ShellExecuteExW() as ShellExecuteEx(). VERIFY macro is being re-defined in widget module, causing compiler failure under WinCE build. So this patch file undefines VERIFY if defined -- causing the redefinition to proceed without failure. COLOR_HOTLIGHT is not properly defined in WinMobile headers (API says value is 26 -- but WinMobile headers set it to COLOR_STATICTEXT), so added proper definition within nsLookAndFeel.cpp source file. Added missing defines for AC_SRC_ALPHA, WS_EX_LAYERED, and ULW_ALPHA to widget module's nsWindow.cpp source file.
Attachment #337988 - Flags: review?(doug.turner)
Comment on attachment 337988 [details] [diff] [review] Patch file for WinCE shunt header file the widget/src/windows/nsWindow.cpp should either be in another bug, or lets just support this in the shunt.
Attachment #337988 - Flags: review?(doug.turner) → review-
Flags: blocking-fennec1.0+
Target Milestone: --- → Fennec A2
As I mentioned, the build/wince stuff is fine, just not the window widget stuff. Please move those into a different bug (or better yet, fix up the shunt to handle them). I am pushing the shunt pieces. changeset: 19518:1430f10b4c45 tag: tip user: Doug Turner <dougt@meer.net> date: Mon Sep 22 21:37:50 2008 +0100 summary: Bug 454703 - WinCE Compiler Missing Values and APIs or Redefined Values. Patch by Wolfe, r=dougt
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Component: General → Build Config
Product: Fennec → Core
QA Contact: general → build-config
Target Milestone: Fennec A2 → ---
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: