[php-src] PR #15327: Fix violation of the one definition rule in ext/com_dotnet

From: Date: Sat, 10 Aug 2024 11:36:53 +0000
Subject: [php-src] PR #15327: Fix violation of the one definition rule in ext/com_dotnet
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-27810@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/15327 Author: cmb69 The definition of the class entries in the internal header file is not correct, since that file is included several times, and even the comment above the definition hints at com_extension.c where the actual definition is. We fix this by declaring these variables as extern. --- Note that I found this when compiling with clang, which fails with [LNK2005](https://learn.microsoft.com/en-us/cpp/error-messages/tool-errors/linker-tools-error-lnk2005?view=msvc-170); I have no idea why MSVC compiles do not trigger this error.

« previous php.git-pulls (#27810) next »