Opened 14 years ago

Closed 14 years ago

#2207 closed Bugs (fixed)

bjam source 64-bit fixes & removal of warnings

Reported by: Steven Robbins <smr@…> Owned by: René Rivera
Milestone: Boost.Jam 3.1.17 Component: bjam
Version: Boost.Jam 3.1.16 Severity: Problem
Keywords: Cc:

Description

The attached patch applies to tools/jam/src shipped with Boost 1.36.0.

The source has some issues on 64-bit systems, albeit minor. Some of the printf's use the wrong argument specifier, e.g. wrongly use %d for a long, or using %lu rather than %zu for a size_t.

While tracking down these, I used gcc -Wall (GCC 4.3) and then fixed every warning so that I now build using "gcc -Wall -Werror" successfully on 5-10 architectures; c.f. ​http://experimental.debian.net/build.php?pkg=boost1.35

Attachments (1)

jam-wall-clean.patch​ (15.8 KB ) - added by Steven Robbins <smr@…> 14 years ago.

Download all attachments as: .zip

Change History (4)

by Steven Robbins <smr@…>, 14 years ago

Attachment: jam-wall-clean.patch​ added

comment:1 by René Rivera, 14 years ago

Status: new → assigned
Version: Boost 1.36.0 → Boost.Jam 3.1.16

I'll try making as many changes as I can to the trunk version. But since I don't have gcc 4.3 nor a 64 bit machine, would you be willing to do some testing of the changes for the trunk version?

comment:2 by René Rivera, 14 years ago

Milestone: To Be Determined → Boost.Jam 3.1.17

comment:3 by René Rivera, 14 years ago

Resolution: → fixed
Status: assigned → closed
Note: See TracTickets for help on using tickets.