Ravenbrook / Projects / Memory Pool System / Issues


MPS issue job001366

Title:default "all" build broken on w3 (Windows) with Visual C++ 6.0
Status:closed
Priority:critical
Assigned user:rhsk
Organization:Ravenbrook
Description:default "all" build broken on w3 (Windows)

Note: see also job001365, for further breakage with Visual C++ 7.0.

RHSK 2006-04-10
The default "all" build:
    nmake /f w3i3mv.nmk
does not work with Visual C++ 6.0. There are several defects; they are a subset of those reported by Bruce Mitchener [Mitchener].

Workaround:
  - don't use the "all" build;
  - use "nmake /f w3i3mv.nmk mps.lib",
        "nmake /f w3i3mv.nmk mpsplan.lib",
        "nmake /f w3i3mv.nmk amcss.exe",
    etc.
  - or use w3build.bat instead.
Analysis:RHSK 2006-04-10
The default MPS build is the "all" target, which includes:
  1. the main "mps.lib" library;
  2. the example plinth "mpsplan.lib";
  3. a lot of test executables.
Part 3 (test executables) does not build with Visual C++ 6.0, thereby breaking the default "all" build.
How found:customer
Evidence:[Mitchener] http:/​/​mailman.ravenbrook.com/​pipermail/​mps-discussion/​2005-March/​000028.html
Observed in:1.100.1
Introduced in:1.100.0
Created by:rhsk
Created on:2006‑04‑10 13:35:15
Last modified by:rhsk
Last modified on:2006‑04‑10 13:48:51
History:2006-04-10 RHSK Created.

Fixes

Change Effect Date User Description
158054 closed 2006‑04‑07 15:56:43 rhsk MPS: fix w3i3mv "all" build with VC6:
1. amsss.c: initialize ambigRoot (uninitialized warning);
2. commpost.nmk:
2a. drop long-vanished protcv.exe;
2b. mpmss.exe needs MVFF;
2c. locusss.exe had no build rule;
3. finaltest.c: main does not use argc,v so declare as main(void);
4. lockutw3.c: add parens to avoid operator-precedence warning;
5. protocol.h: s/interface/interfaceIn: suspected compiler bug.
157962 closed 2006‑04‑04 14:17:36 rhsk MPS: fix Windows build of text-executables needing formats, with new
make-variable FMTTEST, replacing DWTEST and HETEST, and fixing
awlut.exe build.

Generated at 2012-02-04 05:33:24 by $Id: //info.ravenbrook.com/infosys/cgi/issue.cgi#471 $

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