summaryrefslogtreecommitdiffstats
path: root/pb.h
diff options
context:
space:
mode:
authorPetteri Aimonen <jpa@git.mail.kapsi.fi>2012-07-05 18:19:38 +0300
committerPetteri Aimonen <jpa@git.mail.kapsi.fi>2012-07-05 18:19:38 +0300
commit72cca8d7838402eb436f1403d4c29dee46db62a1 (patch)
tree576c877744b892918493a55615cfb7d30074c9da /pb.h
parent7c5bb6541a820dd4721358226ca3815d94736863 (diff)
Replace #warning with the standard #error.
Diffstat (limited to 'pb.h')
-rw-r--r--pb.h3
1 files changed, 1 insertions, 2 deletions
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.