Skip to content

Commit

Permalink
directvt#696 Explicitly disable FPU exceptions on Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
o-sdn-o committed Dec 20, 2024
1 parent b57976a commit ff720b9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/netxs/desktopio/application.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ namespace netxs::app

namespace netxs::app::shared
{
static const auto version = "v0.9.99.59";
static const auto version = "v0.9.99.60";
static const auto repository = "https://github.com/directvt/vtm";
static const auto usr_config = "~/.config/vtm/settings.xml"s;
static const auto sys_config = "/etc/vtm/settings.xml"s;
Expand Down
5 changes: 4 additions & 1 deletion src/netxs/desktopio/system.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1261,7 +1261,10 @@ namespace netxs::os
auto platform = "macOS"s;
#elif defined(__linux__)
auto platform = "Linux"s;
auto fedisableexcept = ::fedisableexcept(FE_ALL_EXCEPT);
if constexpr (!debugmode)
{
::fedisableexcept(FE_ALL_EXCEPT);
}
#elif defined(__BSD__)
auto platform = "BSD"s;
#else
Expand Down

0 comments on commit ff720b9

Please sign in to comment.