- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I opened your project and did a build which was by default a 64bit build. It does indeed ICE which is a bug.
I will note that the interface for MouseHookWndProc does not match the implementation and that the implementation does not have the arguments correctly defined for a callback. If use are using IFWINTY (DFWINTY is the same but and older name) then:
integer :: nCode
integer(fwparam) :: wParam ! 32 bit
integer(flparam) :: lParam ! 32/64 bit from
If I correct that it compiles without and ICE. The interface checking should have maybe kicked and generated and error.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Interface to MouseHookWndProc was manually added by hand to sample code to obtain the smallest code which crashes compiler. It is correctly defined in another big module (module EODInterfaces) which contains interfaces to all routines.
Thank you for your comment.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Just to be clear the declarations of the args in MouseHookWndProc were incorrect, it would be ok in a 32 bit built but not in a 64 bit build. The interface was also wrong in in that the declarations were not correct but also in that they were different to the actual routine. It would make more sense to put those external subroutines into a module and save having to supply the interfaces explicitly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for your report. The ICE will be fixed in the next compiler release.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Update 2023.2.0 of IFX compiler is able to compile sample code wirthout error.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page