From nobody Mon Jun 26 13:50:12 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QqTkM0Rqhz4jGM7; Mon, 26 Jun 2023 13:50:19 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QqTkL6lvTz3v2k; Mon, 26 Jun 2023 13:50:18 +0000 (UTC) (envelope-from jbeich@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687787418; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=vWZmpuIhjzI8btWNEVxkv6axdkgAcxnikMt1Hwc7ncM=; b=HmzNJARi+eFO4LqAuP+X1xj5iZNz6nFbe0eGuEAyCB1HjEIJaaYmVQdP2vyQhhXpJPW1+o 8bjXE52hfk9cIaJC/uYFRa74PmO9wh7VFtsQw/EuoFyvRSzcejyrfanBGwt6EjkNm+EXiG waQycIcJn9F+esYi4cnhM9lfy7a3B/6oO+vI4BpmVAnCTxL3M4UDMWw4yXt7nYLMTiFLAe LAW0HrM2aRR4sLG/pD8pGVdu1nqQt4hRcYRmqtfA+uhwpIy6gFzG5OnsN6+oRRZyCT1BIf bBzhUmh/udQu/pTeCtYsG0HEvXA80LZ/ZPLvpkQAvWhmjYq6zWLLFtWwP712vg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687787418; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=vWZmpuIhjzI8btWNEVxkv6axdkgAcxnikMt1Hwc7ncM=; b=SzEelcrUisktCbx8/HSlCqTEZwDOtQ8p9P61TXxjD6Y14XovNgVITPB/yXcoQ3NWV7DxlJ M0tWFf+A/ENtWg1Y5idXDghjUGCIlogHhI1pMlLhWIQvumAfrijOsBVl62tEQ3m5O7kd7f aAs3I19MJnTqVe3nB/DjvuoOUKs6xDkwjqq1D0PsxDaW5QXnratxwXagcj2hn87j5OVlJX TGPJHHrqi9oITNYP7mgD7I1boRxMNqoJPko5dnG5P1Z6QgcCGFKNICCvNhI3Si9OmGwo3h ZQ0wfr6Dr8ZLamkygTUUWu5OoOXQN5mNCMNrzpJR6npreYF1SIrY+PdNmOi8Gg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1687787418; a=rsa-sha256; cv=none; b=Bb/LW5C24FNwgS9A2usgXBOnwjDPLS8S5FZoUfjQsRcvEqsmqB798y2Ei56EdZYY09YjuW jZkgNCX3LRK4rWV2e10s2vn8PT/Cbko9zQeM/AMiP7ZFfQ2wRz97wEpSZj0B5dhHZR5G2m wOAC+IJumxTd1LE+Vjzzk1foT3bOExQ7KQE1C5rZnQlySI6sKbjcTd+Oojqs17Z19Qqd9J eXWfukIDHJhDPUVoREsGxcbDeEr6L3ERobwjomQGxXf8lBIv3Jzr2jPZhRbo9sW2x/n/g4 6LXbYB7Rnj789PJqgKVU1KHMNd7LKfU4mgawZFhW6Yfh+gMK7vJKW7mGj7JXfQ== Received: by freefall.freebsd.org (Postfix, from userid 1354) id D348D211AF; Mon, 26 Jun 2023 13:50:18 +0000 (UTC) From: Jan Beich To: Charlie Li Cc: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: Re: git: c57cd4390a27 - main - lang/vala: disable incompatible function pointer type error In-Reply-To: <202306240402.35O42JCf020544@gitrepo.freebsd.org> (Charlie Li's message of "Sat, 24 Jun 2023 04:02:19 GMT") References: <202306240402.35O42JCf020544@gitrepo.freebsd.org> Date: Mon, 26 Jun 2023 15:50:12 +0200 Message-ID: List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain X-ThisMailContainsUnwantedMimeParts: N Charlie Li writes: > +# remove after https://gitlab.gnome.org/GNOME/vala/-/issues/1408 is fixed > +CFLAGS+= -Wno-error=incompatible-function-pointer-types May break GCC archs and ports with USE_GCC or USES=compiler:gcc-c++11-lib. $ pkg install llvm15 gcc12 $ echo 'int main() {}' >a.c $ clang15 -Wno-error=incompatible-function-pointer-types a.c $ gcc12 -Wno-error=incompatible-function-pointer-types a.c cc1: error: '-Wno-error=incompatible-function-pointer-types': no option '-Wincompatible-function-pointer-types'; did you mean '-Wincompatible-pointer-types'? vs. (replace = with -) $ clang15 -Wno-error-incompatible-function-pointer-types a.c warning: unknown -Werror warning specifier: '-Wno-error-incompatible-function-pointer-types' [-Wunknown-warning-option] 1 warning generated. $ gcc12 -Wno-error-incompatible-function-pointer-types a.c vs. (silence the warning) $ clang15 -Wno-incompatible-function-pointer-types a.c $ gcc12 -Wno-incompatible-function-pointer-types a.c