CI updates
This commit is contained in:
+1
-1
@@ -372,8 +372,8 @@ typedef long long upx_off_t;
|
||||
|
||||
// for no-op debug output
|
||||
inline void NO_printf(const char *, ...) noexcept attribute_format(1, 2);
|
||||
inline void NO_fprintf(FILE *, const char *, ...) noexcept attribute_format(2, 3);
|
||||
inline void NO_printf(const char *, ...) noexcept {}
|
||||
inline void NO_fprintf(FILE *, const char *, ...) noexcept attribute_format(2, 3);
|
||||
inline void NO_fprintf(FILE *, const char *, ...) noexcept {}
|
||||
|
||||
#if __has_builtin(__builtin_memcmp)
|
||||
|
||||
+1
-1
@@ -133,7 +133,7 @@ public:
|
||||
CantPackException(const char *m = nullptr, bool w = false) noexcept : super(m, 0, w) {}
|
||||
};
|
||||
|
||||
class UnknownExecutableFormatException : public CantPackException {
|
||||
class UnknownExecutableFormatException final : public CantPackException {
|
||||
typedef CantPackException super;
|
||||
public:
|
||||
UnknownExecutableFormatException(const char *m = nullptr, bool w = false) noexcept
|
||||
|
||||
@@ -45,23 +45,23 @@
|
||||
// libc++ hardenining
|
||||
#if defined(__cplusplus) && 0 // TODO later
|
||||
|
||||
#if defined(__clang__) && defined(__clang_major__) && (__clang_major__ + 0 >= 18)
|
||||
#if !defined(_LIBCPP_HARDENING_MODE)
|
||||
#if defined(__clang__) && defined(__clang_major__) && (__clang_major__ + 0 >= 18)
|
||||
#if DEBUG
|
||||
#define _LIBCPP_HARDENING_MODE _LIBCPP_HARDENING_MODE_DEBUG
|
||||
#else
|
||||
#define _LIBCPP_HARDENING_MODE _LIBCPP_HARDENING_MODE_EXTENSIVE
|
||||
#endif
|
||||
#endif
|
||||
#endif // clang >= 18
|
||||
#endif // _LIBCPP_HARDENING_MODE
|
||||
|
||||
#if defined(__clang__) && defined(__clang_major__) && (__clang_major__ + 0 < 18)
|
||||
#if !defined(_LIBCPP_ENABLE_ASSERTIONS)
|
||||
#if defined(__clang__) && defined(__clang_major__) && (__clang_major__ + 0 < 18)
|
||||
#if DEBUG
|
||||
#define _LIBCPP_ENABLE_ASSERTIONS 1
|
||||
#endif
|
||||
#endif
|
||||
#endif // clang < 18
|
||||
#endif // _LIBCPP_ENABLE_ASSERTIONS
|
||||
|
||||
#endif // TODO later
|
||||
|
||||
|
||||
Reference in New Issue
Block a user