From 72cca8d7838402eb436f1403d4c29dee46db62a1 Mon Sep 17 00:00:00 2001 From: Petteri Aimonen Date: Thu, 5 Jul 2012 18:19:38 +0300 Subject: Replace #warning with the standard #error. --- pb.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'pb.h') diff --git a/pb.h b/pb.h index 61696a4f..4983d069 100644 --- a/pb.h +++ b/pb.h @@ -34,8 +34,7 @@ #endif #if PB_MAX_REQUIRED_FIELDS < 64 -#warning You should not lower PB_MAX_REQUIRED_FIELDS from the default value (64). \ - The automatic checks against too low value will not be active. +#error You should not lower PB_MAX_REQUIRED_FIELDS from the default value (64). #endif /* List of possible field types. These are used in the autogenerated code. -- cgit 1.2.3-korg