You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pre-processor fails when slash / is used in a comment which is in the same line as #include pre-processor instruction. If comment is on it's own line all works ok.
Steps to reproduce:
Add this line in some pre-processed file: #include "script_component.hpp" // /.
Observe error.
Additional information:
Works fine with #define and other pre-processor instructions. Also works fine with some other text. Pre-processor might possibly be trying to calculate a math expression?
HEMTT Output:
[jonpas@loki] $ ./hemttdev build jam (hemtt) ~/Data/Work/Arma 3/Mods/CBA_A3
HEMTT 0.7.3-897d451-debug
Environment: dev
warning: .gitignore is missing recommended value `keys/*`
warning: .gitignore is missing recommended value `.hemtt`
warning: deprecated value `sig_name` in `hemtt.toml` - use `authority`
warning: Unable to locate binarize.exe
Files will be packed as is
♻️ Clean [00:00:00] [##############################] [1|1]
🔍 Checks [00:00:00] [##############################] [1|1]
🚧 Prebuild [00:00:00] [##############################] [1|1]
error: Unable to preprocess `CfgMagazineWells.hpp`
Preprocessor Parse: class CfgMagazineWells {
<snip>
#include "magwells_357SIG.hpp"
#include "magwells_380ACP.hpp"
#include "magwells_38Spec.hpp"
#include "magwells_38_200.hpp" // .38/200 | 9x20mmR
#include "magwells_40SW.hpp"
<snip>
error: Unable to build `addons/jam`
Comment with slash is left, others are correctly removed.
The text was updated successfully, but these errors were encountered:
HEMTT Version:
0.7.3-897d451-debug
Project: CBATeam/CBA_A3@b445594
Description:
Pre-processor fails when slash
/
is used in a comment which is in the same line as#include
pre-processor instruction. If comment is on it's own line all works ok.Steps to reproduce:
#include "script_component.hpp" // /
.Additional information:
Works fine with
#define
and other pre-processor instructions. Also works fine with some other text. Pre-processor might possibly be trying to calculate a math expression?HEMTT Output:
Comment with slash is left, others are correctly removed.
The text was updated successfully, but these errors were encountered: