From 7760bb54903621525b7184592d190ad009912749 Mon Sep 17 00:00:00 2001 From: shahramn Date: Thu, 24 Oct 2024 19:36:25 +0100 Subject: [PATCH] Deprecation warning --- src/grib_context.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/grib_context.cc b/src/grib_context.cc index 4d5b92242..17adcc312 100644 --- a/src/grib_context.cc +++ b/src/grib_context.cc @@ -1027,7 +1027,7 @@ void* grib_context_buffer_malloc_clear(const grib_context* c, size_t size) void grib_context_set_memory_proc(grib_context* c, grib_malloc_proc m, grib_free_proc f, grib_realloc_proc r) { - fprintf(stderr, "Warning: The %s function is deprecated and will be removed later.\n", __func__); + fprintf(stderr, "ECCODES WARNING : The %s function is deprecated and will be removed in a future release.\n", __func__); c->free_mem = f; c->alloc_mem = m; c->realloc_mem = r; @@ -1035,14 +1035,14 @@ void grib_context_set_memory_proc(grib_context* c, grib_malloc_proc m, grib_free void grib_context_set_persistent_memory_proc(grib_context* c, grib_malloc_proc m, grib_free_proc f) { - fprintf(stderr, "Warning: The %s function is deprecated and will be removed later.\n", __func__); + fprintf(stderr, "ECCODES WARNING : The %s function is deprecated and will be removed in a future release.\n", __func__); c->free_persistent_mem = f; c->alloc_persistent_mem = m; } void grib_context_set_buffer_memory_proc(grib_context* c, grib_malloc_proc m, grib_free_proc f, grib_realloc_proc r) { - fprintf(stderr, "Warning: The %s function is deprecated and will be removed later.\n", __func__); + fprintf(stderr, "ECCODES WARNING : The %s function is deprecated and will be removed in a future release.\n", __func__); c->free_buffer_mem = f; c->alloc_buffer_mem = m; c->realloc_buffer_mem = r;