|
@@ -37,7 +37,7 @@
|
|
|
#endif
|
|
|
|
|
|
|
|
|
-static void UNSUPPORTED(const char *feature) __attribute__((noreturn));
|
|
|
+__declspec(noreturn) static void UNSUPPORTED(const char *feature) __attribute__((noreturn));
|
|
|
|
|
|
static void UNSUPPORTED(const char *feature)
|
|
|
{
|
|
@@ -70,8 +70,8 @@ extern "C" EXPORT bool getECLPluginDefinition(ECLPluginDefinitionBlock *pb)
|
|
|
|
|
|
namespace mysqlembed {
|
|
|
|
|
|
-static void failx(const char *msg, ...) __attribute__((noreturn)) __attribute__((format(printf, 1, 2)));
|
|
|
-static void fail(const char *msg) __attribute__((noreturn));
|
|
|
+__declspec(noreturn) static void failx(const char *msg, ...) __attribute__((format(printf, 1, 2), noreturn));
|
|
|
+__declspec(noreturn) static void fail(const char *msg) __attribute__((noreturn));
|
|
|
|
|
|
static void failx(const char *message, ...)
|
|
|
{
|
|
@@ -326,7 +326,7 @@ protected:
|
|
|
|
|
|
// Conversions from MySQL values to ECL data
|
|
|
|
|
|
-static void typeError(const char *expected, const RtlFieldInfo *field) __attribute__((noreturn));
|
|
|
+__declspec(noreturn) static void typeError(const char *expected, const RtlFieldInfo *field) __attribute__((noreturn));
|
|
|
|
|
|
static void typeError(const char *expected, const RtlFieldInfo *field)
|
|
|
{
|