I'm a doctor, not a mechanic

Talk:Compiler errors overview

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 20:14, 30 November 2010 by 00zX (Talk | contribs) (Error duplicates)

Jump to: navigation, search

Errors format

I thought of changing the format of errors, because it kinda looked like everything's floating. Here's the table format I thought of:

Error Message
#0001 Unexpected 'defaultproperties'
This seems to occur when you have an end of multi-comment preceded by a line comment on the same line. See Compiler issues. Keep in mind that you can not specify default properties in code while using the UnrealEd internal script editor. Doing so will give you this error as well. To change the default properties of a class in UnrealEd, you need to type editdefault class=classname in the command line of the editor.
Correct and Wrong example

As you see i did give the error an number for reference purpose. Please let me know your opinions, also if you will use it then make sure you turn it into a template instead to avoid duplicating so much code. The colors might need some work hehe :P --Eliot 02:52, 10 November 2010 (UTC)

Error duplicates

Thats defiantly the way the compiler spat it out at me for the Mismatch error, Im not sure but maybe it was changed in some engine versions or it is infact a different error code for virtually the same thing. I usually just put em up as I find em in no particular test order or related to any version in specific so its possible that one was put up when I first started with an older version of UDK.

In regards to the duplicate on the operator mismatch one is special case in an if statement its not actually always a missing expression but it can be incorrect operator when someone might have wanted to use '&&'. For eg if(foo+bar){//dostuff} pretty sure that was why I put it up. --00zX 02:11, 1 December 2010 (UTC)