Problem: Using #error for compilation errors should be OK now.
Solution: Use #error. (Ken Takata, closes #5299)
# ifdef HAVE_CONFIG_H
// in configure.ac AC_C_BIGENDIAN() defines WORDS_BIGENDIAN when needed
# else
- error!
- Please change this code to define WORDS_BIGENDIAN for big-endian machines.
+# error Please change this code to define WORDS_BIGENDIAN for big-endian machines.
# endif
#endif
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 145,
/**/
144,
/**/
* test program. Other items from configure may also be wrong then!
*/
# if (VIM_SIZEOF_INT == 0)
- Error: configure did not run properly. Check auto/config.log.
+# error configure did not run properly. Check auto/config.log.
# endif
# if (defined(__linux__) && !defined(__ANDROID__)) || defined(__CYGWIN__)
#endif
#if VIM_SIZEOF_INT < 4 && !defined(PROTO)
- Error: Vim only works with 32 bit int or larger
+# error Vim only works with 32 bit int or larger
#endif
/*