From e5d7f8367e7a19a1b85b0f3b65cc9dd82e94d8b4 Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Sun, 12 Jul 2015 17:45:13 +0000 Subject: [PATCH] Add "deprecated" warning to examples/fltk-versions.cxx. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10785 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- examples/fltk-versions.cxx | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/examples/fltk-versions.cxx b/examples/fltk-versions.cxx index aa2adf6c0..e1ab59075 100644 --- a/examples/fltk-versions.cxx +++ b/examples/fltk-versions.cxx @@ -42,9 +42,11 @@ int main(int argc, char **argv) { sprintf(version[versions++],"Fl::abi_version() = %6d %s",Fl::abi_version(), (FL_ABI_VERSION == Fl::abi_version()) ? "" : "***"); #endif - + #ifdef FLTK_ABI_VERSION sprintf(version[versions++],"FLTK_ABI_VERSION = %6d",FLTK_ABI_VERSION); + sprintf(version[versions++],"NOTE: FLTK_ABI_VERSION is deprecated.\n" + "Please use FL_ABI_VERSION instead !"); #endif for (int i=0; i