Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:113127 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 16156 invoked from network); 9 Feb 2021 21:14:38 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 9 Feb 2021 21:14:38 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id CF6BD1804D3 for ; Tue, 9 Feb 2021 12:59:42 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: * X-Spam-Status: No, score=1.3 required=5.0 tests=BAYES_40,BODY_8BITS, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-Virus: No X-Envelope-From: Received: from web138.dnchosting.com (web138.dnchosting.com [104.171.28.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Tue, 9 Feb 2021 12:59:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=colannino.dev; s=default; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Date:Message-ID:Subject:From:To:Sender:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=WQvHuKPZx4MOWIza91RhDEmz99sq2oG+HQqwrW/B0qE=; b=LXmwscngBb6HN5yjlzDTiNVvPn RvtVaHWvRoy0v5sRq2hOuVGN37WHE0IVRt1WDh5Sq5j447ifkDUH5Iwj+xP+7lUcp+YPOgtxcVU0i vPeTLaQI7BJpJ60pAHmh5YcsaM3FcvHgTZwpxIyIEfrUKYhyYLS07KZr6rMy95paG1XnAwMzc/Kro PDqG/gIBrPniBHJVMCTxtoWuU2fJhqra3doARcgJCitPXivfmV9V/pGTF9GuI4MDXxV5eLJkmHA08 DGeoDY1qh3FlfqEOH5w8bx057w2TVK9dXe7MUCYhLXjHWn50uCN21UtJsV9DQTg5uq/cLfYGQPMlb SRpTHIuQ==; Received: from cpe-23-243-43-243.socal.res.rr.com ([23.243.43.243]:37298 helo=[192.168.0.13]) by web138.dnchosting.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1l9a6i-0007M9-CI for internals@lists.php.net; Tue, 09 Feb 2021 20:59:41 +0000 To: internals@lists.php.net Message-ID: Date: Tue, 9 Feb 2021 12:59:35 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-OutGoing-Spam-Status: No, score=-0.5 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - web138.dnchosting.com X-AntiAbuse: Original Domain - lists.php.net X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - colannino.dev X-Get-Message-Sender-Via: web138.dnchosting.com: authenticated_id: james@colannino.dev X-Authenticated-Sender: web138.dnchosting.com: james@colannino.dev X-Source: X-Source-Args: X-Source-Dir: X-From-Rewrite: unmodified, there is a forwarder that points to the actual sender. Subject: Unknown SIZEOF_SIZE_T when compiling extension against PHP 8.0.2 From: composer@colannino.dev Recently, I've tried compiling a custom extension against PHP 8.0.2 and have received the following error: In file included from /home/james/git/trogdor-pp/src/php7/trogdord/game.cpp:1: /home/james/local/php8.0.2/include/php/Zend/zend_long.h:124:3: error: #error "Unknown SIZEOF_SIZE_T"   124 | # error "Unknown SIZEOF_SIZE_T"       |   ^~~~~ I've not encountered this before and I'm not sure what's changed about my environment other than I upgraded from 8.0.1 to 8.0.2. Does anyone know why this is happening? I dug into the header to see what the problem was, and it's related to the definition of SIZEOF_SIZE_T, but I'm not able to debug any further. Any help would be appreciated. Thank you!