mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-08 14:08:09 +02:00
rtl: add two defines toallow disabling the verbose error of the stub unicodestringmanager and threadmanager
This commit is contained in:
parent
bf57750436
commit
88c7954d9f
@ -422,11 +422,13 @@ Procedure NoThreadError;
|
||||
begin
|
||||
{$ifndef EMBEDDED}
|
||||
{$ifdef FPC_HAS_FEATURE_CONSOLEIO}
|
||||
{$ifndef FPC_SYSTEM_NO_VERBOSE_THREADERROR}
|
||||
If IsConsole then
|
||||
begin
|
||||
Writeln(StdErr,SNoThreads);
|
||||
Writeln(StdErr,SRecompileWithThreads);
|
||||
end;
|
||||
{$endif FPC_SYSTEM_NO_VERBOSE_THREADERROR}
|
||||
{$endif FPC_HAS_FEATURE_CONSOLEIO}
|
||||
{$endif EMBEDDED}
|
||||
RunError(232)
|
||||
|
@ -2227,11 +2227,13 @@ procedure unimplementedunicodestring;
|
||||
begin
|
||||
{$ifdef FPC_HAS_FEATURE_CONSOLEIO}
|
||||
{$ifndef HAS_WIDESTRINGMANAGER}
|
||||
{$ifndef FPC_SYSTEM_NO_VERBOSE_UNICODEERROR}
|
||||
If IsConsole then
|
||||
begin
|
||||
Writeln(StdErr,SNoUnicodestrings);
|
||||
Writeln(StdErr,SRecompileWithUnicodestrings);
|
||||
end;
|
||||
{$endif FPC_SYSTEM_NO_VERBOSE_UNICODEERROR}
|
||||
{$endif HAS_WIDESTRINGMANAGER}
|
||||
{$endif FPC_HAS_FEATURE_CONSOLEIO}
|
||||
HandleErrorAddrFrameInd(234{RuntimeErrorExitCodes[reCodesetConversion]},get_pc_addr,get_frame);
|
||||
|
Loading…
Reference in New Issue
Block a user