Mercurial > hgrepos > Python2 > PyMuPDF
comparison mupdf-source/scripts/wrap/__main__.py @ 32:72c1b70d4f5c
Also apply -Werror=implicit-function-declaration
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Sun, 21 Sep 2025 15:10:12 +0200 |
| parents | baeb8bdeff3a |
| children | c4daa0c83d64 |
comparison
equal
deleted
inserted
replaced
| 31:baeb8bdeff3a | 32:72c1b70d4f5c |
|---|---|
| 1541 | 1541 |
| 1542 dir_so_flags = os.path.basename( build_dirs.dir_so).split( '-') | 1542 dir_so_flags = os.path.basename( build_dirs.dir_so).split( '-') |
| 1543 cflags = os.environ.get('XCXXFLAGS', '') | 1543 cflags = os.environ.get('XCXXFLAGS', '') |
| 1544 if os.environ.get('EXTRA_CHECKS', '1') != '0': | 1544 if os.environ.get('EXTRA_CHECKS', '1') != '0': |
| 1545 cflags += ' -fno-delete-null-pointer-checks' | 1545 cflags += ' -fno-delete-null-pointer-checks' |
| 1546 cflags += ' -Werror=implicit-function-declaration' | |
| 1546 | 1547 |
| 1547 windows_build_type = build_dirs.windows_build_type() | 1548 windows_build_type = build_dirs.windows_build_type() |
| 1548 so_version = get_so_version( build_dirs) | 1549 so_version = get_so_version( build_dirs) |
| 1549 | 1550 |
| 1550 for action in actions: | 1551 for action in actions: |
