[fpc-devel]compiler option "-Sd"

rstar at mnet-online.de rstar at mnet-online.de
Sun Feb 1 17:49:38 CET 2004


With compiler option "-Sd" I got memcheck.pas(1439,11) Error: Procedure 
overloading is switched off
Is procedure overloading not a Delphi feature? Happens also with 
"-Mdelphi" option.


# Semantic checking
#  -S2        switch some Delphi 2 extensions on
#  -Sc        supports operators like C (*=,+=,/= and -=)
#  -Sd        tries to be Delphi compatible
#  -Se<x>     compiler stops after the <x> errors (default is 1)
#  -Sg        allow LABEL and GOTO
#  -Sh        Use ansistrings
#  -Si        support C++ styled INLINE
#  -Sm        support macros like C (global)
#  -So        tries to be TP/BP 7.0 compatible
#  -Sp        tries to be gpc compatible
#  -Ss        constructor name must be init (destructor must be done)
#  -St        allow static keyword in objects

-Sd
#-Mdelphi



D:\lazarus>make

Compiling memcheck.pas
memcheck.pas(1353,15) Hint: Type "PLONGINT" redefinition
memcheck.pas(1439,11) Error: Procedure overloading is switched off
memcheck.pas(1618,50) Hint: Conversion between ordinals and pointers are 
not portable
memcheck.pas(1634,53) Hint: Conversion between ordinals and pointers are 
not portable
memcheck.pas(1652,46) Hint: Conversion between ordinals and pointers are 
not portable
memcheck.pas(1660,46) Hint: Conversion between ordinals and pointers are 
not portable
memcheck.pas(1683,46) Hint: Conversion between ordinals and pointers are 
not portable
memcheck.pas(2116,35) Fatal: Syntax error, ":" expected but "identifier 
NAME" found
make[2]: *** [allcodetoolunits.ppu] Error 1
make[2]: Leaving directory `D:/lazarus/components/codetools'
make[1]: *** [codetools_all] Error 2
make[1]: Leaving directory `D:/lazarus/components'
make: *** [components] Error 2

D:\lazarus>





More information about the fpc-devel mailing list