PreProcessor Errors: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Undo revision 96047 by Krzmbrzl00 (talk) the typo was intentional, please read the context)
m (deletion request)
Line 1: Line 1:
{{Delete| Content was added to the main PreProcessor page}}
==Error 2==
==Error 2==
;Problem: Preprocessor failed error 2.
;Problem: Preprocessor failed error 2.
Line 15: Line 17:


;Known reasons: The preprocessor encountered an unknown directive. Read, you have probably a typo in the file (something like <tt>#inlcude</tt> or <tt>#defien</tt>). Double check all preprocessor directives in that file.
;Known reasons: The preprocessor encountered an unknown directive. Read, you have probably a typo in the file (something like <tt>#inlcude</tt> or <tt>#defien</tt>). Double check all preprocessor directives in that file.
[[Category:Scripting_Topics]]

Revision as of 16:42, 21 December 2018

Template:Delete

Error 2

Problem
Preprocessor failed error 2.
How to fix
Add quotation marks in the title, or the file path. (e.g. #include "soGood.sqf").

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.