Sign in Join

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

Mailing lists / fpc-pascal / 2004-01

FPC1.9.2Beta issues (mostly in linux)

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

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

Rodrigo R

Hi all!!

Returning to fpc, and it's worth, as usual ^_-. I have started using the 1.9.2Beta version for windows and for linux, and i want to make some comments regarding problems i had during the compilations:

- [linux] There is some that i
had to uncomment in order to compile my code (=>
JEDI-SDL)
- [linux] The gettimeofday() routine is lost from the unix unit, and the one used in oldlinux does not work. Also, I cannot find (outside of oldlinux) where is the GetEnv() routine.
- [both] During the compilation of my code i had the following error (both in windows and in linux, this is the error from the windows compiler):

<<
Compiling estadistica.pas
estadistica.pas(58,51) Warning: Automatic type
conversion from floating type to COMP which is an
integer type
Compilation aborted estadistica.pas:64
Runtime error 207 at 0x004F177B
0x004F177B
0x0042DD7F
0x004258AA
0x004531DD
0x00435C35
0x004531DD
0x00436FFD
0x004531DD
0x00436FFD
0x004531DD

>

...sorry if i cannot give an snippet, i tried to
isolate the error, but no use. I can only say that I have to compile the code two times, in the first round hangs, in the second one it uses the old libraries and everything goes smooth.

Cheers,

Rodrigo "Rui" R. (1/2 RRC2Soft)

PS: Please, CC replies to my email.

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/

Marco van de Voort
to Rodrigo R
Show quoted text 8 lines
Returning to fpc, and it's worth, as usual ^_-. I have started using the 1.9.2Beta version for windows and for linux, and i want to make some comments regarding problems i had during the compilations: - [linux] There is some that i had to uncomment in order to compile my code (=> JEDI-SDL)

This is a problem on the Jedi-sdl side. However I'm currently corresponding with the maintainer to get it upgraded. Not only to compile straight away with 1.9.x, but also for other unices.

The last release version is in CVS under projects/contrib/sdl along with a few ported demoes.

- [linux] The gettimeofday() routine is lost from the unix unit,

Unit linux/unix is totally split up. See
http://www.stack.nl/~marcov/unixrtl.pdf

for a short description.

and the one used in oldlinux does not work.

Strange, the oldlinux one is a direct copy of the 1.0.x code. Hmm, maybe something register parameters?

Also, I cannot find (outside of oldlinux) where is the GetEnv() routine.

baseunix.fpgetenv