<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>ABI on I'm OWenT</title><link>//owent.net/tags/abi.html</link><description>Recent content in ABI on I'm OWenT</description><generator>Hugo</generator><language>zh-cn</language><copyright>&lt;a rel="license" href="https://github.com/owent/blog-hugo/blob/master/LICENSE.md"&gt;&lt;img alt="知识共享许可协议" style="border-width:0" src="https://i.creativecommons.org/l/by-nc-sa/4.0/80x15.png" /&gt;&lt;/a&gt;</copyright><lastBuildDate>Sun, 11 Jan 2026 01:15:45 +0000</lastBuildDate><atom:link href="//owent.net/tags/abi/index.xml" rel="self" type="application/rss+xml"/><item><title>Protobuf又一坑 - C++标准和ABI兼容性</title><link>//owent.net/2026/2603.html</link><pubDate>Sun, 11 Jan 2026 01:15:45 +0000</pubDate><guid>//owent.net/2026/2603.html</guid><description>&lt;h2 id="背景"&gt;背景&lt;/h2&gt;&#10;&lt;p&gt;前段时间例行升级我为游戏框架写的构建系统 &lt;a href="https://github.com/atframework/cmake-toolset"&gt;cmake-toolset&lt;/a&gt; 时，又遇到了 &lt;a href="https://github.com/protocolbuffers/protobuf"&gt;protobuf&lt;/a&gt; 的一个新 ABI 兼容性问题。&lt;/p&gt;&#10;&lt;p&gt;这已经不是第一次被 &lt;a href="https://github.com/protocolbuffers/protobuf"&gt;protobuf&lt;/a&gt; 的 ABI 兼容性问题“教育”了。这篇把问题拆开讲清楚，并给出一套可落地的规避方案，供遇到类似问题的同学参考。&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;编译环境：Windows + Visual Studio 2026&lt;/li&gt;&#10;&lt;li&gt;Abseil-Cpp：20250512.1&lt;/li&gt;&#10;&lt;li&gt;Protobuf：v31.1（看起来目前最新的 v33.1 也有这个问题）&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;h2 id="现象与错误定位"&gt;现象与错误定位&lt;/h2&gt;&#10;&lt;p&gt;首先在链接阶段出现错误：&lt;/p&gt;</description></item></channel></rss>