Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2010-03

Changes in 2.4.0

5 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Unknown author

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

After quite a long time of absence from FPC, I decided to pick it up again.
One of the first things I stumbled upon was the absence of ResourceStringTableCount, GetResourceStringHash and related functions.
Is there somewhere a list that tells me all the changes between 22.4.0 and previous versions?

Thanks for any help,

Regards,

Hans.

J.D.H. Beekhuizen
e-mail:
tel: +31(71)4015437
fax: +31(71)4017198

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)

iEYEARECAAYFAkuyCAUACgkQLfImQU9wLUoDMQCeJE/o7Q3ejpkYdIhAgqysjRak WWoAnjpJ+kTy9a1brV7YFAlOnfqx7Tej
=K8vp
-----END PGP SIGNATURE-----

Jonas Maebe
to Unknown author
Show quoted text 5 lines
After quite a long time of absence from FPC, I decided to pick it up again. One of the first things I stumbled upon was the absence of ResourceStringTableCount, GetResourceStringHash and related functions.

The RTL sources indicate that they are only available when you compile your application using Delphi (-Mdelphi or {$mode delphi}) or ObjFPC (- Mobjfpc or {$mode objfpc}) syntax modes.

Is there somewhere a list that tells me all the changes between 22.4.0 and previous versions?

In terms of what has been added: the various "whatsnew.txt" files in the releases, or from svn-web: http://svn.freepascal.org/svn/fpcbuild/tags/release_2_4_0/install/doc/whatsnew.txt (that one also contains the "whatsnew" info from previous releases)

In terms of things that may require you to change code or which may affect the usage of the compiler: http://wiki.freepascal.org/User_Changes_2.4.0 (and similar pages for previous releases, linked from the first paragraph).

Jonas

Michael Van Canneyt

These functions still exist.

You must use -S2 or -Sd to see them. Or put {$mode objfpc} or {$mode delphi} in your sources.

Michael.

Show quoted text 35 lines
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello, After quite a long time of absence from FPC, I decided to pick it up again. One of the first things I stumbled upon was the absence of ResourceStringTableCount, GetResourceStringHash and related functions. Is there somewhere a list that tells me all the changes between 22.4.0 and previous versions? Thanks for any help, Regards, Hans. J.D.H. Beekhuizen e-mail: tel: +31(71)4015437 fax: +31(71)4017198 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (GNU/Linux) iEYEARECAAYFAkuyCAUACgkQLfImQU9wLUoDMQCeJE/o7Q3ejpkYdIhAgqysjRak WWoAnjpJ+kTy9a1brV7YFAlOnfqx7Tej =K8vp -----END PGP SIGNATURE----- _______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Unknown author
to Jonas Maebe: The RTL sources indicate that they are only available when you compile your application…

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello Jonas,

Today, Mar 30, Jonas Maebe wrote to FPC-Pascal users discussions about Re:...:

Thanks to you and Michael for the speedy reply.

JM > > One of the first things I stumbled upon was the absence of JM > > ResourceStringTableCount, GetResourceStringHash and related JM > > functions.

JM > The RTL sources indicate that they are only available when you compile your JM > application using Delphi (-Mdelphi or {$mode delphi}) or ObjFPC (-Mobjfpc JM > or {$mode objfpc}) syntax modes.

The funny thing is, that I have that directive in all my sources, indirectly vi $I statement. I wonder if I have to give a full path name there? Will try that out tonight.

JM > > Is there somewhere a list that tells me all the changes between JM > > 22.4.0 and previous versions?
JM > In terms of what has been added: the various "whatsnew.txt" files in the JM > releases, or from svn-web:
JM > http://svn.freepascal.org/svn/fpcbuild/tags/release_2_4_0/install/doc/whatsnew.txt JM > (that one also contains the "whatsnew" info from previous releases)

I will check them out tonight.

JM > In terms of things that may require you to change code or which may affect JM > the usage of the compiler: http://wiki.freepascal.org/User_Changes_2.4.0 JM > (and similar pages for previous releases, linked from the first paragraph).

This as well.

Regards,

Hans.

J.D.H. Beekhuizen
e-mail:
tel: +31(71)4015437
fax: +31(71)4017198

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)

iEYEARECAAYFAkuyDucACgkQLfImQU9wLUpougCgvoQ+7MmmpWm0YAA9cAH864CI WusAoIF4DJQqFrhmuHG2C/3dq/vFKa2J
=uG45
-----END PGP SIGNATURE-----

Jonas Maebe
to Unknown author
Show quoted text 9 lines
JM > The RTL sources indicate that they are only available when you compile your JM > application using Delphi (-Mdelphi or {$mode delphi}) or ObjFPC (-Mobjfpc JM > or {$mode objfpc}) syntax modes. The funny thing is, that I have that directive in all my sources, indirectly vi $I statement. I wonder if I have to give a full path name there?

If the compiler cannot find an include file, it will terminate with an error.

Will try that out tonight.

These directives are global and must appear near the top (before the "uses" statement and any declarations). In some older FPC versions, this was not checked very strictly. Enable warnings (-vw) and the compiler will print a warning when it encounters a global directive in a wrong place:

tt.pp(9,2) Warning: Misplaced global compiler switch

Jonas