Hi, and sorry for the late reply, somehow your mail slipped through
moderation.

On Wed, Dec 14, 2022 at 05:33:45PM +0800, Zhai Zhaoxuan <kxuan...@gmail.com> 
wrote:
> GCC & clang provide the "-fno-exception" flag to completely disable
> exceptions for C++ code.

I assume you mean fno-exceptions.

> Some libraries allow exceptions to be disabled.

libev also allows exceptions to be disabled - the question is how your
compiler handles that. the sad truth is that ev++.h is written in c++ and not
in a compiler-specific dialect.

However, ev++.h is fully optional, libev proper does not use any c++ and
should compile fine with -fno-exceptio0ns, so you sahould be able to use
it directly.

-- 
                The choice of a       Deliantra, the free code+content MORPG
      -----==-     _GNU_              http://www.deliantra.net
      ----==-- _       generation
      ---==---(_)__  __ ____  __      Marc Lehmann
      --==---/ / _ \/ // /\ \/ /      schm...@schmorp.de
      -=====/_/_//_/\_,_/ /_/\_\

_______________________________________________
libev mailing list
libev@lists.schmorp.de
http://lists.schmorp.de/mailman/listinfo/libev

Reply via email to