Skip to content

Fix datagen issue with specific gcc versions#64

Open
JustinSo1 wants to merge 1 commit intogregrahn:masterfrom
JustinSo1:fix-datagen-compile
Open

Fix datagen issue with specific gcc versions#64
JustinSo1 wants to merge 1 commit intogregrahn:masterfrom
JustinSo1:fix-datagen-compile

Conversation

@JustinSo1
Copy link
Copy Markdown

@JustinSo1 JustinSo1 commented Dec 3, 2024

Fixes the compilation issue mentioned in #57 so you don't have to use a specific gcc-version (e.g gcc-9)

Compilation error was with multiple definitions of certain variables (e.g multiple definition of nItemIndex), so I added the -fcommon flag to the gcc compiler flags.

https://gcc.gnu.org/onlinedocs/gcc/Code-Gen-Options.html

Note

@wangxiaoying
Copy link
Copy Markdown

Works well in gcc-11.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants