Mingw-64 Prevent and Detect domain and range errors in math functions - Printable Version Kodi Community Forum ( https://forum.kodi.tv)+-- Forum: Discussions ( https://forum.kodi.tv/forumdisplay.php?fid=222)+--- Forum: Off-Topic ( https://forum.kodi.tv/forumdisplay.php?fid=113)--- Thread: Mingw-64 Prevent and Detect domain and range errors in math functions ( /showthread.php?tid=331605) |

Mingw-64 Prevent and Detect domain and range errors in math functions - Salamanca0405 - 2018-05-05
I am trying to determine how to handle domain and range errors using the g++ compiler (Mingw64). I have provided some sample code below which is the approach that I use for g++ on Linux systems. When I compile I get the following messages:warning: ignoring #pragma STDC FENV_ACCESS [-Wunknown-pragmas] #pragma STDC FENV_ACCESS ON error: 'math_errhandling' was not declared in this scope error: 'MATH_ERRNO' was not declared in this scope error: 'MATH_ERREXCEPT' was not declared in this scopeI have looked for these symbols in the normal include headers but I dont see them. Any help is greately appreciated. I must note that math_errhandling, MATH_ERRNO, MATH_ERREXCEPT and the pragma STDC FENV_ACCESS are part of the c++(2011) standard. RE: Mingw-64 Prevent and Detect domain and range errors in math functions - Karellen - 2018-05-05
@Salamanca0405 This is a forum specifically for Kodi. We are not a general help forum. I suggest you seek assistance at a more appropriate forum Moved to off-topic |

This forum uses Lukasz Tkacz MyBB addons.