mirror of
https://github.com/open-simh/simtools.git
synced 2026-01-22 02:25:35 +00:00
Too much to list all, but includes (in no particular order): - Cleanup for 64-bit builds, MSVC warnings. - Structured help - Help file compiler. - Supports volsets, writes/create work. - Support for I18n in messages, help. - Makefiles. - Initialize volume/volset - Command line editing/history Builds and works on Linux and Windows (VS). Not recently built or tested on other platforms, but not intentinonally broken.
19 lines
836 B
Bash
Executable File
19 lines
836 B
Bash
Executable File
#!/bin/bash
|
|
# This is how I validate that everything compiles with GCC warnings enabled.
|
|
# ./strictmake -g -DDEBUG (or any other CCFLAGS)
|
|
# If the first argument does not begin with '-', it's the target of the build
|
|
#
|
|
# Exception reasons:
|
|
# $ in identifier - VMS compatible code
|
|
# object to function pointer - dlsym requires this to work; it's in the
|
|
# OpenGroup standard's notes on this (standard) function.
|
|
# VHD uses long long - but is optional
|
|
|
|
if [[ "$1" =~ ^- ]]; then
|
|
TGT=
|
|
else
|
|
TGT="$1"
|
|
shift
|
|
fi
|
|
LANG=C 2>&1 make -f makefile.unix $TGT "CCFLAGS=-O4 $* -DUSE_LIBEDIT -Wall -pedantic -Wextra" | grep -vP "(warning: '\\\$' in identifier or number)|\`arg[cv]|(In file included from)|(phyvhd.c:\\d+:\\d+: warning: ISO C forbids conversion of object pointer to function pointer)|(use of C99 long long integer constant)"
|