| Issue 209: | Const declaration missing in CFFILoader.h -> LoadFunc | |
| 1 person starred this issue and may be notified of changes. | Back to list |
I'm using the hxcpp version that is downloaded through haxelib on Windows (Nov 2012).
When compiling my C++ code, I get a warning about a read-only variable not being marked immutable (const). It doesn't look like it needs to be mutable, but correct me if I'm wrong. This is an issue because it makes g++ emit a multi-line warning when compiling, which is annoying.
C:\Haxe\Haxe\lib\hxcpp\2,10\include\hx\CFFILoader.h line 592:
static char *modules[] = { 0, "hxcpp", "hxcpp-debug" };
I believe it should be changed to:
static const char *modules[] = { 0, "hxcpp", "hxcpp-debug" };
Thank you for your time.
Dec 12, 2012
Project Member
#1
si...@haxe.org
Status:
Fixed
|