4 Replies - 326 Views - Last Post: 21 December 2018 - 04:26 PM Rate Topic: -----

#1 StealthRT   User is offline

  • D.I.C Head

Reputation: 2
  • View blog
  • Posts: 90
  • Joined: 29-September 08

Errors in Error List but no red squiggly lines showing

Posted 21 December 2018 - 10:40 AM

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

And this is what the code looks like:
Posted Image

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:


Posted Image

Anyone else having this issue? Any fixes?

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

Is This A Good Question/Topic? 0
  • +

Replies To: Errors in Error List but no red squiggly lines showing

#2 Sheepings   User is offline

  • Senior Programmer
  • member icon

Reputation: 171
  • View blog
  • Posts: 1,019
  • Joined: 05-December 13

Re: Errors in Error List but no red squiggly lines showing

Posted 21 December 2018 - 10:58 AM

Hi, please copy and paste any problematic code into your post so people can copy and reference it, if need be. And paste it using the code tags. Nobody is going to type out your code for you if you don't post it as text.
Was This Post Helpful? 0
  • +
  • -

#3 Skydiver   User is online

  • Code herder
  • member icon

Reputation: 6664
  • View blog
  • Posts: 22,744
  • Joined: 05-May 12

Re: Errors in Error List but no red squiggly lines showing

Posted 21 December 2018 - 12:13 PM

Do not rely on the red squiggles for C and C++ in Visual Studio. Intellisense for C/C++ in Visual Studio is different from Intellisense for C# and VB.NET.

Consider the Intellisense for C/C++ as just suggestions. The definitive source of truth will be the compiler.
Was This Post Helpful? 2
  • +
  • -

#4 Salem_c   User is offline

  • void main'ers are DOOMED
  • member icon

Reputation: 2279
  • View blog
  • Posts: 4,362
  • Joined: 30-May 10

Re: Errors in Error List but no red squiggly lines showing

Posted 21 December 2018 - 12:40 PM

Cross-posted here -> http://forums.codegu...y-lines-showing
Was This Post Helpful? 1
  • +
  • -

#5 MentalFloss   User is offline

  • .
  • member icon

Reputation: 613
  • View blog
  • Posts: 1,580
  • Joined: 02-September 09

Re: Errors in Error List but no red squiggly lines showing

Posted 21 December 2018 - 04:26 PM

Always scroll to the top of your errors list. Locate the first error. Fix that error only. Recompile. Fix the next error. Repeat until there are none.

You can't just go down to somewhere in the middle and try to fix it because the first error might be a missing semi-colon, and that causes everything to parse wrong.
Was This Post Helpful? 3
  • +
  • -

Page 1 of 1