Summary: | rmac does not compile with GCC 10 | ||
---|---|---|---|
Product: | RMAC | Reporter: | Thomas <frosties> |
Component: | Core | Assignee: | Shamus Hammons <jlhamm> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ggnkua, jlhamm |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | PC | ||
OS: | Linux | ||
Attachments: |
Fix CFLAGS to add -fcommon in makefile
Better fix the code than add magic command lines methinks! |
Description
Thomas
2020-06-06 08:43:53 CDT
Hmm, externed vars in header files should already be marked "extern"; if they aren't, then that's a bug that needs fixing. Will have a look. Created attachment 123 [details]
Better fix the code than add magic command lines methinks!
Hi,
Since I also had the exact same problem on osx (see #157), I think it's a better idea to just fix the declarations, otherwise we're just going to end up with a more complex build system (and who wants that!)
Patch attached.
I agree, it was not the best to do. My C is rusty and I finally came to something looking like the patch supplied by ggn. Thanks ! Thanks for the patch! :-) |