evrhel/MatrixUtil

Union conflict?

Closed this issue · 2 comments

used release 1.0 files +GCC 12.1.0 x86_64-pc-linux-gnu+ vscode on EndeavourOS Linux x86_64:
Trying to include this lib from folder in project with cmake via:
include_directories(${PROJECT_NAME} INTERFACE include)
link_directories(${PROJECT_NAME} PUBLIC include)

And including it in main.cpp with #include <mutil.h> brings up this on build
image

am I doing something wrong?

image

something like this, i guess they dont like the b letter being repeated

Fixed in commit 6cf8e3a.

Caused by the union member conflict, and did not arise while compiling with MSVC.