PreProcessor Errors: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Error 6)
 
m (Error 7)
Line 7: Line 7:


* #endif without preceding #ifdef or ifndef
* #endif without preceding #ifdef or ifndef
==Error 7==
Problem:
:Preprocessor failed on file X - error 7.
Known reasons:
* The preprocessor encountered an unknown directive. Read, you have probably a typo in the file (something like ''#inlcude'' or ''#defien''). Double check all preprocessor directives in that file.

Revision as of 18:30, 19 October 2010

Error 6

Problem:

Preprocessor failed on file X - error 6.

Known reasons:

  • "The problem is that I'm using #ifdef #ifdef #endif #endif. This doesn't work in ArmA. It's only possible to use #ifdef and #endif once and not nested."
  • #endif without preceding #ifdef or ifndef

Error 7

Problem:

Preprocessor failed on file X - error 7.

Known reasons:

  • The preprocessor encountered an unknown directive. Read, you have probably a typo in the file (something like #inlcude or #defien). Double check all preprocessor directives in that file.