Skip to content

LLU_DEBUG cannot print Chinenes #5

Description

@Juddd

After compile the LibraryLinkUtilities\tests\UnitTests\ErrorReporting\TestSources\LoggerTest.cpp with this CMakeLists.txt, I can run the function LogDemo like this:
image
But when I change the LLU_DEBUG("Library function entered with ", Argc, " arguments."); in line 58 into LLU_DEBUG("函数输入了", Argc, "个参数.");, then I call this function. The kernel will crash now:
image


dll="D:/test/LibraryLinkUtilities/tests/UnitTests/ErrorReporting/TestSources/build/Debug/LoggerTest.dll";
Get["D:/test/LibraryLinkUtilities/install/share/LibraryLinkUtilities.wl"]

`LLU`InitializePacletLibrary[dll];
LogDemo=LibraryFunctionLoad[dll,"LogDemo",{Integer,Integer,Integer,Integer,Integer},Integer];
LogDemo[1,2,3,4,5]

Activity

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions