Closed Bug 450918 Opened 16 years ago Closed 13 years ago

"cmsps2.c(1122) : warning C4133: 'function' : incompatible types - from '*' to 'LPWMAT3'"

Categories

(Core :: Graphics: Color Management, defect)

x86
Windows 2000
defect
Not set
minor

Tracking

()

VERIFIED INVALID

People

(Reporter: sgautherie, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [build_warning])

[Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.1a2pre) Gecko/20080817015046 Minefield/3.1a2pre] (home, optim default) (W2Ksp4)

This would seem to have appeared in the last few days:
{{
.../modules/lcms/src/cmsps2.c(1122) : warning C4133: 'function' : incompatible types - from '*' to 'LPWMAT3'
}}
[Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.1a2pre) Gecko/20080817024436 Minefield/3.1a2pre] (home, debug) (W2Ksp4)

(It seems I don't get it in my debug build;
but maybe one of my options disables this feature !?)
Product: Core → Core Graveyard
(In reply to comment #0)

[Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.2a1pre) Gecko/20090402 Minefield/3.6a1pre] (home, optim default) (W2Ksp4)
(http://hg.mozilla.org/mozilla-central/rev/c4f6bb1db611)

Still there.
Component: GFX → GFX: Color Management
Product: Core Graveyard → Core
QA Contact: general → color-management
Looks like the warning is harmless but you could make the following change to line 1122 to get rid of it:

- &MatShaper ->Matrix,
+ &MatShaper ->Matrix.W,
Sorry, I didn't know that lcms was obsolete (bug 481926) so unless you want to fix the warning for the older branches there is no need to make that change.
Whiteboard: [build_warning]
Blocks: buildwarning
lcms is gone.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → INVALID
Bug 516971 removed this code.

V.Invalid.
Status: RESOLVED → VERIFIED
Depends on: 516971
You need to log in before you can comment on or make changes to this bug.