<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ampmmn</author_name>
  <author_url>https://blog.hatena.ne.jp/ampmmn/</author_url>
  <blog_title>物置き</blog_title>
  <blog_url>https://ampmmn.hatenablog.com/</blog_url>
  <categories>
    <anon>VisualStudio</anon>
    <anon>c++</anon>
  </categories>
  <description>個人で制作してるツールの中でspdlogというライブラリを利用しているが、 このツールのリポジトリにpushしたときに実行するCIワークフローの中でビルドする際に、 ある時期から以下のspdlog関連のエラーがでるようになった。 C:\path\to\spdlog\include\spdlog\fmt\bundled\base.h(458,28): error C2338: static_assert failed: 'Unicode support requires compiling with /utf-8' エラー行近辺の処理やspdlog側の変更履歴を見る感じ、どうも下記の修正が影響し…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fampmmn.hatenablog.com%2Fentry%2F2024%2F11%2F03%2F112350&quot; title=&quot;spdlog.hを利用したソースコードをVisualStudioでコンパイルすると「error C2338: static_assert failed: &amp;#39;Unicode support requires compiling with /utf-8&amp;#39;」になる - 物置き&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2024-11-03 11:23:50</published>
  <title>spdlog.hを利用したソースコードをVisualStudioでコンパイルすると「error C2338: static_assert failed: 'Unicode support requires compiling with /utf-8'」になる</title>
  <type>rich</type>
  <url>https://ampmmn.hatenablog.com/entry/2024/11/03/112350</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
