g++的内存模型默认使用small,当预分配的静态数组内存大于2GB时,会出现如题所述报错,这时候需要使用medium内存模型编译时加上选项:
-mcmodel=medium
拓展:编译分为几种编译模式(挖坑待填)
I want to win
缺失模块。
1、在博客根目录(注意不是yilia根目录)执行以下命令:
npm i hexo-generator-json-content --save
2、在根目录_config.yml里添加配置:
jsonContent:
meta: false
pages: false
posts:
title: true
date: true
path: true
text: true
raw: false
content: false
slug: false
updated: false
comments: false
link: false
permalink: false
excerpt: false
categories: false
tags: true