MPS issue job001366

Titledefault "all" build broken on w3 (Windows) with Visual C++ 6.0
Statusclosed
Priorityessential
Assigned userRichard Kistruck
OrganizationRavenbrook
Descriptiondefault "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.
AnalysisRHSK 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 foundcustomer
Evidence[Mitchener] http://mailman.ravenbrook.com/pipermail/mps-discussion/2005-March/000028.html
Observed in1.100.1
Introduced in1.100.0
Created byRichard Kistruck
Created on2006-04-10 13:35:15
Last modified byGareth Rees
Last modified on2014-03-07 10:09:46
History2006-04-10 RHSK Created.

Fixes

Change Effect Date User Description
158054 closed 2006-04-07 15:56:43 Richard Kistruck 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 Richard Kistruck MPS: fix Windows build of text-executables needing formats, with new
make-variable FMTTEST, replacing DWTEST and HETEST, and fixing
awlut.exe build.