Skip to content

Commit b833217

Browse files
committed
fix static target null Int problem
see #1301
1 parent 11a6033 commit b833217

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

project/build.n

41.5 KB
Binary file not shown.

tools/hxcpp/Compiler.hx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -161,10 +161,10 @@ class Compiler
161161
}
162162

163163
function addStandard(lang: Language, inFile: {
164-
var mCStandard:Int;
165-
var mCxxStandard:Int;
166-
var mObjCStandard:Int;
167-
var mObjCxxStandard:Int;
164+
var mCStandard:Null<Int>;
165+
var mCxxStandard:Null<Int>;
166+
var mObjCStandard:Null<Int>;
167+
var mObjCxxStandard:Null<Int>;
168168
}, args:Array<String>) {
169169
switch (lang) {
170170
case C:

0 commit comments

Comments
 (0)