Skip to content

Adding -lib haxeui-hxwidgets breaks hxcpp build of thx.core code #58

@iamfraggle

Description

@iamfraggle

I have a project in HaxeDevelop that uses part of the thx.core library, targetting C++ on Windows. I wish to include a GUI based on haxeui and hxwidgets. Unfortunately, adding haxeui-hxwidgets as a library to my project breaks the existing build. This is before I import any modules into the code itself; the mere act of adding the library to the list in the Project causes the error. If I add haxeui-openfl instead I do not get the error.

The error I get is during the C++ build with MSVC2017 while compiling boot.cpp:
include\thx/bigint/Small.h(65): error C2628: 'thx::bigint::Small' followed by 'char' is illegal (did you forget a ';'?)

I get 12 of these errors, in each case the line is a variant of:
::Dynamic addSmall( ::thx::bigint::Small small);

Version numbers are:
haxe_ver="3.407"
haxeui_core="0.0.4"
haxeui-hxwidgets="0.0.3"
thx.core="0.43.0"
[edit]
hxcpp="4.0.4"
hxcpp_api_level="331"
[/edit]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions