Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Alexis King
GHC
Commits
ef4372dc
Commit
ef4372dc
authored
Mar 15, 2010
by
Ian Lynagh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
When saying RTS options are disabled, also say how to enable them
parent
adf339b2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
rts/RtsFlags.c
rts/RtsFlags.c
+2
-2
No files found.
rts/RtsFlags.c
View file @
ef4372dc
...
...
@@ -418,7 +418,7 @@ setupRtsFlags(int *argc, char *argv[], int *rts_argc, char *rts_argv[])
splitRtsFlags
(
ghc_rts
,
rts_argc
,
rts_argv
);
}
else
{
errorBelch
(
"Warning: Ignoring GHCRTS variable"
);
errorBelch
(
"Warning: Ignoring GHCRTS variable
as RTS options are disabled.
\n
Link with -rtsopts to enable them.
"
);
// We don't actually exit, just warn
}
}
...
...
@@ -443,7 +443,7 @@ setupRtsFlags(int *argc, char *argv[], int *rts_argc, char *rts_argv[])
mode
=
RTS
;
}
else
{
errorBelch
(
"RTS options are disabled"
);
errorBelch
(
"RTS options are disabled
. Link with -rtsopts to enable them.
"
);
stg_exit
(
EXIT_FAILURE
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment