Skip to content
Snippets Groups Projects
Commit 26bc2cfb authored by sof's avatar sof
Browse files

[project @ 1999-02-04 16:15:44 by sof]

- don't complain if 'total memory in use' field not found in final RTS
info dump.
- add -fwarn-type-defaults to the set of -Wall warnings.
parent 233b9c71
No related merge requests found
...@@ -287,6 +287,7 @@ these are turned off by -Wnot. ...@@ -287,6 +287,7 @@ these are turned off by -Wnot.
'-fwarn-unused-imports'); '-fwarn-unused-imports');
@MinusWallOpts = (@MinusWOpts, @MinusWallOpts = (@MinusWOpts,
'-fwarn-unused-matches', '-fwarn-unused-matches',
'-fwarn-type-defaults',
'-fwarn-name-shadowing', '-fwarn-name-shadowing',
'-fwarn-missing-signatures'); '-fwarn-missing-signatures');
\end{code} \end{code}
...@@ -2331,7 +2332,6 @@ sub process_ghc_timings { ...@@ -2331,7 +2332,6 @@ sub process_ghc_timings {
print STDERR "Warning: MutElapsed not found in stats file\n" unless defined($MutElapsed); print STDERR "Warning: MutElapsed not found in stats file\n" unless defined($MutElapsed);
print STDERR "Warning: GcTime inot found in stats file\n" unless defined($GcTime); print STDERR "Warning: GcTime inot found in stats file\n" unless defined($GcTime);
print STDERR "Warning: GcElapsed not found in stats file\n" unless defined($GcElapsed); print STDERR "Warning: GcElapsed not found in stats file\n" unless defined($GcElapsed);
print STDERR "Warning: total memory not found in stats file\n" unless defined($TotMem);
# things we didn't necessarily expect to find # things we didn't necessarily expect to find
$MaxResidency = 0 unless defined($MaxResidency); $MaxResidency = 0 unless defined($MaxResidency);
...@@ -3261,7 +3261,7 @@ arg: while($_ = $Args[0]) { ...@@ -3261,7 +3261,7 @@ arg: while($_ = $Args[0]) {
#---------- Linker (gcc, really) --------------------------------------- #---------- Linker (gcc, really) ---------------------------------------
/^-static$/ && do { push(@Ld_flags, $_); next arg; }; /^-static$/ && do { push(@HsC_flags, $_); push(@Ld_flags, $_); next arg; };
/^-no-hs-main$/ && do { $NoHaskellMain=1; next arg; }; /^-no-hs-main$/ && do { $NoHaskellMain=1; next arg; };
#---------- mixed cc and linker magic ---------------------------------- #---------- mixed cc and linker magic ----------------------------------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment