[3293]Compile fails with gcc on Ubuntu 10.10 x86-64

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Post Reply
Edward-san
Posts: 1774
Joined: Sat Oct 17, 2009 9:40 am

[3293]Compile fails with gcc on Ubuntu 10.10 x86-64

Post by Edward-san »

Code: Select all

/home/edward-san/zdoom/trunk/src/sdl/i_system.cpp:858:22: error: ‘functions’ declared as function returning an array
/home/edward-san/zdoom/trunk/src/sdl/i_system.cpp:861:22: error: ‘morefuncs’ declared as function returning an array
/home/edward-san/zdoom/trunk/src/sdl/i_system.cpp:863:22: error: ‘somefuncs’ declared as function returning an array
/home/edward-san/zdoom/trunk/src/sdl/i_system.cpp:866:23: error: ‘itsafuncs’ declared as function returning an array
/home/edward-san/zdoom/trunk/src/sdl/i_system.cpp:877:8: error: ‘SDL_VideDevice’ does not name a type

Code: Select all

gcc version 4.5.1 (Ubuntu/Linaro 4.5.1-7ubuntu2)
User avatar
Mannequin
Posts: 441
Joined: Tue Jul 15, 2003 8:21 pm
Location: On The Lonely Island somewhere.

Re: [3293]Compile fails with gcc on Ubuntu 10.10 x86-64

Post by Mannequin »

I second this. Happens to me on Ubuntu 11.04 64-bit; gcc version 4.5.2 (Ubuntu/Linaro 4.5.2-8ubuntu4)

-M.
Blzut3
 
 
Posts: 3212
Joined: Wed Nov 24, 2004 12:59 pm
Operating System Version (Optional): Kubuntu
Graphics Processor: ATI/AMD with Vulkan/Metal Support
Contact:

Re: [3293]Compile fails with gcc on Ubuntu 10.10 x86-64

Post by Blzut3 »

It looks like Randy accidentally committed some work in progress code with drawing the cursor through X?
User avatar
DavidPH
Posts: 382
Joined: Fri Aug 28, 2009 1:46 pm

Re: [3293]Compile fails with gcc on Ubuntu 10.10 x86-64

Post by DavidPH »

I can confirm this for Arch's gcc 4.6.1. And I concur that r3293 seems to have unintentionally committed code.
Gez
 
 
Posts: 17946
Joined: Fri Jul 06, 2007 3:22 pm

Re: [3293]Compile fails with gcc on Ubuntu 10.10 x86-64

Post by Gez »

So, I have had confirmation that this fixed the issue.

While I'm here, I'd also advise any active ZDoom dev to also backport these few fixes (and especially the third).
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49235
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: [3293]Compile fails with gcc on Ubuntu 10.10 x86-64

Post by Graf Zahl »

If you'd like to have some stuff backported, the best way is to post a patch.
Blzut3
 
 
Posts: 3212
Joined: Wed Nov 24, 2004 12:59 pm
Operating System Version (Optional): Kubuntu
Graphics Processor: ATI/AMD with Vulkan/Metal Support
Contact:

Re: [3293]Compile fails with gcc on Ubuntu 10.10 x86-64

Post by Blzut3 »

SVN merge generally works well enough for me. I wasn't touching this bug since I was hoping Randy would finish whatever he was doing, but I guess I might as well merge GZDoom's changes.
User avatar
Mannequin
Posts: 441
Joined: Tue Jul 15, 2003 8:21 pm
Location: On The Lonely Island somewhere.

Re: [3293]Compile fails with gcc on Ubuntu 10.10 x86-64

Post by Mannequin »

Works for me. Thank you. :)

-M.
Post Reply

Return to “Closed Bugs [GZDoom]”