[Solution] extra argument in call, extraargument

Source: Internet
Author: User

[Solution] extra argument in call, extraargument

Environment:

XCode6.0.1

Problem:

I encountered such a problem when I typed the code today,

Extra argument 'forindexpath' in call

There is no problem in the code at first glance, and there is no solution from this error prompt.

Solution:

In fact, this sentence must be a problem with the code, either because it does not conform to the swift Syntax of this version, or the passing of parameters or something is wrong.

Today, because the type passed by the parameter is incorrect, but no type error is reported, a prompt indicating that there is no reference significance is displayed.

One sentence: Continue to check the code.

This may be updated in future swift versions. This problem may not occur in the future.



Error message in C and C ++

There are two error messages for TC2.0: no TC ++ or VC. If it is VC ++, you can use Kingsoft.

TC 2.0 compilation error message

Note: source program errors of Turbo C are classified into three types: fatal errors, General errors, and warnings. A fatal error is usually an internal compilation error. A general error is a program syntax error, a disk or memory access error, or a command line error. A warning only indicates some suspicious situations, it does not prevent compilation.

The following is A ~ in alphabetical order ~ Z lists the critical and general error information, English-Chinese Comparison and handling methods:

(1) English-Chinese Comparison of fatal errors and solutions:

A-B fatal error

Bad call of in-line function (invalid internal function call)
Analysis and Processing: an internal function defined by a macro cannot be called correctly. An internal function starts and ends with two underscores.

Ircompcable expression tree)
Analysis and Processing: this error indicates that the expressions in the file lines are too complex to generate code for the Code Generator program. This expression must be avoided.

Register allocation failure (memory allocation failed)
Analysis and Processing: this error indicates that the expression in the file line is too complex and the Code Generator cannot generate code for it. In this case, you should simplify this complicated expression or simply avoid using it.

(2) English-Chinese photos of general error messages and Solutions

# Operator not followed by maco argument name (# The Meta name is not changed with the macro after the operator)
Analysis and Processing: In macro definition, # is used to identify a macro variable string. "#" Must be renamed with a macro.

'Xxxx' not anargument ('xxxxxx' is not a function parameter )'
Analysis and Processing: This identifier is defined as a function parameter in the source program, but this identifier does not appear in the function.

Ambiguous symbol 'xxxxxx' (Binary symbol 'xxxxxx ')
Analysis and Processing: a domain name with two or more structures is the same, but has different offsets and types. When this field is referenced in a variable or expression without a structure name, it produces ambiguity. In this case, you need to modify a domain name or add a structure name When referencing it.

Argument # missing name (parameter # name missing)
Analysis and Processing: The parameter name has been removed from the function prototype used to define the function. If a function is defined as a prototype, it must contain all parameter names.

Argument list syntax error (syntax error in parameter table)
Analysis and Processing: function call parameters must be separated by commas (,) and end with a right parenthesis. An error occurs if the source file contains a parameter that is not followed by a comma or is not in parentheses.

Array bounds missing (Array delimiter "]" missing)
Analysis and Processing: An array is defined in the source file, but the array does not end with the following right square brackets.

Array size too large (Array is too large)
Analysis and Processing: the defined array is too large to exceed the available memory space.

Extends er statement too long (Assembly statement is too long)
Analysis and Processing: the length of an internal Assembly statement cannot exceed 480 bytes.

Bad configuration file (incorrect configuration file)
Analysis and Processing: The TURBOC. CFG configuration file contains non-annotated text that is not an appropriate option for command line selection. The configuration file command selection item must start with a dash.

Bad file name format in include directive (the file name format in the include command is incorrect)
Analysis and Processing: the file name must be enclosed in quotation marks ("filename. h ") or angle brackets (<File Name>), otherwise this class will be generated ...... remaining full text>

Installation Software prompt: Run-time error 5 Invalid procedure call or argument is there a solution?

Can I change to another version before installing the application software?
If you have installed similar software before, you can manually clear the original software information if it is not completely cleared. The method is to delete the original installation folder, search for the software name in the Registry Editor, delete all the key values, and then install the software.
It is also a way to change the system. If you want to change it, it is best to change the XP system, and its compatibility will be better-especially for the early release of software.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.