PreProcessor Errors: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (deletion request)
Tag: New redirect
 
Line 1: Line 1:
{{Delete| Content was added to the main PreProcessor page}}
#REDIRECT [[PreProcessor Commands#Errors]]
 
==Error 2==
;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.

Latest revision as of 00:42, 22 November 2019