[fpc-pascal] Nan values SIGFPE exception on 64 bit

2010-11-26 Thread Birger Jansen
I encounter a strange difference in the behaviour of NaN values between windows 32 and 64 bit. Have a look at the following program: --- program NanExample; uses math; var a, b, c: Double; begin a := 0.0/0.0; b := 0.0/0.0; c := max(a,b); if IsNan(c) then

Re: [fpc-pascal] Nan values SIGFPE exception on 64 bit

2010-11-26 Thread Jonas Maebe
On 26 Nov 2010, at 09:48, Birger Jansen wrote: I encounter a strange difference in the behaviour of NaN values between windows 32 and 64 bit. Have a look at the following program: --- program NanExample; uses math; var a, b, c: Double; begin a := 0.0/0.0; b :=

[fpc-pascal] bugtracker questions/report (where to send)

2010-11-26 Thread Max Vlasov
Hi, don't know where is the best place to ask about the bugtracker and mantis. Please let me know. I have two questions: - Is everything is ok with steps to reproduce field in fpc bugtracker? It never show at the issue view. Hope it saves and and at least the developers are seeing it. - Google

Re: [fpc-pascal] bugtracker questions/report (where to send)

2010-11-26 Thread Vincent Snijders
2010/11/26 Max Vlasov max.vla...@gmail.com: Hi, I have two questions: - Is everything is ok with steps to reproduce field in fpc bugtracker? It never show at the issue view. Hope it saves and and at least the developers are seeing it. It is visible in the advanced view, not in the simple

Re: [fpc-pascal] bugtracker questions/report (where to send)

2010-11-26 Thread Jonas Maebe
On 26 Nov 2010, at 10:38, Max Vlasov wrote: - Is everything is ok with steps to reproduce field in fpc bugtracker? It never show at the issue view. Hope it saves and and at least the developers are seeing it. You can see it by clicking on view advanced in the top right corner when

RE: [fpc-pascal] Nan values SIGFPE exception on 64 bit

2010-11-26 Thread Birger Jansen
It should cause an exception everywhere by default (it does on PowerPC 32 bit). You have to use math.setexceptionmask if you want to mask exceptions for invalid floating point operations: http://www.freepascal.org/docs-html/rtl/math/setexceptionmask.html Thanks, that fixed my problem.

Re: [fpc-pascal] bugtracker questions/report (where to send)

2010-11-26 Thread Max Vlasov
On Fri, Nov 26, 2010 at 12:45 PM, Jonas Maebe jonas.ma...@elis.ugent.bewrote: On 26 Nov 2010, at 10:38, Max Vlasov wrote: - Is everything is ok with steps to reproduce field in fpc bugtracker? It never show at the issue view. Hope it saves and and at least the developers are seeing it.

RE: [fpc-pascal] Building FPC trunk on XP win64

2010-11-26 Thread Tomas Hajny
On Thu, November 25, 2010 12:17, Birger Jansen wrote: Well, bash is probably the problem. FPC doesn't provide bash, so somehow unix utilities from some other set were used (cygwin,mingw) and they complain that they don't run in their own environment. To test this, sanitize your PATH so that

RE: [fpc-pascal] Building FPC trunk on XP win64

2010-11-26 Thread Birger Jansen
make[3]: Leaving directory `E:/FPC/lazarus/fpc/trunk/compiler' __missing_command_CMP -i218 ppc3.exe ppcx64.exe process_begin: CreateProcess((null), __missing_command_CMP -i218 ppc3.exe ppcx64 .exe, ...) failed. Yes - this means that you don't have GNU tool called cmp in the PATH.

Re: [fpc-pascal] Building FPC trunk on XP win64

2010-11-26 Thread Vincent Snijders
2010/11/26 Birger Jansen bir...@cnoc.nl: I'll see if I can find the missing cmp.exe in 64 bit version or try with the 32 bit version. Copying the cmp.exe that comes with the Lazarus 32 bit installer to a 64 bit installation worked. Can this file be included in the 64 bit installer to