[fpc-pascal] undocumented 'library' hint directive
mailinglists at geldenhuys.co.uk
Tue Oct 13 15:36:00 CEST 2015
On 2015-10-13 14:30, Marco van de Voort wrote:
To follow on from your quotes....
"The platform and library directives do not specify which platform or
library. If your goal is writing platform-independent code, you do not
need to know which platform a symbol is specific to; it is sufficient
that the symbol be marked as specific to some platform to let you know
it may cause problems for your goal of portability."
I guess with the above description IFDEF's will most likely be the
better option in real-world code.
- Graeme -
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
My public PGP key: http://tinyurl.com/graeme-pgp
More information about the fpc-pascal