Comments (8)
Think I see the problem, will try to get a fix in today.
from openbor.
Thank you :)
from openbor.
Get the latest master and try again, should be fixed.
from openbor.
I see a new error now :(
$ ./build.sh 4 amd64
-------------------------------------------------------
OpenBOR v3.0 Build 5083 - http://www.ChronoCrash.com
All rights reserved.
See LICENSE and README within OpenBOR root for details.
Copyright (c) 2004 - 2017 OpenBOR Team
-------------------------------------------------------
-------------------------------------------------------
Linux amd64 SDK (x86_64-pc-linux-gnu) Environment Loaded!
-------------------------------------------------------
Removing All LINUX Files...
Done!
Compiling LINUX Port: openbor.c...
Compiling LINUX Port: openborscript.c...
Compiling LINUX Port: sdl/joysticks.c...
Compiling LINUX Port: sdl/control.c...
Compiling LINUX Port: sdl/sblaster.c...
Compiling LINUX Port: sdl/timer.c...
Compiling LINUX Port: sdl/sdlport.c...
Compiling LINUX Port: sdl/video.c...
Compiling LINUX Port: sdl/videocommon.c...
Compiling LINUX Port: sdl/threads.c...
Compiling LINUX Port: sdl/menu.c...
Compiling LINUX Port: sdl/opengl.c...
Compiling LINUX Port: sdl/loadgl.c...
Compiling LINUX Port: source/adpcmlib/adpcm.c...
Compiling LINUX Port: source/gfxlib/2xSaI.c...
Compiling LINUX Port: source/gfxlib/bilinear.c...
Compiling LINUX Port: source/gfxlib/dotmatrix.c...
Compiling LINUX Port: source/gfxlib/gfx.c...
Compiling LINUX Port: source/gfxlib/hq2x.c...
Compiling LINUX Port: source/gfxlib/scale2x.c...
Compiling LINUX Port: source/gfxlib/scanline.c...
Compiling LINUX Port: source/gfxlib/simple2x.c...
Compiling LINUX Port: source/gfxlib/tv2x.c...
Compiling LINUX Port: source/gamelib/draw.c...
Compiling LINUX Port: source/gamelib/draw16.c...
Compiling LINUX Port: source/gamelib/draw32.c...
Compiling LINUX Port: source/gamelib/font.c...
Compiling LINUX Port: source/gamelib/translation.c...
Compiling LINUX Port: source/gamelib/anigif.c...
Compiling LINUX Port: source/gamelib/bitmap.c...
Compiling LINUX Port: source/gamelib/screen.c...
Compiling LINUX Port: source/gamelib/screen16.c...
Compiling LINUX Port: source/gamelib/screen32.c...
Compiling LINUX Port: source/gamelib/loadimg.c...
Compiling LINUX Port: source/gamelib/palette.c...
Compiling LINUX Port: source/gamelib/packfile.c...
Compiling LINUX Port: source/gamelib/filecache.c...
Compiling LINUX Port: source/gamelib/pixelformat.c...
Compiling LINUX Port: source/gamelib/soundmix.c...
Compiling LINUX Port: source/gamelib/spriteq.c...
Compiling LINUX Port: source/gamelib/sprite.c...
Compiling LINUX Port: source/gamelib/spritex8p16.c...
Compiling LINUX Port: source/gamelib/spritex8p32.c...
Compiling LINUX Port: source/gamelib/commands.c...
Compiling LINUX Port: source/gamelib/models.c...
Compiling LINUX Port: source/gamelib/transform.c...
Compiling LINUX Port: source/gamelib/filters.c...
Compiling LINUX Port: source/stringptr.c...
Compiling LINUX Port: source/utils.c...
Compiling LINUX Port: source/stristr.c...
Compiling LINUX Port: source/omath.c...
Compiling LINUX Port: source/scriptlib/StackedSymbolTable.c...
Compiling LINUX Port: source/scriptlib/ScriptVariant.c...
Compiling LINUX Port: source/scriptlib/SymbolTable.c...
Compiling LINUX Port: source/scriptlib/Instruction.c...
Compiling LINUX Port: source/scriptlib/Interpreter.c...
Compiling LINUX Port: source/scriptlib/ImportCache.c...
Compiling LINUX Port: source/scriptlib/ParserSet.c...
Compiling LINUX Port: source/scriptlib/Parser.c...
Compiling LINUX Port: source/scriptlib/Lexer.c...
Compiling LINUX Port: source/scriptlib/Stack.c...
Compiling LINUX Port: source/scriptlib/List.c...
source/scriptlib/Parser.c: In function ‘Parser_Unary_expr’:
source/scriptlib/Parser.c:1807:30: error: ‘sprintf’ may write a terminating nul past the end of the destination [-Werror=format-overflow=]
sprintf(buf, "-%s", pInstruction->theToken->theSource);
^
source/scriptlib/Parser.c:1807:13: note: ‘sprintf’ output between 2 and 129 bytes into a destination of size 128
sprintf(buf, "-%s", pInstruction->theToken->theSource);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
source/scriptlib/Parser.c:1834:30: error: ‘sprintf’ may write a terminating nul past the end of the destination [-Werror=format-overflow=]
sprintf(buf, "!%s", pInstruction->theToken->theSource);
^
source/scriptlib/Parser.c:1834:13: note: ‘sprintf’ output between 2 and 129 bytes into a destination of size 128
sprintf(buf, "!%s", pInstruction->theToken->theSource);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling LINUX Port: source/preprocessorlib/pp_lexer.c...
cc1: all warnings being treated as errors
make: *** [Makefile:658: source/scriptlib/Parser.o] Error 1
make: *** Waiting for unfinished jobs....
Removing All LINUX Files...
Done!
from openbor.
The problem this time is the Linux compiler is stupid. That code has been in place for at least three years and never caused any problems before. I'll see what I can do though.
from openbor.
All right. Try latest. It's a kludge fix, but I want to see if my hunch is right.
from openbor.
instead of trying to add kludge fixes, i'd suggest using git bisect
to find the commit that introduced the error, so one can properly reason how the bug came into existence to begin with and can develop an adequate fix or revert the bad commit.
from openbor.
In this case, it doesn't look like any commit introduced the error -- it's just a new warning on old code introduced by a new compiler version, which turns into an error because we compile with -Werror. It happens every once in a while.
from openbor.
Related Issues (20)
- About Android Quickstart Game HOT 5
- Sound effects keep popping and scratching on ppsspp and linux. HOT 20
- PSP build causes file access errors. Some games are just blank on PSP build. HOT 1
- Linux AMD64 Build fails on Gentoo Linux. HOT 20
- Fails to build on Manjaro x64 HOT 23
- Linux Arm64 Build HOT 13
- Xbox One controller left dpad button not working HOT 1
- Bare Knuckes III Yesterday Once More Crashes in the last version
- Changing Cameratype by script HOT 4
- Annoying sound noises in many games even with BGM and sound effect set to ZERO. HOT 1
- Wrong wiki link HOT 1
- issues with Openbor 4.0 Build 7533 in wine running marvel-first-alliance-2 HOT 3
- New Debug Setting Option: Ingame Debug Log HOT 1
- Cutscenes x skipselect (cannot load players)
- gamecontroller support broken on embedded Linux (aarch64) HOT 2
- New Run Config field: run.speed.z HOT 1
- Appimage require fuse libfuse.so.2 but the lib is here... appimage can't be extracted... HOT 2
- Change config files to .ini instead of binary .cfg file HOT 12
- Options at pause menu HOT 1
- [Suggestions] Mouse + Autofire HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openbor.