mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-19 23:14:02 +02:00
* Remove wrong lineinfo unit. It does not work with DWARF
git-svn-id: trunk@21833 -
This commit is contained in:
parent
15f59192ed
commit
518af06016
@ -19,22 +19,10 @@ unit fpcunit;
|
|||||||
|
|
||||||
interface
|
interface
|
||||||
|
|
||||||
{ The following is wrong. The lineinfo unit only works on platforms that
|
|
||||||
use stabs. It does not work on platforms that use stabx or Dwarf. The
|
|
||||||
correct unit can only be safely included by compiling the main program
|
|
||||||
with -gl. Directly using any of those units won't work most of the time.
|
|
||||||
}
|
|
||||||
{$IF not defined(MORPHOS) and not defined(AIX)}
|
|
||||||
{$DEFINE SHOWLINEINFO}
|
|
||||||
{$ENDIF}
|
|
||||||
|
|
||||||
{ Uncomment this define to remove the DUnit compatibility interface. }
|
{ Uncomment this define to remove the DUnit compatibility interface. }
|
||||||
{$DEFINE DUnit}
|
{$DEFINE DUnit}
|
||||||
|
|
||||||
uses
|
uses
|
||||||
{$ifdef SHOWLINEINFO}
|
|
||||||
LineInfo,
|
|
||||||
{$endif}
|
|
||||||
SysUtils
|
SysUtils
|
||||||
,Classes
|
,Classes
|
||||||
;
|
;
|
||||||
|
Loading…
Reference in New Issue
Block a user