Who's Online
118 user(s) are online (
56 user(s) are browsing
Forums )
Members: 2
Guests: 116
afxgroup ,
BSzili ,
more...
Headlines
git_installer.lha - development/utility
Feb 1, 2026
amissl-sdk.lha - development/misc
Jan 31, 2026
annotatehollywoodsyntax.lha - development/misc
Jan 31, 2026
polarpaint.lha - graphics/edit
Jan 31, 2026
polarpaint_small.lha - graphics/edit
Jan 31, 2026
amissl.lha - library/misc
Jan 31, 2026
theme_list.lha - utility/misc
Jan 31, 2026
omanko.lha - utility/filetool
Jan 28, 2026
sfputc.lha - utility/script
Jan 28, 2026
ultraedit.zip - development/misc
Jan 27, 2026
Topic options
View mode
Newest First
Re: gcc 9 and 10
Posted on:
2021/4/19 13:58
#141
Just can't stay away
Joined: 2007/7/14 20:30Last Login
: 1/21 19:19
From Lothric
Group:
Registered Users
@walkero Probably adding "extern" in global.h will help, and then defining those symbols in one C file only.
Re: gcc 9 and 10
Posted on:
2021/4/19 14:08
#142
Just popping in
Joined: 2011/7/20 19:01Last Login
: 2025/5/14 10:31
From In the sticks
Group:
Registered Users
If you have a globals header file you can have something like
#ifndef DOXYGEN_SHOULD_SKIP_THIS
#ifdef ALLOCATE_GLOBALS
#define GLOBAL_PREFIX
#define GLOBAL_VAL(x) = x
#else
#define GLOBAL_PREFIX extern
#define GLOBAL_VAL(x)
#endif
#endif /* #ifndef DOXYGEN_SHOULD_SKIP_THIS */
GLOBAL_PREFIX const char * G_NAME_S GLOBAL_VAL ( "name" );
GLOBAL_PREFIX int g_log_level GLOBAL_VAL ( 1 );
then in one of the c source files have
#define ALLOCATE_GLOBALS (1)
before the
#include "globals.h"
line in that particular file and it will define and declare the variables just fine
Re: gcc 9 and 10
Posted on:
2021/4/19 16:01
#143
Site Builder
Joined: 2006/12/2 23:57Last Login
: Today 10:39
From Athens/Dublin
Group:
Registered Users Webmasters
Thanks again for your proposals. The reason I mentioned this problem in this thread is because I thought that this might be a problem of the GCC 10 itself. Let's don't derail the thread further. I really appreciate your feedback guys. Thanks again.
Anonymous
Re: gcc 9 and 10
@all
Since today a rather essential (at least for me) fix regarding dynamic casts/shared builds has been merged to adtools, could someone please compile a new version, so I can test locally?
Thanks a lot
See here:
https://github.com/sba1/adtools/pull/101
Re: gcc 9 and 10
Posted on:
2021/5/18 19:55
#145
Just popping in
Joined: 2006/11/30 11:59Last Login
: 12/20 0:11
From Lund, Sweden
Group:
Registered Users
@Raziel I'll see if I can get some time to do this during the weekend.
Anonymous
Re: gcc 9 and 10
@sTix
Looking forward to it, thank you very much
If you don't find time, no problem...let's keep it fun
Re: gcc 9 and 10
Posted on:
2021/5/21 16:26
#147
Just popping in
Joined: 2006/11/30 11:59Last Login
: 12/20 0:11
From Lund, Sweden
Group:
Registered Users
@Raziel
Ok, I just did a blind build while at work. A haven't tested it at all so take it for what it is, it might kill your cat and steal your car:
https://github.com/sodero/adtools/releases/tag/10.3.0_2
Anonymous
Re: gcc 9 and 10
@sTix Whee, thanks...off to test...
Anonymous
Re: gcc 9 and 10
@sTix
Re: gcc 9 and 10
Posted on:
2021/5/21 19:30
#150
Just popping in
Joined: 2006/11/30 11:59Last Login
: 12/20 0:11
From Lund, Sweden
Group:
Registered Users
@Raziel Excellent :)
Anonymous
Re: gcc 9 and 10
@sTix
Compiled a full scale ScummVM with all engines...that rc is working for me
Thank you very much
Re: gcc 9 and 10
Posted on:
2021/5/22 10:52
#152
Just popping in
Joined: 2006/11/30 11:59Last Login
: 12/20 0:11
From Lund, Sweden
Group:
Registered Users
@Raziel Very good to hear. I'm finally preparing a PR for the main repo now so that we'll have less confusion and maintenance in the (hopefully no so distant) future.
Re: gcc 9 and 10
Posted on:
2021/5/26 17:11
#153
Just can't stay away
Joined: 2007/7/14 20:30Last Login
: 1/21 19:19
From Lothric
Group:
Registered Users
@sTix Thanks for the latest release. Compiled succesfully a couple of C++ projects.
Re: gcc 9 and 10
Posted on:
2021/5/26 19:23
#154
Just popping in
Joined: 2006/11/30 11:59Last Login
: 12/20 0:11
From Lund, Sweden
Group:
Registered Users
@Capehill Nice. I opened a PR in the main repo for gcc 10. There was some confusion in that thread as to why this release works. Would be good to avoid that in the future :)
Re: gcc 9 and 10 and 11
Posted on:
2021/6/2 11:51
#157
Just popping in
Joined: 2006/11/30 11:59Last Login
: 12/20 0:11
From Lund, Sweden
Group:
Registered Users
@Raziel I just used that release as a dump for the binaries. 11.1.0 contains everything that 10.3.0_2 does. It's a mess that I should fix. I see that there's a Travis file in the adtools repo, but it seems broken. That should be fixed so that we could build rc:s, finals and so on and automatically publish them somewhere.
Anonymous
Re: gcc 9 and 10 and 11
@sTix Understood, will get to testing tomorrow and report back. Thank you
Re: gcc 9 and 10 and 11
Posted on:
2021/6/2 21:04
#159
Just popping in
Joined: 2009/6/11 1:19Last Login
: 2025/11/2 18:59
From Germany
Group:
Registered Users
@sTix
Quote:
If anyone would like to try 11.1.0 out, a build can be found here: Thanks for the update! Tried compiling 2 projects. No problems.
I also tried "-flto" but it doesn't work when building natively.
Anonymous
Re: gcc 9 and 10 and 11
@IamSONIC lto not working natively is a known bug. There is either something missing natively or something broke while porting. @sTix Just did a full build of ScummVM with 11.1.0...works like a charm. I can also report that -fanalyze is working, but it's not really something to use commonly, more like only for bug hunting, since it demands a lot of cpu power.
Currently Active Users Viewing This Thread:
1
(
0 members
and 1 Anonymous Users
)