Changeset View
Changeset View
Standalone View
Standalone View
graphics/dspdfviewer/Makefile
| Show First 20 Lines • Show All 43 Lines • ▼ Show 20 Lines | |||||
| # (rene) also related to issue #191 which is still open as of 2020-10-21 | # (rene) also related to issue #191 which is still open as of 2020-10-21 | ||||
| CFLAGS+= -Wno-error=zero-as-null-pointer-constant | CFLAGS+= -Wno-error=zero-as-null-pointer-constant | ||||
| # Fixes build failure for Clang 8.0.0 | # Fixes build failure for Clang 8.0.0 | ||||
| CFLAGS+= -Wno-error=extra-semi-stmt | CFLAGS+= -Wno-error=extra-semi-stmt | ||||
| # Fixes build failure for Clang 11.0.0 | # Fixes build failure for Clang 11.0.0 | ||||
| CFLAGS+= -Wno-error=suggest-destructor-override | CFLAGS+= -Wno-error=suggest-destructor-override | ||||
| CFLAGS+= -Wno-error=suggest-override | CFLAGS+= -Wno-error=suggest-override | ||||
| # Fixes build failure for Clang 14.0.3 | # Fixes build failure for Clang 14.0.3 | ||||
| .if ${OSVERSION} >= 1400059 | |||||
| CFLAGS+= -Wno-error=bitwise-instead-of-logical | CFLAGS+= -Wno-error=bitwise-instead-of-logical | ||||
| .endif | |||||
| # Fixes build failure for Clang 16.0.6 | # Fixes build failure for Clang 16.0.6 | ||||
| CFLAGS+= -Wno-error=unsafe-buffer-usage | CFLAGS+= -Wno-error=unsafe-buffer-usage | ||||
| # Fixes build failure for Clang 18.1.4 | # Fixes build failure for Clang 18.1.4 | ||||
| CFLAGS+= -Wno-error=switch-default | CFLAGS+= -Wno-error=switch-default | ||||
| .endif | .endif | ||||
| # Prepare for Qt5-5.15 | # Prepare for Qt5-5.15 | ||||
| CFLAGS+= -Wno-deprecated | CFLAGS+= -Wno-deprecated | ||||
| .if ${CHOSEN_COMPILER_TYPE} == clang | .if ${CHOSEN_COMPILER_TYPE} == clang | ||||
| CFLAGS+= -Wno-error=redundant-parens | CFLAGS+= -Wno-error=redundant-parens | ||||
| .else | .else | ||||
| CFLAGS+= -Wno-error=deprecated-declarations | CFLAGS+= -Wno-error=deprecated-declarations | ||||
| .endif | .endif | ||||
| .include <bsd.port.post.mk> | .include <bsd.port.post.mk> | ||||