Problem: 1615901
Title: many illegal typedefs of form, reproduce w/MW, all warnings
Received: Dec 30 1996 1:56PM
For MPW builds, you may assume the following build commands:
Set -e MABuildFolder 'Splinter:Builds:MacApp:' MABuild MacApp -Sym -AutoBuild -ModelFar -Link '-sym 3.3' -BuildFolder "{MABuildFolder}"I like to use a spearate build folder so I can keep source and headers on a smaller volume and have all easily recreated files in a folder that cam be tossed if I need disk space.
:Libraries:Core:Includes:UTheDebugger.h :Libraries:Core:Sources:UTheDebugger.cp fixed many illegal typedefs of form, reproduce w/MW, all warnings typedef struct foo { };becomes
typedef struct foo { } foo; // <-- added foo here
:Libraries:MPWTool:Sources:UCPlusTool.cp
void TCPlusTool::Run() { TRY { while (++fArgvIndex < fArgc) // fArgc is the number of args plus one { RotateCursor(++fCursorCount); ProcessArg(fArgv[fArgvIndex]); } UnloadSeg(&InitUCPlusTool); fRetCode = RC_Normal; if (fProgress) DoStartProgress(); DoToolAction(); fflush(stdout); if (fTime) { long currentTicks = TickCount(); long elapsedTicks = currentTicks - fStartTicks; long double elapsedSecs = (double)elapsedTicks / 60.0; fprintf(stderr, "Elapsed time: %-1.2Lf seconds\n", elapsedSecs); } } CATCH_ALL { OSErr theErr = fi.error; CChar255 theText; fflush(stdout); if (theErr != noErr) { GetSysErrText(theErr, theText); fprintf(stderr, "%s %s: %s\n", kErrorMarker, MAstatic_cast(const char*, fProgName), MAstatic_cast(const char*, theText)); fRetCode = RC_Abort; } } ENDTRY fflush(stderr); exit(MAstatic_cast(short, fRetCode)); }
All changed requested above have already been made in R13 except for the static casts which will not be done.