I'm working on the ability to produce Windows builds of fldigi using the Fedora MinGW stack.

Currently the 32bit builds compile with little to no warnings and appear to function properly, however, on 64bit builds there is a ton more warnings (I have to use -fpermissive) and the program segfaults shortly after launching.

I have tried to capture a gdb stack trace but it produces no results... zero.

For instance:
dialogs/fl_digi.cxx: In function 'void cb_mnuVisitURL(Fl_Widget*, void*)':
dialogs/fl_digi.cxx:2616:68: error: cast from 'HINSTANCE' {aka 'HINSTANCE__*'} to 'int' loses precision [-fpermissive]
 2616 |  if ((int)ShellExecute(NULL, "open", url, NULL, NULL, SW_SHOWNORMAL) <= 32)
      |                                                                    ^

I see no such issues building for Fedora x86_64. I now the MinGW gcc is a port, but it's still based on GCC so I guess I don't understand why all the differences?

Thanks,
Richard