Closed Bug 415861 Opened 16 years ago Closed 16 years ago

AIX Compilation error for trunk build source jdcolor.c :Operation between types "unsigned char" and "unsigned char*" is not allowed

Categories

(Firefox Build System :: General, defect)

Other
AIX
defect
Not set
major

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 44781

People

(Reporter: shailen.n.jain, Unassigned)

Details

Attachments

(1 obsolete file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11

While compiling trunk build source mozilla/jpeg/jdcolor.c on
AIX, getting below compilation error -

mozilla/jpeg/jdcolor.c", line 299.8: 1506-234 (E) Expecting a new-line character on #endif directive.
mozilla/jpeg/jdcolor.c", line 464.17: 1506-068 (S) Operation between types "unsigned char" and "unsigned char*" is not allowed.
mozilla/jpeg/jdcolor.c", line 465.17: 1506-068 (S) Operation between types "unsigned char" and "unsigned char*" is not allowed.
mozilla/jpeg/jdcolor.c", line 468.17: 1506-068 (S) Operation between types "unsigned char" and "unsigned char*" is not allowed.
gmake[1]: *** [jdcolor.o] Error 1




Reproducible: Always

Steps to Reproduce:
1.Build Mozilla Firefox Trunk build on AIX with Gnome 2.12 RPMS of 64 bit
version.
2.
3.
Actual Results:  
Build fails with the above errors.

Expected Results:  
No build failure
OS: Other → AIX
Version: unspecified → Trunk
Attached patch Patch V1 (obsolete) — Splinter Review
Modified the code to have operation between unsigned chars
Attachment #301627 - Flags: review?(benjamin)
Comment on attachment 301627 [details] [diff] [review]
Patch V1

I think this is libjpeg... asking stuart, the module owner, for review.
Attachment #301627 - Flags: review?(benjamin) → review?(pavlov)
Attachment #301627 - Flags: review?(pavlov) → review?(marti.maria)
Marti:  Can you take a look at this patch?
Sure, but this is not related with littlecms. Maybe the author/mantainer of libjpeg would be more proper.
Comment on attachment 301627 [details] [diff] [review]
Patch V1

argh, whoops.  not sure why i thought this was in littlecms....  I'll take a look at it.
Attachment #301627 - Flags: review?(marti.maria) → review?(pavlov)
I am able to compile the trunk build without the above errors. I believe the error is fixed with bug 44781 fix.
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
Attachment #301627 - Attachment is obsolete: true
Attachment #301627 - Flags: review?(pavlov)
Component: Build Config → General
Product: Firefox → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: