摘要: 0.问题: warning: ‘WebServer::openLinger_’ will be initialized after [-Wreorder] 1.原因 变量的声明顺序,和初始化顺序不一致导致, 2.解决方法 更改变量的声明顺序,使其与初始化顺序一致 阅读全文
posted @ 2022-06-12 16:45 云梦士 阅读(60) 评论(0) 推荐(0) 编辑
摘要: 可以参考:https://blog.csdn.net/qq_26796255/article/details/118915145 但由于系统ubuntu和这个不太一样,对于配置文件的操作参考:https://blog.csdn.net/wu10188/article/details/10298506 阅读全文
posted @ 2022-06-12 15:27 云梦士 阅读(24) 评论(0) 推荐(0) 编辑
摘要: 0.背景 最近在学习linux webserver开发,需要在linux下调试自己的C/C++代码,但是linux下不像在windows下,直接Visio Studio或者其它集成开发环境那么方便,现在的linux下开发,比较麻烦。于是可以考虑使用VScode远程开发。但是网上的很多教程都不是很清晰 阅读全文
posted @ 2022-06-12 10:55 云梦士 阅读(3058) 评论(0) 推荐(3) 编辑