Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
jberryman
GHC
Commits
ef4372dc
Commit
ef4372dc
authored
Mar 15, 2010
by
Ian Lynagh
Browse files
When saying RTS options are disabled, also say how to enable them
parent
adf339b2
Changes
1
Hide whitespace changes
Inline
Side-by-side
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
Supports
Markdown
0%
Try again
or
attach a new 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