- 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:
Jonas Maebe 2012-04-11 18:07:06 +00:00
parent ec1cceb3d1
commit 29111f957e

View File

@ -18,7 +18,13 @@ unit fpcunit;
{$h+}
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}
{$ENDIF}