From 52f77a4e370cb683304467d74b189e3d4b8541f2 Mon Sep 17 00:00:00 2001 From: michael Date: Mon, 9 Jul 2012 15:39:12 +0000 Subject: * Remove wrong lineinfo unit. It does not work with DWARF git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@21833 3ad0048d-3df7-0310-abae-a5850022a9f2 --- packages/fcl-fpcunit/src/fpcunit.pp | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'packages/fcl-fpcunit/src') diff --git a/packages/fcl-fpcunit/src/fpcunit.pp b/packages/fcl-fpcunit/src/fpcunit.pp index 07a1ee1696..ce7cd5b23f 100644 --- a/packages/fcl-fpcunit/src/fpcunit.pp +++ b/packages/fcl-fpcunit/src/fpcunit.pp @@ -19,22 +19,10 @@ unit fpcunit; 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. } {$DEFINE DUnit} uses - {$ifdef SHOWLINEINFO} - LineInfo, - {$endif} SysUtils ,Classes ; -- cgit v1.2.1