# 执行自动反馈编译时，MySQL 8.0.25提示error: ‘exchange’ is not a member of ‘std’的解决方法

#### 问题现象描述

执行自动反馈编译时，MySQL 8.0.25提示“error: ‘exchange’ is not a member of ‘std’”错误。


#### 关键过程、根本原因分析

新版本GCC 12和MySQL 8.0.25存在兼容性适配问题。


#### 结论、解决方案及效果

1. 打开“mysql-8.0.25/router/src/harness/include/mysql/harness/net_ts/executor.h”文件，添加utility头文件。
2. 重新执行自动反馈编译。
