![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
BUG类
Cheney辰星
这个作者很懒,什么都没留下…
展开
-
C/C++bug记录
C环境:Ubuntu 16.04编译器:GCCgoto语句标签之间的区域不能存在声明语句用C语言在Linux上写轮询的时候,遇见的err。block.c: In function ‘main’:block.c:20:5: error: a label can only be part of a statement and a declaration is not a statement char buf[20]; ^block.c:21:5: error: expect原创 2020-06-19 17:00:24 · 365 阅读 · 0 评论 -
VMware Workstation和Device / Credential Guard不兼容问题解决
具体报错:VMware Workstation和Device / Credential Guard不兼容。禁用Device / Credential Guard后,可以运行VMware Workstation。解决:在命令行窗口中(需要管理员权限)该命令,重启计算机即可。bcdedit /set hypervisorlaunchtype off重新开启:bcdedit /set hypervisorlaunchtype auto...原创 2020-06-11 08:42:30 · 504 阅读 · 0 评论 -
使用mmap匿名映射时出现的宏未定义
anonymouse_mmap.c: In function ‘main’:anonymouse_mmap.c:27:73: error: ‘MAP_ANO’ undeclared (first use in this function) char* mm = mmap(NULL, MAPSIZE, PROT_READ | PROT_WRITE, MAP_SHARED | MAP_ANO, -1, 0);原创 2020-05-31 16:25:15 · 1698 阅读 · 0 评论