On 2014-04-04 15:32, Henry Vermaak wrote: > > I use -vi-n-h- for my release builds, which removes info, notes and > hints, otherwise it becomes hard to see the wood from the trees!
Exactly what I want to try and do, but it seems FPC is really stubborn under FreeBSD. I tried the exact same -v parameters as you suggested, but it made no difference. :-/ Here is my build script. ------------[ build-64.sh ]----------------- #!/bin/sh # Build script for tiOPF using 64bit Free Pascal Compiler BASEDIR="/data/devel" FPC="$BASEDIR/fpc-2.6.2/x86_64-freebsd/bin/ppcx64" FPCVER=`$FPC -iV` FPCCPU=`$FPC -iTP` FPCHOST=`$FPC -iTO` TIOPF="$BASEDIR/tiopf_dailybuilds/tiopf" FBLIB="$TIOPF/3rdParty/FBLib" ZEOS="$BASEDIR/opensource/zeos_svn" $FPC -MObjFPC -S2cai -O1 -gl -vi-n-h- -B \ -Fu$FBLIB \ -Fi$FBLIB \ -Fu$ZEOS/src/core \ -Fu$ZEOS/src/component \ -Fu$ZEOS/src/dbc \ -Fu$ZEOS/src/parsesql \ -Fu$ZEOS/src/plain \ -Fu$ZEOS/packages/lazarus/ \ -Fi$TIOPF/Core/ \ -Fu$TIOPF/Core/ \ -Fu$TIOPF/Options/ \ -Fu$TIOPF/GUI/ \ -FU$TIOPF/Compilers/FPC/lib/$FPCCPU-$FPCHOST/ \ -dLINK_CSV -dLINK_TAB -dLINK_XMLLIGHT -dLINK_SQLDB_IB \ -dLINK_FBL -dLINK_ZEOS_FB -dLINK_ZEOS_MYSQL50 \ -dUseCThreads \ $TIOPF/Compilers/FPC/tiOPF.pas ----------------[ end ]------------------ And this is the output it generates..... Lots of noise! ------------------------------------------------ [freebsd (tiopf2)]$ ./build-64.run Free Pascal Compiler version 2.6.2 [2013/02/10] for x86_64 Copyright (c) 1993-2012 by Florian Klaempfl and others tiUtils.pas(3000,3) Hint: Local const "subdomain_chars" is not used tiUtils.pas(3261,43) Hint: Local variable "LBytes1" does not seem to be initialized tiUtils.pas(3262,43) Hint: Local variable "LBytes2" does not seem to be initialized tiCompress.pas(103,45) Hint: Function result variable does not seem to be initialized tiCompress.pas(115,47) Hint: Function result variable does not seem to be initialized tiBase64.pas(246,37) Hint: Local variable "scanBuf" does not seem to be initialized tiBase64.pas(273,27) Hint: Local variable "endBytes" does not seem to be initialized tiBase64.pas(346,33) Hint: Local variable "ReadBuf" does not seem to be initialized tiBase64.pas(95,19) Hint: Parameter "Offset" not used tiBase64.pas(95,36) Hint: Parameter "Origin" not used tiStreams.pas(571,44) Hint: Local variable "InputBuffer" does not seem to be initialized tiStreams.pas(646,20) Hint: Conversion between ordinals and pointers is not portable tiStreams.pas(646,88) Hint: Conversion between ordinals and pointers is not portable tiStreams.pas(764,37) Hint: Conversion between ordinals and pointers is not portable tiStreams.pas(332,3) Hint: Local const "MIME_BUFFER_SIZE" is not used tiLog.pas(284,43) Hint: Parameter "ASeverity" not used tiLog.pas(293,45) Hint: Parameter "ARaiseException" not used tiLog.pas(294,50) Hint: Parameter "ARaiseException" not used tiLog.pas(779,26) Hint: Conversion between ordinals and pointers is not portable tiLog.pas(137,33) Hint: Parameter "ADateTime" not used tiLog.pas(138,34) Hint: Parameter "AMessage" not used tiPool.pas(119,3) Hint: Local const "CMaxPoolSize" is not used tiPool.pas(120,3) Hint: Local const "CMinPoolSize" is not used ....snip.... tiOPF.pas(18,3) Hint: Unit "tiFilteredObjectList" not used in tiOPF tiOPF.pas(18,41) Hint: Unit "tiModelMediator" not used in tiOPF tiOPF.pas(18,58) Hint: Unit "tiQueryDataset" not used in tiOPF tiOPF.pas(18,74) Hint: Unit "tiOPFSqlScript" not used in tiOPF tiOPF.pas(19,15) Hint: Unit "tiLogToDebugSvr" not used in tiOPF tiOPF.pas(19,32) Hint: Unit "tiPersistenceLayers" not used in tiOPF tiOPF.pas(19,53) Hint: Unit "tiWebServerClientConnectionDetails" not used in tiOPF tiOPF.pas(20,3) Hint: Unit "tiCRC32" not used in tiOPF ------------------------------------------------- This is frustrating as hell. :) Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/ _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal