Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2020-03-23 Thread fredvs
Hello everybody. I am extremely happy to announce that, thanks to Sven, the mse-stat-file bug with fpc 3.3.1 trunk is fixed. The fixes are in commit b7530e6. Tests are highly welcome, this with fpc 3.0.4, fpc 3.2.0 and fpc 3.3.1 trunk. I did test compiling mseide, ideU and others projects and

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2020-02-01 Thread Roland Chastain
Hello Fred! Congratulation for finding the cause of the issue. About the solution, I have no idea, but I think that we are not in a hurry. The most important thing is that you spotted the problem. Regards. Roland -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2020-02-01 Thread fredvs
Hello everybody. Yep, I get it. I get the guilty and can fix it with a turn-around. >From rev 42375, in msegui function dynarrayelesize(const typinfo: pdynarraytypeinfo): sizeint; inline; the result is always = 0. This function is used in additempo() function, used mainly in the msestat.pas

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2020-01-13 Thread fredvs
>i don't know where's the layout is saved , project file orstatfile ? . Hello. This is what I understood (maybe I miss something): In mse-ide, when you load a layout, in fact you load a copy of the loaded project, that has also .prj as extension. But in the mse-ide layout-readstat()

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2020-01-13 Thread fredvs
> also i noted tons of warnings during the compilation , i remember > martin said that mseide/msegui should compile without warnings . > if i get free time i would like to investigate and try fixing those > warnings Ho, it would be great! And maybe it will help to fix everything. Fre;D --

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2020-01-13 Thread fredvs
> also load/save layout doesn't work Yes, it is because the main/only problem. The section "TForm" in the stat file is not well recognized. All the data about position, size, options, etc are not assigned to TForms. The strange thing is that for all other widgets (grid, tedit, tpanel, etc...)

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2020-01-13 Thread code dz
also load/save layout doesn't work , i don't know where's the layout is saved , project file or statfile ? . also i noted tons of warnings during the compilation , i remember martin said that mseide/msegui should compile without warnings . if i get free time i would like to investigate and try

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2020-01-13 Thread fredvs
Hello Roland. Thanks for the thanks! Some more infos about the mse-statfile problems with fpc 3.3.1 rev 2375 of Jul 13 2019. There is only one problem (I think): status of forms (size and position). All other widgets are correctly restored, even the data of the widgets. So if you absolutely

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2020-01-12 Thread Roland Chastain
Hello Fred! Thank you for the information. It's good that you have found a solution. I have just installed FPC 3.2.0 beta (r43914) with fpcupdeluxe. I will try to do some compilation tests with it. Regards. Roland -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2020-01-10 Thread fredvs
Hello. I still do not find the cause of the problems of mse-statfile using last fpc 3.3.1 trunk. But after deep tests it appears that only mse-statfile is concerned with the problems, all other widgets are working perfectly. So my solution is to not use mse-statfile anymore but instead use the

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-10-18 Thread fredvs
> Great news: with last commit in fpc 3.3.1 trunk, all seems to be ok now. Oops, sorry, fake news. It was my mistake, I did compile with fpc 3.0.4. So, no, with last commits, it does not fix the problems. Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-10-18 Thread fredvs
Hello everybody. Great news: with last commit in fpc 3.3.1 trunk, all seems to be ok now. Testers are highly welcome. Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ ___ mseide-msegui-talk mailing list

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-10-10 Thread fredvs
Hello Seighard. > And I'v ro cicede that I'm just now too busy with other projects to even > look over any such problems, even the zip-file problem you informed me > - sorry. No problems, me too I am very busy and can give only counted time! It is why I add here some of my investigations, so I

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-10-09 Thread Sieghard
Hello fredvs, you wrote on Wed, 9 Oct 2019 02:43:57 -0700 (MST): > Hello everybody. > > I did try deeply mse-gui + mse-ide with fpc 3.2.0 beta: > > https://svn.freepascal.org/svn/fpc/branches/fixes_3_2/ > > Till now, I did not find any problems and there are good news, the > compiled-binary

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-10-09 Thread fredvs
Hello everybody. I did try deeply mse-gui + mse-ide with fpc 3.2.0 beta: https://svn.freepascal.org/svn/fpc/branches/fixes_3_2/ Till now, I did not find any problems and there are good news, the compiled-binary is +- 10 % less big than the same code compiled with fpc 3.0.4. But for fpc

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-08-21 Thread fredvs
> I will do more test but if it is not a wrong compilation of fpc, it is a > **VERY, VERY GREAT** news. Ooops, it was *VERY, VERY FAKE** news, I did compile a old source. With last fpc commit, the problems remain. ;-( Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-08-21 Thread fredvs
Hello code dz, hello everybody. It seems that last commits of fpc... fix the problems. I did try rev 42753 of 21-08-2019 and all seems ok. I will do more test but if it is not a wrong compilation of fpc, it is a **VERY, VERY GREAT** news. I will remove all my fpc-work-directory and re-do it

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-08-15 Thread fredvs
Re-hello. It seems that the problem comes from the new implementation of "AttributeTable" in rtl/objpas/typinfo.pp. So now I pass the hand, good luck (and courage) for the challenger to find the solution. Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-08-15 Thread fredvs
Hello code dz, hello everybody. Some news from the front. The problems come from fpc commit of Sven Barth on Jul 13 2019: "as attributes can be part of any type they are best suited in a common part of TTypeData" >From Graeme-Github:

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-08-08 Thread fredvs
Hello code dz. > why not using fpcupdeluxe > t's very simple and every time you build fpc it only update the changing > files Thanks but it s not really the problem. With Graeme's script, I can do it. Is it possible to install regression with fpcupdeluxe? That new bug is difficult to debug

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-08-08 Thread code dz
hi fred if you only want to build fpc trunk without lazarus, than why not using fpcupdeluxe it's very simple and every time you build fpc it only update the changing files ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-08-08 Thread fredvs
Hello code dz. The last release of CodeTyphon (20-Apr-2019 ) uses one the last working rev 3.3.1 of fpc: Rev 41903: https://www.pilotlogic.com/sitejoom/index.php/downloads/download/14-codetyphon/123-codetyphonins-zip What I like with CodeTyphon is that the install is out-of-the-box and does not

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-08-07 Thread fredvs
> its new challenge ;) Yep but sadly I would not be disposable asap for this one. ;( Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-08-07 Thread code dz
> > In previous post you write that you did fix the problem. > Was it fake news? > i've rechecked again yes you are right , the problem still exist !! last time when i post this , i thought my mseide.exe was built by fpc 3.3.1 , but in fact it was built by fpc 3.0.4 , so for that i haven't seen

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-08-07 Thread fredvs
> so the problem exist ! Yes, and **very** difficult to debug because no crash, no error message. I am curious how Lazarus will deal with fpc > 3.0.4. The last release of Lazarus (last week) still uses fpc 3.0.4. > the mseide.exe which is associated with *.prj files was located in an > old

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-08-07 Thread code dz
hi fred so the problem exist ! time ago in lazarus forum i remember they talked about breaking filestream backward compatibility , i don't remember exactly where ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-08-06 Thread fredvs
Re-re-hello code dz. It seems that the problems come from procedure tstatfile.readstat(const stream: ttextstream = nil); That method uses ttextstream that is THandleStream descendant. So maybe we have to check what fpc did change to THandleStream or one of his descendant in last commits. But

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-08-06 Thread fredvs
Re-hello code dz. I did compile last (?) fpc trunk Rev 42482. Did compile mseide with it on Linux 64 bit. And now, like you explained, also on Linux 64, there are problems with view-layout. It is like fpc did change the behavior in file-list in directory. ;-( x 1000. Aaaargh + mama mia.

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-08-05 Thread fredvs
Hello code dz. > and every things works fine Magnificent! Have fun. Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-08-05 Thread code dz
oops my fault the mseide.exe which is associated with *.prj files was located in an old build of mseide now i changed the association to the new mseide build location , and every things works fine ___ mseide-msegui-talk mailing list

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-08-05 Thread code dz
hi fred your mseide_exe works just fine , so maybe i did something wrong when i compiled fpc or mseide ok i'll try to clean and compile every things from zero ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-08-04 Thread fredvs
Hello code dz. Finally I did find a Windows machine. But it is with Windows 10. mseide compiled with fpc version 3.3.1 SVN trunk Rev 41903 32 bit is ok here on Windows 10. Also for the layout change. mseide_exe.zip In

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-08-04 Thread fredvs
Hello. I did try with last fpc trunk on Linux 64 bit and all seems ok with last mse-org commits: Free pascal source checkout of https://svn.freepascal.org/svn/fpc/trunk at Sun Aug 4 10:18:27 UTC 2019 URL: https://svn.freepascal.org/svn/fpc/trunk Revision: 42577 Now for Windows and fpc trunk...

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-08-04 Thread code dz
2019-08-04 16:39 UTC+02:00, fredvs : > > So, in short, I totally understand now why Martin was not hot to make mse > compatible with fpc version that was not totally tested and released. > > Fre;D > yes ,i remember martin was not interesting in making msegui/ide compatible with fpc trunk , i

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-08-04 Thread fredvs
Re-hello code dz. If, by chance, the problem appear only in last trunks (after 3.3.1 [2019/04/24]), it would be interesting to see what was changed in fpc. Sadly I would not be able to jump into this asap. But of course you are welcome for it! Fre;D PS: I am not sure mse is a project for fpc

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-08-04 Thread fredvs
Hello code dz. > seems (view->load window layout ) is not working with the new fpc 3.3.1 Ha ? I cannot reproduce, see video: mseide_select_layout.mp4 It was compiled with Pascal Compiler version 3.3.1

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-08-04 Thread code dz
hi fred seems (view->load window layout ) is not working with the new fpc 3.3.1 ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-07-28 Thread fredvs
Hello Code DZ. > on the mailing list Sven posted new fix , did you try it ? seems more > compact Sven did help a lot. In last mse-org commit, all is fixed correctly, using the the right way and agreed by Sven. But for the code, I agree, it is not the most compact and nice it should be. It is

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-07-26 Thread fredvs
> on the mailing list Sven posted new fix , did you try it ? seems more compact Yes, of course, I did try it. And have already sent a answer (that takes time to appears). To resume: it does not give the expected result. Imho, you may try how many combinations of filters with TParamsFlags, fpc

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-07-26 Thread code dz
thanks fred yes it works now , on the mailing list Sven posted new fix , did you try it ? seems more compact 2019-07-26 0:30 UTC+02:00, fredvs : > Hello Roland, hello Code DZ. > >> where is the repository that contain the fix ? > > https://github.com/mse-org/mseide-msegui > > Fre;D > > > > -- >

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-07-25 Thread fredvs
Hello Roland, hello Code DZ. > where is the repository that contain the fix ? https://github.com/mse-org/mseide-msegui Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ ___ mseide-msegui-talk mailing list

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-07-25 Thread code dz
thanks fred for the effort . where is the repository that contain the fix ? ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-07-25 Thread fredvs
Hello everybody. OK, I think it is ok now. You may compile mseide with fpc >= 3.1.0. The "live- parameters-matcher" is working too. I did test with trunk fpc 3.3.1. All the fixes are in last commit 44f515f. Test and comment about the commit are welcome. Fre;D -- Sent from:

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-07-25 Thread Roland Chastain
.net Objet: Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0 Hello everybody. Sadly, the attempt to use fpc forum did not give lot of success: http://free-pascal-general.1045716.n5.nabble.com/TParamFlags-and-fpc-3-2-0-td5733871.html So finally, after a big fight, I did find a worka

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-07-25 Thread fredvs
Ooops, in previous mail, please read (---> fpc 3.2.0, not fpc 3.0.4) : > So the question is: should I commit the changes to make mseide work when > compiled with fpc *3.2.0* ? (but without live- parameters-matcher). Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-07-25 Thread fredvs
Hello everybody. Sadly, the attempt to use fpc forum did not give lot of success: http://free-pascal-general.1045716.n5.nabble.com/TParamFlags-and-fpc-3-2-0-td5733871.html So finally, after a big fight, I did find a workaround. Now, if you create a method via the mse-designer the correct

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-06-08 Thread code dz
I have no idea how to hide self parameter. I am not that good to fix such problems quickly but maybe it needs more deep invastigation On Jun 8, 2019 12:28, "fredvs" wrote: > > (if your application is not using TParamFlag). > > Huh, of course if your application uses TParamFlag or if you know

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-06-08 Thread fredvs
> (if your application is not using TParamFlag). Huh, of course if your application uses TParamFlag or if you know how to disable "self" parameter your advice and fixes are more than welcome. Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-06-08 Thread fredvs
Hello code dz. msegui can use 3.2.0 without problems. The only problem found is if you use TParamFlag in your application. But I doubt that lot of people use TParamFlag... mseide, that uses TParamFlag, should then be compiled with fpc 3.0.4. But mseide compiled with 3.0.4. can use msegui and

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-06-08 Thread Graeme Geldenhuys
On 07/06/2019 10:50 am, fredvs wrote: > Sadly I feel to be not welcome on fpc mailing-list to ask this. I don't understand why, but if that is the case, why not ask on the Lazarus web forums. It is run by different people, even though some familiar faces are there. Regards, Graeme -- fpGUI

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-06-07 Thread code dz
thanks fred so msegui should stay with fpc 3.0.4 until some one find a proper fix . i hope this summer i can find time to get deeper into msegui source code ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-06-07 Thread fredvs
> any news about this ? You may compile your mse applcations without problems if you do not use TParamFlag. With fpc 3.2.0. the "self" parameter is show by default. Sorry but I did not find the way to disable it. A fpc-guru is needed to give the solution. Sadly I feel to be not welcome on

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-06-06 Thread code dz
Hi any news about this ? ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-04-27 Thread fredvs
Re-hello Graeme. I seems that there is a problem with pfSelf parameter and last fpc 3.2.0, it is always set to true. Using flags:= [] shows always self-parameter. And using flags:= [pfSelf] or no has no difference, it is always pfSelf on (and so first parameter added). I did test all other

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-04-27 Thread fredvs
> So I would expect we simply need to add an extra check > during that iteration and discard all pfHidden and pfSelf parameters Yes, it is the fix. (But I maintain that if fpc did find a way to not show those new pfHidden and pfSelf parameters as default, it would be great too). Thanks Graeme.

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-04-27 Thread fredvs
-- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-04-27 Thread Graeme Geldenhuys
Hi Fred, On 27/04/2019 13:08, fredvs wrote: > In last fpc 3.2.0. was added a "hidden" parameter for TParamFlags (to do > like Java does?). > OK but why add this new parameter as default, why not add it with a no > default parameter to keep compatibly with earlier version? I do agree that FPC's

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-04-27 Thread fredvs
> I'll take a look at the MSEide code. IMHO, the problems and the fixes can be found in msedesigner.pas and msedesignparser. IMHO bis, it is great that fpc add new features in each new version but it would be even better if those new features are backward compatible. In last fpc 3.2.0. was

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-04-27 Thread Graeme Geldenhuys
On 26/04/2019 22:40, fredvs wrote: > The only problems found are with mseide himself and the new behavior of > TParamFlags. > But it seems, after lot of search, that, in all fpc world, only Martin did > know how to use TParamFlags. >

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-04-26 Thread fredvs
> And are we certain that my changes are the cause of those issues? Tested here on all my mse projects (including StrumPract) and all compile and run perfectly with both fpc 3.2.0 and fpc 3.3.1. The only problems found are with mseide himself and the new behavior of TParamFlags. But it seems,

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-04-25 Thread fredvs
Hello Graeme. IMHO, the guilty is here, in msedisignparser.pas (Sadly I did not find any example how to use TParameterFlag. The goal is to ignore first parameter if fpc >= 3.2.x) procedure getmethodparaminfo(const atype: ptypeinfo; var info:

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-04-25 Thread fredvs
> near the bottom of the page is a link to the development page Ooops, indeed, all what needed is there. Thanks. -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ ___ mseide-msegui-talk mailing list

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-04-25 Thread Patrick Goupell
On 4/24/19 10:06 PM, Fred van Stappen wrote: >The source for FPC can be downloaded from the www.freepascal.org site. > Follow the Download link on the right side of the screen. Thanks Patrick. But it seems that only source of official release fpc 3.0.4 can be

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-04-25 Thread Graeme Geldenhuys
On 25/04/2019 14:30, fredvs wrote: >> for pfHidden in the parameter flags and ignore them. > Not yet understood but maybe only changing a parameter should do the trick. You followed exactly what I would have done. Searching the source code for TParamFlag and see what it does with it. >From the

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-04-25 Thread fredvs
Hello Graeme. > > > http://wiki.freepascal.org/User_Changes_Trunk#TParamFlag_extended_for_hidden_parameters Ha, you touch something there. A "search in directories" reveal that tparamflag is only used in msedesignparser.pas (from where come the problem). So now the goal is to understand how to

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-04-25 Thread Fred van Stappen
> With 3.2.0 something obviously changed that "self" parameter is now > treated as a normal parameter, and not the hidden parameter that FPC injects. Aie, mama mia ;-( ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-04-25 Thread Graeme Geldenhuys
On 25/04/2019 13:06, Graeme Geldenhuys wrote: > This might be the cause of the problem. It is listed under FPC's > possible code breaking changes for 3.2.0 (what used to be Trunk). > > > http://wiki.freepascal.org/User_Changes_Trunk#TParamFlag_extended_for_hidden_parameters See also section

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-04-25 Thread Graeme Geldenhuys
On 25/04/2019 12:56, fredvs wrote: > procedure onexec2($self: Pointer; const sender: Tobject); ---> that is not > normal. > > What are the big changes of fpc 3.0.4 vs 3.2.0 ? > > Very strange to get 2 different results with same code but different > compilers. OK, I'm not an expert at this,

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-04-25 Thread fredvs
> He then confirmed that IFI is now a requirement. In mseifiglob, needed to compile mseide: {$ifdef mse_no_ifi} {$error 'MSEifi support required, please do not compile with "-dmse_no_ifi"'} {$endif} -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-04-25 Thread fredvs
Hello Graeme. Thanks for the infos about IFI, I will study it. I did some tests. Using your fixes and compiling mseide with fpc 3.0.4.: I did create a new project, with one form and one button, and assigning, via object inspector, "onexec" procedure to button.onecexute:

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-04-25 Thread Graeme Geldenhuys
On 25/04/2019 12:17, Fred van Stappen wrote: > PS: Huh, but what is the goal of IFI, Google-search dont give any help. You'll have to search the mailing list archive messages. Martin once described it to me years ago, but I can't remember all the details. I also know that at years ago

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-04-25 Thread Fred van Stappen
1 À : mseide-msegui-talk@lists.sourceforge.net Objet : Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0 On 25/04/2019 11:52, Fred van Stappen wrote: > Indeed, strange things append. And are we certain that my changes are the cause of those issues? What I changed was a simple method sig

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-04-25 Thread Graeme Geldenhuys
On 25/04/2019 11:52, Fred van Stappen wrote: > Indeed, strange things append. And are we certain that my changes are the cause of those issues? What I changed was a simple method signature related to an ifi interface declaration. I thought that IFI is only for remote application and display

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-04-25 Thread Fred van Stappen
Hello code dz. Indeed, strange things append. After creating a new project with a single form an a button, assigning button1.onexec method generate strange code: unit main; ... type tmainfo = class(tmainform) tbutton1: tbutton; procedure onexec($self: Pointer; const sender: TObject);

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-04-25 Thread Graeme Geldenhuys
On 25/04/2019 06:17, code dz wrote: > seems this patch is not enough > try create a gui app , add an event , and you will see some thing like I compiled the ide and opened my usual projects, compiled those projects and it was fine for that purpose. Then again, I don't use MSEide to develop MSEgui

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-04-24 Thread code dz
2019-04-25 1:05 UTC+02:00, Graeme Geldenhuys : > On 24/04/2019 21:22, fredvs wrote: >> Sadly I am not a guru in interface things and I do not see what is wrong >> with iificlient interface for fpc > 3.0.x. > > No worries. I had a quick look and fixed the issue. Please find attached > patches. I

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-04-24 Thread code dz
2019-04-25 1:05 UTC+02:00, Graeme Geldenhuys : > On 24/04/2019 21:22, fredvs wrote: >> Sadly I am not a guru in interface things and I do not see what is wrong >> with iificlient interface for fpc > 3.0.x. > > No worries. I had a quick look and fixed the issue. Please find attached > patches. I

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-04-24 Thread Fred van Stappen
>The source for FPC can be downloaded from the >www.freepascal.org site. > Follow the Download link on the right side of the screen. Thanks Patrick. But it seems that only source of official release fpc 3.0.4 can be downloaded on that site. Fre;D

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-04-24 Thread Fred van Stappen
De : Patrick Goupell Envoyé : mercredi 24 avril 2019 23:50 À : mseide-msegui-talk@lists.sourceforge.net Objet : Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0 On 4/24/19 3:00 PM, fredvs wrote: > Re-hello Graeme. > > Your script i

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-04-24 Thread Fred van Stappen
___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-04-24 Thread fredvs
> No worries. I had a quick look and fixed the issue. Graeme, you are too strong. Wow. Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-04-24 Thread Graeme Geldenhuys
On 24/04/2019 21:22, fredvs wrote: > Sadly I am not a guru in interface things and I do not see what is wrong > with iificlient interface for fpc > 3.0.x. No worries. I had a quick look and fixed the issue. Please find attached patches. I tested with FPC 3.0.4 and FPC 3.2.0.

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-04-24 Thread Patrick Goupell
On 4/24/19 3:00 PM, fredvs wrote: Re-hello Graeme. Your script is perfect but... it need to install svn to download source of fpc 3.2.0 (and I do not find the courage). ;-( (Things would be so much easier with GitHub). Anyway, thanks to Sternas and his out-of-the-box CodeTyphon, I did

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-04-24 Thread fredvs
Re-hello. OK, I jumped into fpc 3.3.1 + msegui. Indeed, same error: Free Pascal Compiler version 3.3.1 [2019/04/24] for x86_64 Copyright (c) 1993-2018 by Florian Klaempfl and others msegraphedits.pas(126,19) Error: No matching implementation for interface method "getdefaultifilink:iificlient;"

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-04-24 Thread Graeme Geldenhuys
On 24/04/2019 20:00, fredvs wrote: > Your script is perfect but... it need to install svn to download source of > fpc 3.2.0 (and I do not find the courage). Glad the script helped. I sometimes don't bother installing SVN either. It the case of 3.2.0 I too didn't bother with SVN. I simply

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-04-24 Thread fredvs
Re-hello Graeme. Your script is perfect but... it need to install svn to download source of fpc 3.2.0 (and I do not find the courage). ;-( (Things would be so much easier with GitHub). Anyway, thanks to Sternas and his out-of-the-box CodeTyphon, I did install fpc 3.3.1. I will see what appends

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-04-24 Thread fredvs
Thanks Graeme for that clear answer! > I thought Martin already worked on FPC 3.2.0 compatibility though. See > commit history using 'gitk --all' Hum, I fear that those commits are about FPC 3.0.x compatibility: In mclasses.pas: {$if FPC_FULLVERSION >= 030100} {$define mse_fpc_3_2} {$endif}

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-04-24 Thread Graeme Geldenhuys
On 24/04/2019 14:12, fredvs wrote: > Yes, but only source and compiling fpc is not my favorite game. I have been using the same compilation script for the last 7 years and it hasn't failed me yet. Just one reminder: A newer FPC may only be compiled with the latest _released_ FPC version. My

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-04-24 Thread fredvs
> The FPC 3.2.0 branch is being maintained and stablised here: Yes, but only source and compiling fpc is not my favorite game. Anyway, if I find lot of time and lot of courage I will do it and see what msegui + fpc 3.2.0 say. Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-04-24 Thread Graeme Geldenhuys
On 24/04/2019 13:28, Fred van Stappen wrote: > Hum, do you think it is already time to make msegui compatible for fpc > > 3.0.4? My rule of thumb (for fpGUI and such) is to not bother with FPC Trunk. But once the FPC team announces a Release Candidate - which will become the next release

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-04-24 Thread Fred van Stappen
o make msegui compatible for fpc > 3.0.4? Fre;D De : Graeme Geldenhuys Envoyé : mercredi 24 avril 2019 13:45 À : mseide-msegui-talk@lists.sourceforge.net Objet : Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0 On 24/04/2019 12:27, fredvs wrote: >

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-04-24 Thread Graeme Geldenhuys
On 24/04/2019 12:27, fredvs wrote: > Free Pascal Compiler version 3.0.2 [2017/02/05] for x86_64 You are using FPC 3.0.2, which is why it is working. I said 3.0.2 and 3.0.4 works fine. The compilation error only occurs with FPC 3.2.0 (the release candidate of the next FPC release). I haven't tried

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-04-24 Thread fredvs
>Did you try to remove all *.ppu. *.o and friends before compilation? > Sometimes, with fpc, -B parameter is not enough to clean all. It is the reason why I highly prefer to always use the -FUadirectory parameter. In that case all the *.ppu and friends are in same directory and easy to delete.

Re: [MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-04-24 Thread fredvs
Hello Graeme: Here result of compilation of last mseide with fpc 3.0.2. on Debian 9.8: Free Pascal Compiler version 3.0.2 [2017/02/05] for x86_64 Copyright (c) 1993-2016 by Florian Klaempfl and others Target OS: Linux

[MSEide-MSEgui-talk] Compilation error with FPC 3.2.0

2019-04-24 Thread Graeme Geldenhuys
Hi, I get a compilation error when using FPC 3.2.0: No matching implementation of interface found It works fine when I compile with FPC 3.0.4 though. = ...snip... mseedit.pas(27,32) Hint: Unit "mseifiglob" not used in mseedit mseedit.pas(683,19) Hint: Unit