From b5bca977a7b042285c6241906851a23e3bc12b22 Mon Sep 17 00:00:00 2001 From: ganovelli Date: Sun, 28 Sep 2008 14:30:09 +0000 Subject: [PATCH] added pragma message to deprecate this way to define the simplex --- vcg/simplex/face/base.h | 6 +++++- vcg/simplex/vertex/base.h | 5 ++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/vcg/simplex/face/base.h b/vcg/simplex/face/base.h index 259779f5..7e450319 100644 --- a/vcg/simplex/face/base.h +++ b/vcg/simplex/face/base.h @@ -154,10 +154,14 @@ First commit... ****************************************************************************/ +#pragma message("[VCGLIB Warning] this way to define the simplex face is DEPRECATED ") +#pragma message("[VCGLIB Warning] use vcg/simplex/faceplus instead ") + #ifndef FACE_TYPE -#pragma error message("\nYou should never directly include this file\_n") +#pragma error message("\nYou should never directly include this file\n") #else + #include #include #include diff --git a/vcg/simplex/vertex/base.h b/vcg/simplex/vertex/base.h index 2702ba00..f27db5e0 100644 --- a/vcg/simplex/vertex/base.h +++ b/vcg/simplex/vertex/base.h @@ -175,11 +175,14 @@ Edited Comments and GPL license ****************************************************************************/ +#pragma message("[VCGLIB Warning] This way to define the simplex vertex is DEPRECATED ") +#pragma message("[VCGLIB Warning] use vcg/simplex/vertexplus instead ") #ifndef VERTEX_TYPE -#pragma message("\nYou should never directly include this file\_n") +#pragma message("\nYou should never directly include this file\n") #else + #include #include #include