mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-11 20:29:14 +02:00
- don't include the lineinfo unit on AIX, because it doesn't have it; in
general, this is also wrong because it won't work on platforms using DWARF either git-svn-id: trunk@20848 -
This commit is contained in:
parent
ec1cceb3d1
commit
29111f957e
@ -18,7 +18,13 @@ unit fpcunit;
|
|||||||
{$h+}
|
{$h+}
|
||||||
|
|
||||||
interface
|
interface
|
||||||
{$IFNDEF MORPHOS}
|
|
||||||
|
{ 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}
|
{$DEFINE SHOWLINEINFO}
|
||||||
{$ENDIF}
|
{$ENDIF}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user