错误列表中的错误但没有显示红色波浪线 [英] Errors in Error List but no red squiggly lines showing

查看:399
本文介绍了错误列表中的错误但没有显示红色波浪线的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嘿所有我正在创建一个C ++ Dll,而且在编译时我似乎有102个错误但是在代码中根本没有显示任何错误!单击错误会转到该行但是没有红色波浪线。

[quote]

1> ------构建开始:项目:AES ,配置:调试Win32



stdafx.cpp



AES.cpp



错误C3646:'set_key':未知覆盖说明符



错误C2059:语法错误:'('



错误C2238:';'之前的意外令牌';'


错误C2061:语法错误:标识符'byte'



错误C3646:'encrypt':未知覆盖说明符



错误C3646:'cbc_encrypt':未知覆盖说明符



错误C2061:语法错误:标识符'byte'



错误C2535:'void AES :: printArray(void)':已定义或声明的成员函数



语法错误:在'''
之前缺少',' >
语法错误:在'之前缺少')';'¥


错误C2334:'{'之前的意外令牌跳过明显的函数体



错误C2065:'arr_pad':未声明的标识符



错误C2659:'= ':作为左操作数的功能



错误C2563:正式参数列表不匹配



错误C2568:' <':无法解决功能过载

[/ quote]

这就是代码的样子:

[img] https ://i.stack.imgur.com/xrkkN.png [/ img]



我已经尝试过:

[quote ]¥b $ b删除.Vs文件夹并重新启动VS并取消选中选项



转到工具>选项>文本编辑器> C / C ++>高级>禁用Squiggles:False



转到工具>导入和导出设置...>重置所有设置

我的版本:

[/ quote]



[img] https:// i .stack.imgur.com / 3DU23.png [/ img]



其他人有此问题吗?任何修正?

$
看起来红色的波浪形线条在圣诞节假期(National Lampoons风格)

解决方案

 我正在创建一个C ++ Dll,看起来编译时我有102个错误但是代码中根本没有显示错误!单击一个错误会转到该行但是没有红色波浪线。




这可能在论坛的主页更多:



Visual Studio诊断程序(Debugger,Profiler,IntelliTrace)

https://social.msdn.microsoft.com/Forums / vstudio / zh-CN / home?forum = vsdebug& filter = alllanguages



- Wayne


Hey all I am creating a C++ Dll and it seems that I have 102 errors when compiling BUT none are shown in the code at all! Clicking on an error goes to that line but again, without the red squiggly line.
[quote]
1>------ Build started: Project: AES, Configuration: Debug Win32

stdafx.cpp

AES.cpp

error C3646: 'set_key': unknown override specifier

error C2059: syntax error: '('

error C2238: unexpected token(s) preceding ';'

error C2061: syntax error: identifier 'byte'

error C3646: 'encrypt': unknown override specifier

error C3646: 'cbc_encrypt': unknown override specifier

error C2061: syntax error: identifier 'byte'

error C2535: 'void AES::printArray(void)': member function already defined or declared

syntax error: missing ',' before '['

syntax error: missing ')' before ';'

error C2334: unexpected token(s) preceding '{'; skipping apparent function body

error C2065: 'arr_pad': undeclared identifier

error C2659: '=': function as left operand

error C2563: mismatch in formal parameter list

error C2568: '<': unable to resolve function overload
[/quote]
And this is what the code looks like:
[img]https://i.stack.imgur.com/xrkkN.png[/img]

I've already tried:
[quote]
Deleting the .Vs folder and restarting VS and also un-checking the option

Going to Tools > Options > Text Editor > C/C++ > Advanced > Disable Squiggles: False

Going to Tools > Import and Export Settings... > Reset all settings
My version:
[/quote]

[img]https://i.stack.imgur.com/3DU23.png[/img]

Anyone else having this issue? Any fixes?

It looks like the red squiggly lines are on Christmas vacation (National Lampoons-style)

解决方案

 I am creating a C++ Dll and it seems that I have 102 errors when compiling BUT none are shown in the code at all! Clicking on an error goes to that line but again, without the red squiggly line.

This might be more at home in the forum:

Visual Studio Diagnostics (Debugger, Profiler, IntelliTrace)
https://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=vsdebug&filter=alllanguages

- Wayne


这篇关于错误列表中的错误但没有显示红色波浪线的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆