Skip to content

Commit b6f09c6

Browse files
nigelgbanksSynss
authored andcommitted
Apply -Wno-error=incompatible-pointer-types to all python3-modules.
This is required due to a recent upgrade of GCC from 13 to 14. As part of this update GCC has promoted `incompatible-pointer-types` from a warning to an error. https://support.eiffel.com/report_detail/19927#:~:text=Description,line%20makes%20the%20code%20compile. Change-Id: I3f648a3cdb65a8b8b069ddd7abc0015a01ed25f2
1 parent 831267f commit b6f09c6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

omd/packages/python3-modules/build-python3-modules.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ build_cmd = """
117117
export CC="$$(which gcc)"
118118
119119
# install requirements
120-
export CPPFLAGS="-I$$HOME/$$EXT_DEPS_PATH/{openssl_dir}/openssl/include -I$$HOME/$$EXT_DEPS_PATH/{freetds_dir}/freetds/include -I$$HOME/$$EXT_DEPS_PATH/{python_dir}/python/include/python{pyMajMin}/"
120+
export CPPFLAGS="-I$$HOME/$$EXT_DEPS_PATH/{openssl_dir}/openssl/include -I$$HOME/$$EXT_DEPS_PATH/{freetds_dir}/freetds/include -I$$HOME/$$EXT_DEPS_PATH/{python_dir}/python/include/python{pyMajMin}/ -Wno-error=incompatible-pointer-types"
121121
export LDFLAGS="-L$$HOME/$$EXT_DEPS_PATH/{openssl_dir}/openssl/lib -L$$HOME/$$EXT_DEPS_PATH/{freetds_dir}/freetds/lib -L$$HOME/$$EXT_DEPS_PATH/{python_dir}/python/lib -Wl,--strip-debug"
122122
{git_ssl_no_verify}\\
123123
$$PYTHON_EXECUTABLE -m pip install \\

0 commit comments

Comments
 (0)