My favorites | Sign in
Project Home Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 209: Const declaration missing in CFFILoader.h -> LoadFunc
1 person starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  ----
Closed:  Dec 2012


 
Reported by vildnokf...@gmail.com, Nov 28, 2012
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
This issue was closed by revision r611.
Status: Fixed

Powered by Google Project Hosting