PreProcessor Errors: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Formatting)
Tag: New redirect
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
==Error 2==
#REDIRECT [[PreProcessor Commands#Errors]]
;Problem: Preprocessor failed error 2.
 
;How to fix: Add quotation marks in the title, or the file path. (''e.g.'' <tt>#include "soGood.sqf"</tt>).
 
==Error 6==
;Problem: Preprocessor failed on file X - error 6.
 
;Known reasons:
* "The problem is that I'm using <tt>#ifdef #ifdef #endif #endif</tt>. This doesn't work in Arma. It's only possible to use <tt>#ifdef</tt> and <tt>#endif</tt> once and not nested."
* <tt>#endif</tt> without preceding <tt>#ifdef</tt> or <tt>ifndef</tt>
 
==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 <tt>#inlcude</tt> or <tt>#defien</tt>). Double check all preprocessor directives in that file.
 
[[Category:Scripting_Topics]]

Latest revision as of 23:42, 21 November 2019