Skip to content

Possible issue with compiler flag values #4104

Closed
@ghost

Description

I'm seeing some strange behavior with -D compiler flags with values:

If I use -D myvar=myval, I'm getting the name of the define, but not the value.

[awhite@acw][~/temp/haxe-test][2098][0]>>> haxe -v -D myvar=myval build.hxml | head
Classpath : ./;/usr/local/lib/haxe/std/js/_std/;/usr/local/lib/haxe/std/
Defines : true;myvar;js;hxcpp_api_level;haxe_ver;haxe3;dce
Parsed /usr/local/lib/haxe/std/StdTypes.hx
Parsed /usr/local/lib/haxe/std/js/_std/String.hx
Parsed /usr/local/lib/haxe/std/js/_std/Array.hx
Parsed /usr/local/lib/haxe/std/haxe/EnumTools.hx
Parsed /usr/local/lib/haxe/std/js/_std/Std.hx
Parsed /usr/local/lib/haxe/std/js/Boot.hx
Parsed ./Main.hx
Parsed /usr/local/lib/haxe/std/Class.hx

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions