Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Jun 2023 08:03:18 GMT
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 90939df7663a - main - games/ponscripter-07th-mod: unbreak build with clang 16
Message-ID:  <202306280803.35S83I78093696@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=90939df7663aa5262c948293cecb228f7ba9f27c

commit 90939df7663aa5262c948293cecb228f7ba9f27c
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2023-06-28 07:59:39 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2023-06-28 08:02:09 +0000

    games/ponscripter-07th-mod: unbreak build with clang 16
    
    bstrwrap.cpp:724:1: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
    register int i, l;
    ^~~~~~~~~
    bstrwrap.cpp:724:1: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
    register int i, l;
    ^~~~~~~~~
    bstrwrap.cpp:725:1: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
    register unsigned char cx;
    ^~~~~~~~~
    bstrwrap.cpp:726:1: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
    register unsigned char * pdata;
    ^~~~~~~~~
    
    Reported by:    pkg-fallout
---
 games/ponscripter-07th-mod/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/games/ponscripter-07th-mod/Makefile b/games/ponscripter-07th-mod/Makefile
index c0081e56d16f..12d7dffcbeac 100644
--- a/games/ponscripter-07th-mod/Makefile
+++ b/games/ponscripter-07th-mod/Makefile
@@ -25,6 +25,7 @@ GH_ACCOUNT=	07th-mod
 GH_PROJECT=	${PORTNAME}-fork
 
 USES=		compiler:c++11-lang gmake pkgconfig sdl shebangfix
+USE_CXXSTD=	gnu++98
 USE_SDL=	image2 mixer2
 EXTRACT_AFTER_ARGS=--exclude src/extlib
 SHEBANG_FILES=	util/xml-template



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202306280803.35S83I78093696>