opnsense-ports/cad/opencascade/files/patch-src_Standard_Standard__CString.cxx
Franco Fichtner f403dd80c6 */*: sync with upstream
Taken from: FreeBSD
2024-03-22 08:28:46 +01:00

11 lines
725 B
C++

--- src/Standard/Standard_CString.cxx.orig 2023-12-04 15:53:08 UTC
+++ src/Standard/Standard_CString.cxx
@@ -50,7 +50,7 @@
// strtod, strtol, strtoll functions. For other system with locale-depended
// implementations problems may appear if "C" locale is not set explicitly.
#if !defined(__ANDROID__) && !defined(__QNX__) && !defined(__MINGW32__)
- #error System does not support xlocale. Import/export could be broken if C locale did not specified by application.
+ #warning System does not support xlocale. Import/export could be broken if C locale did not specified by application.
#endif
#define strtod_l(thePtr, theNextPtr, theLocale) strtod(thePtr, theNextPtr)
#endif