PDA

View Full Version : Fix for  ShowEQ Builds with newer GCC versions



grump
08-18-2017, 07:19 AM
Hey Folks,

Thank you for continuing to develop this awesome project.

For Linux distributions with newer versions of GCC I had to employ the following change (GCC 7.1.1)

In ../src/everquest.h line 2686


Replace:



struct bazaarSearchResponseStruct response[];


With:



struct bazaarSearchResponseStruct response[0];


I found reference to this via the following gcc bug report. (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69550)


SEQ now builds fine on the latest Fedora 26



ShowEQ 5.13.10.53, released under the GPL.
SINS 0.5, released under the GPL.
All ShowEQ source code is Copyright (C) 2000-2010 by the respective ShowEQ Developers
ShowEQ comes with NO WARRANTY.


You may redistribute copies of ShowEQ under the terms of
The GNU General Public License.
See: http://www.gnu.org/copyleft/gpl.html for more details...


For updates and information, please visit http://seq.sourceforge.net/
ShowEQ 5.13.10.53, Built from 'main.cpp' on Aug 9 2017 at 17:20:21
CVS: @(#) $Id: main.cpp 760 2012-03-10 05:17:33Z ngdeao $ $Name$
Using GCC version: 7.1.1
Using glibc version: 2.25
Using Qt version: 3.3.8b
Running on Linux release 4.11.11-300.fc26.x86_64 for processor x86_64


Would it be advisable to include this in the next version?

It looks like the Live 2017-08-16 patch has also again broken functionality and needs new opcodes/structs.

Changelog here (https://forums.daybreakgames.com/eq/index.php?threads/game-update-notes-august-16-2017.243261/)

Sorry, I am new to this project and haven't had time to go through the stickied posts of how to help with providing these, thanks in advance!