Closed Bug 25631 Opened 25 years ago Closed 24 years ago

Compilation errors with strict compiler

Categories

(Core Graveyard :: Java: OJI, defect, P3)

x86
Linux
defect

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 39050

People

(Reporter: drepper, Assigned: drapeau)

Details

Attachments

(1 file)

The function JNIMethod::marshallArgs in file modules/oji/src/ProxyJNI.cpp
takes a variable number of arguments but the types of the arguments used in
the va_arg calls don't take automatic promotion into account.  With a strict
compiler (e.g., a recent gcc) this fails to compile.

I'll send a patch separately.
Will review and apply the patch after Beta 1, to reduce risk.  Thank you very 
much for the patch, drepper@cygnus.com!
Status: NEW → ASSIGNED
Target Milestone: M16
M16 has been out for a while now, these bugs target milestones need to be 
updated.
I think bug 39050 also talks of the same.
(There is a patch also attached to that bug)

Marking it as a duplicate

*** This bug has been marked as a duplicate of 39050 ***
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
Verified as a dup
Status: RESOLVED → VERIFIED
Verified as a duplicate
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: