Game Development Community

Compiling error

by Christian Weber · in General Discussion · 11/24/2002 (4:29 am) · 7 replies

Hi all,

I dont know why but, since a few days I cant compile anymore, I just updatet to version 1.1.2. I really dont know what this could mean, maybe one of you knows it.

[quote]
--------------------Konfiguration: Torque Demo - Win32 Release--------------------
Kompilierung l

#1
11/24/2002 (6:19 am)
Does someone know what this means?

'getClassCRC' : Funktion akzeptiert keine 0 Parameter ('getClassCRC' : Function doesnt accept 0 parameters)
#2
11/24/2002 (7:15 am)
Christian,

Here is the information about error C2660 (from MSDN):
[b]Compiler Error C2660[/b]

[b]'function' : function does not take number parameters[/b]
The specified function was called with an incorrect number of actual parameters.

[b]Tips[/b]
 
	- The most typical cause of this error is calling a function with the incorrect number of actual parameters. The following example demonstrates this:

	void func( int, int );
	void main()
	{
	   func( 1 );     // error, func( int ) not declared
	   func( 1, 0 );  // OK, func( int, int ) was declared
	}

	- A problem similar to the one shown above occurs when you mistakenly call a Windows API function directly from within an MFC member function, rather than calling the equivalent MFC member function of the same name. Since the two functions are identical in name this error may occur frequently. Either of the two following methods will solve this error: 

		- Adjust the function call to conform to the format of the member function call.

		- Use the scope resolution operator (::) to tell the compiler to look for the function name in the global name space.
Rich
#3
11/24/2002 (7:25 am)
tried to fix it that way, but didnt work. :( I really dont know why it wont work.
#4
11/24/2002 (8:17 am)
Christian,

Sorry about that, I though you where looking for the definition of error C2660.

I noticed that you said you upgraded to Release_1_1_2. I just did a full check-out of Release_1_1_2 from CVS and was able to compile without any errors. I would recommend that you full check-out of Release_1_1_2 into its own directory to see if you can get it to compile clean.

Rich
#5
11/24/2002 (8:19 am)
I will try this, thx.
#6
11/24/2002 (9:09 am)
Use the private SDK forums.

Jeff Tunnell GG
#7
11/24/2002 (9:13 am)
I used them, but there came no response.