Ravenbrook / Projects / Memory Pool System / Issues

Memory Pool System


MPS issue job001714

Title: MPS xcppgc (Mac OS X PowerPC) is built with outdated compiler flags
Status: closed
Priority: optional
Assigned user: Richard Kistruck
Product: mps
Organization: Ravenbrook
Description: MPS xcppgc (Mac OS X PowerPC) is built with outdated compiler flags

Related jobs:
job000601: "Making the MPS fails under Mac OS X 10.2 with an error to do with #line directives"

For all xcppgc varieties, some GCC compiler warnings are suppressed. This was done in order to make the build work with Apple's faulty header files in early versions of Mac OS X.

Additionally, for varieties variety.*i (internal), the level of debug info to be generated is selected using an outdated flag. (It is unknown whether this affects the debug info generated). This was done in order to make the build work with Apple's faulty compiler in early versions of Mac OS X.
Analysis: RHSK 2007-09-27
The flags concerned are:
-Wstrict-prototypes -Wno-unused -Wno-long-long -no-cpp-precomp -g3

(For details, see //info.ravenbrook.com/project/mps/master/code/xcppgc.gmk#18).

None of these outdated flags are required any more in Mac OS X 10.4 (Xcode v 2.3; powerpc-apple-darwin8-gcc-4.0.1). Apple has cleared up its header files and compiler, and the MPS builds fine. See for example xci3gc.gmk#8.
How found: unknown
Evidence: inspection
Observed in: 1.108.0
Introduced in: 1.100.0
Test procedure: none
Created by: Richard Kistruck
Created on: 2007-09-27 14:23:19
Last modified by: Richard Kistruck
Last modified on: 2007-09-27 14:31:49
History: 2007-09-27 RHSK Created.

Fixes

Change Effect Date User Description
163293 closed 2007-09-27 14:26:43 Richard Kistruck MPS master: xcppgc.gmk Remove outdated and unnecessary compiler flags.
163287 closed 2007-09-26 15:44:42 Richard Kistruck MPS master: xcppgc.cmk (comments only) Add explanation of various
compiler flags added under job000601.

Generated at 2008-07-20 03:26:11 by $Id: //info.ravenbrook.com/infosys/cgi/issue.cgi#430 $

Copyright © Ravenbrook Limited. This document is provided "as is", without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this document. You may not duplicate or reproduce this document in any form without the express permission of the copyright holder.

Ravenbrook / Projects / Memory Pool System / Issues