Fixed compiler and linker errors#185
Conversation
|
this resolved my build issues as well, thank you for your PR! |
|
Seems similar to (but not exactly the same as) #171? |
|
+1 fixed my build issues |
jwakely
left a comment
There was a problem hiding this comment.
This change is correct. Those variables already have a definition in glava/glava.c so these declarations in the header should just be extern.
For why this is necessary since GCC 10, see the changes for -fno-common in the GCC 10 release notes and Porting to GCC 10 page.
This one is correct, that one is wrong. |
|
thanks for PR |
|
this pr fixed my issue thanks |
|
This pr solve the issue for Pop!_OS jammy 22.04 x86_64 |
|
I can confirm this PR solved my issue too. Why is this not merged, it was made almost 4 years ago! |
Simple,
|
|
Modyfing the files by hand seems error prone, and impractical for larger changes. The commands you want are: |
This should fix undefined scope errors for fprintf, stdout, and logic_error in glfft, and prevent a multiple definition error for glava_abort and glava_return.