1
- *develop.txt* For Vim version 9.1. Last change: 2025 Jul 21
1
+ *develop.txt* For Vim version 9.1. Last change: 2025 Jul 22
2
2
3
3
4
4
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -297,36 +297,35 @@ count.
297
297
==============================================================================
298
298
3. Assumptions *design-assumptions*
299
299
300
- The following sections define the portability and compatibility constraints that
301
- all Vim code and build tools must adhere to.
300
+ The following sections define the portability and compatibility constraints
301
+ that all Vim code and build tools must adhere to.
302
302
303
303
304
304
MAKEFILES *assumptions-makefiles*
305
305
*POSIX.1-2001*
306
306
307
- Vim’ s main Makefiles target maximum portability, relying solely on features
308
- defined in POSIX.1-2001 `make ` and ignoring later POSIX standards or
309
- GNU/BSD extensions. In practical terms, avoid:
307
+ Vim' s main Makefiles target maximum portability, relying solely on features
308
+ defined in POSIX.1-2001 `make ` and ignoring later POSIX standards or GNU/BSD
309
+ extensions. In practical terms, avoid:
310
310
311
311
– % pattern rules
312
312
– modern assignment (`:= ` , `::= ` ) outside POSIX.1-2001
313
313
– special targets (`.ONESHELL` , `.NOTPARALLEL` , `.SILENT` , …)
314
314
– order-only prerequisites (`|` ) or automatic directory creation
315
315
– GNU/BSD conditionals (`ifdef` , `ifndef` , `.for ` /`.endfor ` , …)
316
316
317
- Since POSIX.1-2001 supports only traditional suffix rules, every object
318
- built in a separate directory must have an explicit rule. For example:
317
+ Since POSIX.1-2001 supports only traditional suffix rules, every object built
318
+ in a separate directory must have an explicit rule. For example:
319
319
320
320
objects/evalbuffer.o: evalbuffer.c
321
321
$(CCC) -o $@ evalbuffer.c
322
322
323
- This verbosity ensures that the same Makefile builds Vim unchanged with
324
- the default `make ` on Linux, *BSD, macOS, Solaris, AIX, HP-UX and virtually
325
- any Unix-like OS.
323
+ This verbosity ensures that the same Makefile builds Vim unchanged with the
324
+ default `make ` on Linux, *BSD, macOS, Solaris, AIX, HP-UX and virtually any
325
+ Unix-like OS.
326
326
327
- Some platform-specific Makefiles (e.g., for Windows, NSIS, or Cygwin) may
328
- use more advanced features when compatibility with basic make is not
329
- required.
327
+ Some platform-specific Makefiles (e.g., for Windows, NSIS, or Cygwin) may use
328
+ more advanced features when compatibility with basic make is not required.
330
329
331
330
332
331
C COMPILER *assumptions-C-compiler*
@@ -343,8 +342,8 @@ In addition, the following two `C99` features are explicitly allowed:
343
342
– `// ` comments, as required by | style-comments | ;
344
343
– the `_Bool` type.
345
344
346
- Platform-specific code may use any newer compiler features supported on
347
- that platform.
345
+ Platform-specific code may use any newer compiler features supported on that
346
+ platform.
348
347
349
348
350
349
SIZE OF VARIABLES *assumptions-variables*
0 commit comments