[fpc-pascal] Socket x SSocket
Hi. I'm getting a warning error in program with a new FPC 2.2.0 because the socket library was obsolete. The recomended option is ssocket library but I did'nt find this documentation. Could you help me ? Thanks, FxL _ ConheƧa o Windows Live Spaces, a rede de relacionamentos conectada ao Messenger! http://spaces.live.com/signup.aspx___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] Socket x SSocket
> I'm getting a warning error in program with a new FPC 2.2.0 because the > socket library was obsolete. > The recomended option is ssocket library but I did'nt find this documentation. It's not the sockets unit that is obsolete, but just a few of the older (1.0.x) functions are deprecated. Solution: use the "new" ones that are in there since 2003, and where released in 2.0. They can be recognized by the fp prefix. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
[fpc-pascal] Compiling FPC 2.3 with FPC 2.2 (Mac OS i386)
Hello, I have installed FPC 2.2 from the Lazarus snapshots. Now I am trying to compile the latest FPC sources from SVN. A few weeks ago, this worked but now I get: "variants.pp(518,14) Fatal: Unknown compilerproc "fpc_copy_proc". Check if you use the correct run time library. How can I check this? According to my fpc.cfg file which came with Lazarus, the compiler should automatically go into the correct folders for its library: -Fu/usr/local/lib/fpc/$fpcversion/units/$fpctarget -Fu/usr/local/lib/fpc/$fpcversion/units/$fpctarget/* -Fu/usr/local/lib/fpc/$fpcversion/units/$fpctarget/rtl The reason I want to recompile is the improvements to tppumodule.search_unit. In Lazarus, I often have to rebuild the whole project because files are not found when I only hit F9. Have the improvements to tppumodule.search_unit been ported back to version 2.2 yet? Where can I get the 2.2 sources? Thanks. Kind Regards, Tobias Giesen www.superflexible.com ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
[fpc-pascal] Re: Compiling ... Got it working
Hello, I cleaned up some folders, deleting files from previous compilations and updating to the latest SVN and now it's working. FPC 2.3.1 finds my files much better than 2.2. Maybe the improvements in fppu.pas (tppumodule.search_unit) could be ported back to version 2.2 so that other developers will enjoy them too. Cheers, Tobias http://www.superflexible.com ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] Compiling FPC 2.3 with FPC 2.2 (Mac OS i386)
> Where can I get the 2.2 sources? See the development page on the website. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal