From 4457ceac19389918c1bd4b1973e80de390db7b02 Mon Sep 17 00:00:00 2001 From: Martin Nilsson <nilsson@opera.com> Date: Tue, 18 Feb 2014 16:30:01 +0100 Subject: [PATCH] #if efun() is marked as deprecated in the documentation. Actually warn about it as well. --- src/preprocessor.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/preprocessor.h b/src/preprocessor.h index 1aa195a42e..e6455ad576 100644 --- a/src/preprocessor.h +++ b/src/preprocessor.h @@ -539,6 +539,9 @@ static ptrdiff_t calcC(struct cpp *this, WCHAR *data, ptrdiff_t len, int arg = 0; INT_TYPE start_line; + if( func_name==efun_str && !CPP_TEST_COMPAT(this,7,9) ) + cpp_warning(this, "Directive efun() deprecated."); + pos++; /* GOBBLE('(') */ start_line = this->current_line; -- GitLab