CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2008
    Posts
    111

    Errors in Error List but no red squiggly lines showing

    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.
    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:rintArray(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:


    I've already tried:
    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:


    Anyone else having this issue? Any fixes?

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

  2. #2
    2kaud's Avatar
    2kaud is offline Super Moderator Power Poster
    Join Date
    Dec 2012
    Location
    England
    Posts
    7,824

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

    Where is arr_pad defined?

    I assume that AES.h contains the AES class header and that AES.cpp includes AES.h?

    Note that initialising arr_pad could be more simply done as:

    Code:
    for (size_t i = 0 ; i < 15; ++i)
        arr_pad[i] = i + 1;
    All advice is offered in good faith only. All my code is tested (unless stated explicitly otherwise) with the latest version of Microsoft Visual Studio (using the supported features of the latest standard) and is offered as examples only - not as production quality. I cannot offer advice regarding any other c/c++ compiler/IDE or incompatibilities with VS. You are ultimately responsible for the effects of your programs and the integrity of the machines they run on. Anything I post, code snippets, advice, etc is licensed as Public Domain https://creativecommons.org/publicdomain/zero/1.0/ and can be used without reference or acknowledgement. Also note that I only provide advice and guidance via the forums - and not via private messages!

    C++23 Compiler: Microsoft VS2022 (17.6.5)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured