Sign in Join

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

Mailing lists / lazarus / 2001-04

Bugs of Lazarus

3 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

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

Marco van de Voort
to FoodTechnologist: I tried to compile lazarus with fpc-1.1 again, it was nothing good. But some problems…

(See also Peter's reply)

Show quoted text 7 lines
some problems were found. At first, there is some code, where private fields of self should be correctly accessed, but with statement operates with another class, which contain private fields with same names. It can be easily fixed adding self. Next, in winapis you can find different function headers (in interface and implementation). I think, it is a bad idea to make such mixing. Besides, I found such definitions as hDC:HDC; hWND:HWND.

We don't like (hate is even a better word) it either but problem is that:

1. C allows it, and therefore automatic header conversion utils poop this out.
2. Delphi also allows it. This makes that a lot of Delphi headers also support it.

Reply by email

FoodTechnologist

I tried to compile lazarus with fpc-1.1 again, it was nothing good. But some problems were found. At first, there is some code, where private fields of self should be correctly accessed, but with statement operates with another class, which contain private fields with same names. It can be easily fixed adding self. Next, in winapis you can find different function headers (in interface and implementation). I think, it is a bad idea to make such mixing. Besides, I found such definitions as hDC:HDC; hWND:HWND. Compilers work well with it, but I think, it is a very,very bad idea of mixing var and type names, espetially in case-insensitive languages.
After fixing all these errors lazarus could not run, it seems that there are resource problems.
So, it is very strange that fpc 1.0.5 works well with it!

Reply by email

Peter Vreman
Show quoted text 13 lines
I tried to compile lazarus with fpc-1.1 again, it was nothing good. But some problems were found. At first, there is some code, where private fields of self should be correctly accessed, but with statement operates with another class, which contain private fields with same names. It can be easily fixed adding self. Next, in winapis you can find different function headers (in interface and implementation). I think, it is a bad idea to make such mixing. Besides, I found such definitions as hDC:HDC; hWND:HWND. Compilers work well with it, but I think, it is a very,very bad idea of mixing var and type names, espetially in case-insensitive languages. After fixing all these errors lazarus could not run, it seems that there are resource problems. So, it is very strange that fpc 1.0.5 works well with it!

fpc 1.1 is not tested yet against lazarus. I'm first running the testsuite on the compiler. When the results from that are good enough i'll try to compile lazarus.

Reply by email