C++, exceptions, SJLJ, Dwarf2

Richard W.M. Jones rjones at redhat.com
Mon Nov 10 17:44:57 UTC 2008


Anyone got any idea about this?

http://www.reddit.com/r/programming/comments/7cbjv/windows_cross_compiler_proposed_feature_for/c06ab3w

  One question, for C++ do you use SJLJ or Dwarf2 exceptions? I have
  switched the compiler to DW2 recently.

  Also, one pitfall that has hit us, and that you need to avoid, is the
  inability for C++ exceptions to cross DLL boundaries. You need to
  provide support for that from the ground up, before you get too loaded
  down with DLL's which can't support exceptions.

  Here [http://inkscape.modevia.com/] is the stuff we use daily. The
  compilers and "lib bundles" are located in win32libs.

Rich.

-- 
Richard Jones, Emerging Technologies, Red Hat  http://et.redhat.com/~rjones
Read my OCaml programming blog: http://camltastic.blogspot.com/
Fedora now supports 68 OCaml packages (the OPEN alternative to F#)
http://cocan.org/getting_started_with_ocaml_on_red_hat_and_fedora



More information about the mingw mailing list