Replace #warning with the standard #error.
This commit is contained in:
3
pb.h
3
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.
|
||||
|
||||
Reference in New Issue
Block a user